)]}'
{
  "commit": "42abb857022cb79baacfa240bcf48588aa80bbee",
  "tree": "a2387d142ec4055cdd7dab6ad31488fb29fca649",
  "parents": [
    "9d1bca88f13459b48f25f8c3226621c55fcd56f7"
  ],
  "author": {
    "name": "Davanum Srinivas",
    "email": "davanum@gmail.com",
    "time": "Mon Jun 01 20:44:10 2026 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Jun 02 08:30:38 2026 -0700"
  },
  "message": "http2: enable HTTP/2 in wrap configureTransport\n\nThe go1.27 wrap implementation of ConfigureTransport is a no-op, and\nConfigureTransports only registers the protocol with net/http; neither\nenables HTTP/2 on the transport or initializes TLSClientConfig. The\npre-wrapping transport.go did both.\n\nAs a result, callers that enable HTTP/2 on a transport with a custom\nTLSClientConfig or dialer (where net/http does not enable HTTP/2\nautomatically) send requests over HTTP/1 to an HTTP/2 server. Without\n\"h2\" in NextProtos this is a silent downgrade to HTTP/1.1; with it, the\nconnection negotiates h2 at the TLS layer but is read by the HTTP/1\ntransport, failing with \"net/http: HTTP/1.x transport connection broken:\nmalformed HTTP response\".\n\nThis is the client-side counterpart of the server-side fix in CL 782940.\nconfigureTransport now delegates to configureTransports, which ensures a\nnon-nil TLSClientConfig and enables net/http\u0027s native HTTP/2 via\nTransport.Protocols.\n\nTestConfigureTransport is gated to the legacy build\n(!(go1.27 \u0026\u0026 !http2legacy)) and does not compile into the wrapper build,\nwhich is why this regressed silently. The new transport_configure_test.go\nis untagged and exercises both ConfigureTransport and ConfigureTransports\nunder the legacy and wrap builds.\n\nFixes golang/go#79778\n\nChange-Id: Ibc27bced8679fcb3baa7953bad12315da07535fb\nReviewed-on: https://go-review.googlesource.com/c/net/+/785900\nReviewed-by: Nicholas Husin \u003chusin@google.com\u003e\nReviewed-by: Damien Neil \u003cdneil@google.com\u003e\nAuto-Submit: Damien Neil \u003cdneil@google.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Nicholas Husin \u003cnsh@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "83993c6d76ca060f57afafc484da37561a759c5b",
      "new_mode": 33188,
      "new_path": "http2/transport_configure_test.go"
    },
    {
      "type": "modify",
      "old_id": "d25d99bdbb0b2f97f90cc51aee673c279651977e",
      "old_mode": 33188,
      "old_path": "http2/transport_wrap.go",
      "new_id": "eab2e6b07312beee1ccd6cfdf865531c27999795",
      "new_mode": 33188,
      "new_path": "http2/transport_wrap.go"
    }
  ]
}
