Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ooni/oohttp
Fork of Go stdlib's net/http that works with alternative TLS libraries like refraction-networking/utls.
https://github.com/ooni/oohttp
Change-Id: I282a399657c71f7b6406fcdde8afc82a13bdfe5f
Reviewed-on: https://go-review.googlesource...
Change-Id: I9a1fe057f5bf008fa16577a7d71064050aea47e9
Reviewed-on: https://go-review.googlesource...
Updates golang.org/x/net/http2 to git rev 438097d76
Fixes #13444
Change-Id: I699ac02d23b56db3e...
edf70b8ed47b40b5b391fc42cf697f8b0dfdb321 authored about 9 years ago by Brad Fitzpatrick <[email protected]>
Change-Id: Ifa9f1ed6a3b8d3f7536f2d315259940335b0ee49
Reviewed-on: https://go-review.googlesource...
Change-Id: Idfbe91abc11b2b3b735cd8d11fb1938f9e5c0473
Reviewed-on: https://go-review.googlesource...
Change-Id: Icad6cc130252ac177946b23c12f36d6ba3275bf0
Reviewed-on: https://go-review.googlesource...
Change-Id: I69e62199140e5cf203696af17d4816f3a5f13bd1
Reviewed-on: https://go-review.googlesource...
Change-Id: I4cf4596a305510cd25df34ecebd11a19266415f1
Reviewed-on: https://go-review.googlesource...
Change-Id: I77e4df7ab0bc20d2e251c1eda9ce9026484b8bbc
Reviewed-on: https://go-review.googlesource...
Change-Id: I009eaa52d03f1c3af33a6e884332f41c7cf48edd
Reviewed-on: https://go-review.googlesource...
This is an example of converting an old HTTP/1-only test to test
against both HTTP/1 and HTTP/2....
This makes TestTransportResponseCloseRace much faster and no longer
flaky.
In the process it al...
cdf58c00878d73c5ab25d2180cfa1c274346e08d authored about 9 years ago by Brad Fitzpatrick <[email protected]>Fixes #12705
Change-Id: I69639d2b03777835b2697ff349a00ccab410aa49
Reviewed-on: https://go-revie...
This mirrors the same behavior and API from the server code to the
client side: if TLSNextProto ...
Change-Id: I5be18b68602a7ebb740cf05924236ce17e386e55
Reviewed-on: https://go-review.googlesource...
If we try to reuse a connection that the server is in the process of
closing, we may end up succ...
Updates to x/net rev 195180cf
(golang.org/cl/17134, http2: merge duplicate Transport dials)
Cha...
7bd4bea3e70fd23e7677dea796ea135c342272b9 authored about 9 years ago by Brad Fitzpatrick <[email protected]>Fixes #13421.
Change-Id: Ic0fc0d0a8e86d2be23db12ddd1a8a8105e26ee56
Reviewed-on: https://go-revi...
And updates h2_bundle.go with the fix from x/net/http2.
Fixes #13298
Updates #6891
Change-Id: ...
80b306dbc4b2a6dc3dd903a86439bb1df4f134a2 authored about 9 years ago by Brad Fitzpatrick <[email protected]>
This compares the behavior of server handlers and the net/http
Transport in both HTTP/1 and HTTP...
This CL adds skipped failing tests, showing differences between HTTP/1
and HTTP/2 behavior. They...
Fix regression from https://golang.org/cl/16829 ("require valid methods
in NewRequest and Transp...
Completes sniffing for mp4 signature according
to the spec at:
https://mimesniff.spec.whatwg.o...
Inspect the crypto/tls error to recognize this case and give a more
helpful error.
Fixes #11111...
b9b7dde7dc2314dc4fe6f2af7073c832bdac901e authored about 9 years ago by Caleb Spare <[email protected]>Fixes #12078
Change-Id: If09c927fae639ec4ed3894a2b393a87c1e677803
Reviewed-on: https://go-revie...
Fixes #12078
Change-Id: Ia8738123b07ca29be4a0cf400ee143729c8b5b3c
Reviewed-on: https://go-revie...
mips64 strace doesn't support sendfile64 and will error out if we
specify that with `-e trace='....
(This relands commit a4dcc692011bf1ceca9b1a363fd83f3e59e399ee.)
https://tools.ietf.org/html/rfc...
bbe4aae0f3d2fd9faf43aae8f2d7e9a8feb421ca authored about 9 years ago by Adam Langley <[email protected]>
Show more than one character when we recieve a unsolicited
response on an idle HTTP channel. Sho...
Fixes #13135
Change-Id: I45666f32cd91102211bf01a306edcb10deb65187
Reviewed-on: https://go-revie...
Updates to git rev 042ba42f (https://golang.org/cl/16734)
This moves all the code for glueing t...
99926a32231545a8504817e1245fa8668aa238ae authored about 9 years ago by Brad Fitzpatrick <[email protected]>To rev a179abb (handle Transport PING frames).
Change-Id: I6e1eef2c9586c23f231803d9364d92124872...
6bbb994fe070256c5a05bcb583edd023c63b2758 authored about 9 years ago by Brad Fitzpatrick <[email protected]>Updates to use new client pool abstraction.
Change-Id: I3552018038ee8394d313d3253af337b07be211f...
e5f048ab3424a539c75279ab3b8100595ba4cdaa authored about 9 years ago by Brad Fitzpatrick <[email protected]>
The GODEBUG option remains, for now, but only for turning it off.
We'll decide what to do with i...
Change-Id: Icf9b6802945051aa484fb9ebcce71704f5655474
Reviewed-on: https://go-review.googlesource...
The Server's server goroutine was panicing (but recovering) when
cleaning up after handling a re...
Avoids Mac firewall box.
Change-Id: I000e421fa9639612d636b6fa4baf905459c5aeb2
Reviewed-on: http...
Updated bundle of golang.org/x/net/http2 to rev c95266
Change-Id: Id6df66a8f4eadd6a100f359fd6ca...
10124533dcb54d15950b99b9fff30b66c40248dc authored about 9 years ago by Brad Fitzpatrick <[email protected]>
Errors with http.Redirect and http.StatusOk seem
to occur from time to time on the irc channel.
...
Adds ReverseProxy.BufferPool for users with sensitive allocation
requirements. Permits avoiding ...
This part got dropped when we were debating between two solutions
in https://golang.org/cl/15151...
In earlier versions of Go, times were only encoded as an ASN.1 UTCTIME and
crypto/tls/generate_c...
Updates to x/net git revision 9946ad7
Change-Id: I95c03daf382667002a5b22f184bd9b7d18144913
Revi...
In https://golang.org/cl/15860 http2.ConfigureServer was changed to
return an error if explicit ...
* detect Content-Type on ReponseRecorder.Write[String] call
if header wasn't written yet, Cont...
This is the start of wiring up the HTTP/2 Transport. It is still
disabled in this commit.
This ...
fa96ee26f01ce8f931a9d92c8fcbf69341eddf32 authored about 9 years ago by Brad Fitzpatrick <[email protected]>
With this CL, httptest.Server now uses connection-level accounting of
outstanding requests inste...
Change-Id: Iaf33fae7043f21df2dba0bb7e1addb0ff002c508
Reviewed-on: https://go-review.googlesource...
It was generating the wrong error message, always defaulting to "500
Internal Server Error", sin...
Current http client doesn't support Expect: 100-continue request
header(RFC2616-8/RFC7231-5.1.1)...
Fixes #7782
Fixes #9554
Updates #7237 (original metabug, before we switched to specific bugs)
Up...
Change-Id: I0255f24f5c5925ea4daa28a28d23606df35d4373
Reviewed-on: https://go-review.googlesource...
The clues to this were already there, but as a user I was still unsure.
Make this more explicit....
This enables HTTP/2 by default (for https only) if the user didn't
configure anything in their N...
golang.org/x/net/http2 becomes net/http/h2_bundle.go (using adonovan's
x/tools/cmd/bundle tool),...
The PROXY protocol is supported by several proxy servers such as haproxy
and Amazon ELB. This p...
Allow all CGI environment settings from the inherited set and default
inherited set to be overri...
Fixes #12785
Change-Id: Iae4383889298c6a78b1ba41bd2cda70b0758fcba
Reviewed-on: https://go-revie...
These were proposed in the RFC over three years ago, then proposed to
be added to Go in https://...
Fixes #12866
net/http.Client returns some errors wrapped in a *url.Error. To avoid
the requirem...
Fixes #10342
Change-Id: I69c69352016a8fd0b62541128c2e86b242ebbe26
Reviewed-on: https://go-revie...
The existing serve() method returns a zero-length response body when
it encounters an error, whi...
As stated in FastCGI specifications:
FastCGI transmits a name-value pair as the length of the n...
24a3aaca30bbf4bb8d1df7f0c099ccaa6bdc4162 authored over 9 years ago by Didier Spezia <[email protected]>Fixes #11626.
Change-Id: I1b70c0844473c3b57a53d7cca747ea5cdc68d232
Reviewed-on: https://go-revi...
Optimize two calls of io.Copy which cannot make use of neither
io.ReaderFrom nor io.WriterTo opt...
Fixes #11000
Change-Id: Ic137e8a6c5c6b5b7eee213aca9acf78368e1d686
Reviewed-on: https://go-revie...
Fixes #11879
Change-Id: If021f86b2764e01c69674e6a423699b822596f15
Reviewed-on: https://go-revie...
Accepting a request with a nil body was never explicitly supported but
happened to work in the p...
byte is unsigned so the comparison against zero is always true.
Change-Id: I8fa60245972be362ae9...
cc6b09db521afc29196c138637a76b641176f4b6 authored over 9 years ago by Todd Neal <[email protected]>
Could go in 1.5, although not critical.
See also #12107
Change-Id: I7f1608b58581d21df4db58f0db6...
f1f85bd35d2e8e018f33c93ff5e50d3af7930fcf authored over 9 years ago by Rob Pike <[email protected]>Fixes #12229
Change-Id: I243e39f67748e6754fb7726b21b3afc1ff436771
Reviewed-on: https://go-revie...
Found in a Google program running under the race detector.
No test, but verified that this fixes...
Prior to this change, broken trailers would be handled by body.Read, and
an error would be retur...
It was failing with multiple goroutines a few out of every thousand
runs (with errRequestCancele...
Introduced in https://go-review.googlesource.com/12865 (git rev c2db5f4c).
This fix doesn't add...
f9909000582c8740404430b02c59b3f907147c9a authored over 9 years ago by Brad Fitzpatrick <[email protected]>
HTTP servers attempt to entirely consume a request body before sending a
response. However, whe...
This makes the receiver name consistent with the rest of the methods on
type Server.
Change-Id:...
ed0c360bd2685a623b33e84029437e8e18342e69 authored over 9 years ago by Carl Jackson <[email protected]>
I'll rewrite this later. It's apparently dependent on scheduling order.
The earlier fix in git r...
Change-Id: I58453f7ed71eaca15dd3f501e4ae88d1fab19908
Reviewed-on: https://go-review.googlesource...
From https://github.com/golang/go/issues/11745#issuecomment-123555313
this implements option (b)...
Fixes #11020
Change-Id: I52760a01420a11f3c979f678812b3775a3af61e4
Reviewed-on: https://go-revie...
From https://github.com/golang/go/issues/11745#issuecomment-123555313 :
The http.RoundTripper i...
040494994846890aa8b472a0f5339faa69253ee4 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
The "add a Request.Cancel channel" change (https://golang.org/cl/11601)
added support for "race ...
Move tracing functions from runtime/pprof to the new runtime/trace package.
Fixes #9710
Change...
ded19a7e6c43be62c6c3c466f500220cf25403e1 authored over 9 years ago by Dmitry Vyukov <[email protected]>
Change-Id: I6a8bb853a538c80d95589321d3226784bc017eef
Reviewed-on: https://go-review.googlesource...
If we receive an HTTP request with "Expect: 100-continue" and the
Handler never read to EOF, the...
A malformed Host header can result in a malformed HTTP request.
Clean them to avoid this.
Updat...
0a2e48cf943c6f2b44840a83436d02beaef3f66d authored over 9 years ago by Jeff R. Allen <[email protected]>
The previous commit (git 2ae77376) just did golang.org. This one
includes golang.org subdomains...
The one in misc/makerelease/makerelease.go is particularly bad and
probably warrants rotating ou...
Fixes #11552
Change-Id: I87904e9e3fb4bd1fb4c7075a4e2d0151e5bd37df
Reviewed-on: https://go-revie...
Fixes #10884
Change-Id: I7cab3c96548867612f579d2cd4ec736309787443
Reviewed-on: https://go-revie...
The recent https://golang.org/cl/11810 is reportedly a bit too
aggressive.
Apparently some HTTP...
c7570e86adc46e9e650debd0f1061324cfe01abf authored over 9 years ago by Brad Fitzpatrick <[email protected]>
Go's continuous build system depends on HTTP trailers for the buildlet
interface.
Andrew rewrot...
495900bc7f5b9e0051704a8c994022d4a769053c authored over 9 years ago by Brad Fitzpatrick <[email protected]>See RFC 7230.
Thanks to Régis Leroy for the report.
Change-Id: Ic1779bc2180900430d4d7a4938cac0...
9c5d78b79a274e80e28af1ebea487cd9576bf040 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
This was originally done in https://codereview.appspot.com/5690059
(Feb 2012) to deal with bad r...
Fixes #9758
Change-Id: I3089ec06cddd74b547d8b10834d7478a04b02069
Reviewed-on: https://go-review...
RawPath is a hint to the desired encoding of Path.
It is ignored when it is not a valid encoding...
This allows for "race free" cancellation, in the sense discussed in
issue #11013: in contrast to...
Fixes #10725
Change-Id: Ic8685dc238a0ffc95fafb512a8587d2eb5fe9d5f
Reviewed-on: https://go-revie...
TestTransportAndServerSharedBodyRace got flaky after
issue #9662 was fixed by https://golang.org...