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
You can not use cannot, but you cannot spell cannot can not.
Change-Id: I2f0971481a460804de96fd...
9c95af299704f21030d833079f2497a07816ba6a authored almost 9 years ago
Change-Id: Ia613f1c37bfce800ece0533a5326fca91d99a66a
Reviewed-on: https://go-review.googlesource...
I had accidentally disabled a headline feature at the last second. :(
Fixes #14391
Change-Id: ...
4202ce8c94d5d0d0246d9f37247e19be0fd43c5b authored almost 9 years ago
This is the bundle command's new usage and new output header,
after CL 19428.
Actually running ...
f596d637393e06efd5868ca6826b5faab8c45a62 authored almost 9 years agoUpdates x/net/http2 to git rev 62685c2 for https://golang.org/cl/19483
Change-Id: Id01331cdba03...
468856a323709a39b9c6bab697403e16d42b9f81 authored almost 9 years ago
httptest.Server was rewritten during Go 1.6, but
CloseClientConnections was accidentally made as...
For now, don't enable http2 when Transport.TLSConfig != nil.
See background in #14275.
Also don...
e1b20291c0dbc92a5241a3cba29fed0a465958f1 authored almost 9 years ago
ListenAndServeTLS doesn't require cert and key file names if the
server's TLSConfig has a cert c...
The test sends two HTTP/1.1 pipelined requests. The first is
completedly by the second, and as ...
Change-Id: I93201fa4152f2d60b3eedb8d321a152819033121
Reviewed-on: https://go-review.googlesource...
Updates x/net/http2 to git rev 493a262 for https://golang.org/cl/19223
Fixes #14227
Change-Id:...
36512675b708645e13c976f92e978a3348c98015 authored almost 9 years agoUpdates #14227
Change-Id: If39f11471ecd307c9483f64e73f9c89fe906ae71
Reviewed-on: https://go-rev...
libcurl sends this (despite never being standardized), and the Google
GFE rejects it with a 400 ...
RFC Errata 4522 (http://www.rfc-editor.org/errata_search.php?eid=4522)
notes that RFC 2616 had a...
Fixes #14195
Change-Id: I245b3ca3fd7d1a76aa95f2e058f8432ba5ce31ee
Reviewed-on: https://go-revie...
Updates x/net/http2 to git rev 644ffc for three CLs since the last update:
http2: don't add *Re...
84f504fdcc2e32ddf4cf4cb55c322d6bab059fcd authored almost 9 years ago
Martin Lenord pointed out that bad patterns have emerged in online
examples of how to use ServeF...
Updates x/net/http2 to git rev eb066e3 for https://golang.org/cl/18932
Fixes #13925
Fixes #1406...
Fixes #14103
Change-Id: I89963643eccc902b809e04b7a14153acb0d242e1
Reviewed-on: https://go-revie...
Change-Id: I8c647e709d93a76636e04375609fceadf3754aa1
Reviewed-on: https://go-review.googlesource...
Fixes #14084
Change-Id: Icbef5678ab3c4fd7eed2693006c47aca6d831d90
Reviewed-on: https://go-revie...
Also don't nil out the Request or Response Body on error. Just leave
it in its previous broken s...
Updates x/net/http2 to git rev 2e9cee70 for https://golang.org/cl/18801
Change-Id: I4689c5704bb...
aefef126c5af992a81c9cd4472ae28083b898f9e authored almost 9 years agoThanks to Régis Leroy for noticing.
Change-Id: I5ca2402efddab4e63d884a9d315fc1394e514cb7
Review...
On HTTP redirect, the HTTP client creates a new request and don't copy
over the Cancel channel. ...
Updates x/net/http2 to git rev b2ed34f for https://golang.org/cl/18727
Updates #14029 (fixes it...
7cb48553fb801c15d0f875f9219cdb6553e6eee3 authored about 9 years ago
Updates x/net/http2 to git rev 72aa00c6 for https://golang.org/cl/18721
(but actually at https:/...
No need to say "by default" because there is no alternative and no way
to override. Always HTTP/...
Updates x/net/http2 to git rev 5c0dae8 for https://golang.org/cl/18709
Fixes #14003
Change-Id:...
5e77917b4ca82d682056b83faf161704a2761c4c authored about 9 years agoFixes #14001
Change-Id: I6f9bc3028345081758d8f537c3aaddb2e254e69e
Reviewed-on: https://go-revie...
Wire up Transport.CloseIdleConnections to http2.Transport.CloseIdleConnections.
Updates x/net/h...
997a99426b2b59afcbf7bebadf61d0162c48147d authored about 9 years ago
If a user starts two HTTP requests when no http2 connection is
available, both end up creating n...
Passes with go test -race -count=1000 -name=TestServerValidatesHostHeader now
without hanging.
...
7706156fdbfa1bf12c1d8f20fc5403e19ecfb375 authored about 9 years agoUpdates x/net/http2 to git rev 341cd08 for https://golang.org/cl/18576
Change-Id: If5dcb60ac449...
df643542fe9ec4e5d832ad247f7310498b4136a1 authored about 9 years agoUpdate #13925
Change-Id: I7cd0625fad841eb0e3f364629f9bc225aa2fdce9
Reviewed-on: https://go-revi...
Updates x/net/http2 to git rev c93a9b4f2a for https://golang.org/cl/18474
Forgot to submit this...
ce95165eaae0f910362e8ca417cdfc87af35f63f authored about 9 years ago
When the Transport was creating an bound HTTP connection (protocol
unknown initially) and then e...
Change-Id: If4a90c4017ef4b5c9f497cf117c8ad62b7e15c62
Reviewed-on: https://go-review.googlesource...
Update bundled http2 to git rev 76365a4 for https://golang.org/issue/18571
Fixes golang/go#1392...
1e74bb896fd9956e0c9a5af79a639f4139428629 authored about 9 years ago
Many browsers now support schemeless URLs in the Location headers
and also it is allowed in the ...
Updates http2 to x/net git rev 0e6d34ef942 for https://golang.org/cl/18472
which means we'll get...
Fixes #13893
Change-Id: I2577b38fdb19299227dc146f707cf9df663dcdfc
Reviewed-on: https://go-revie...
Change-Id: I08d77d52b68b062c2eb1901fcfca34d45a210cce
Reviewed-on: https://go-review.googlesource...
Third time's a charm.
Thanks to Ralph Corderoy for noticing the DEL omission.
Update #11207
C...
d2e3329e10d8d88399682e24f0ace2a0ac9fbaf0 authored about 9 years agoAs Andy Balholm noted in #11207:
"RFC2616 §4.2 says that a header's field-content can consist o...
6297a02d127046694c848c68ecb144eb3a03e919 authored about 9 years agoDocument the three GODEBUG environment variables in the package doc.
Updates the bundled http2 ...
8c9229b43fb20e3a139ca2401538adddeabdc514 authored about 9 years ago
I thought there was still work to do in http2 for this, but I guess
not: the work for parsing th...
Updates http2 to x/net git rev 520af5de654d for
https://golang.org/cl/18370
Fixes #13659
Chang...
03119bceebb7820c74d4c0d611cb183d98e7054c authored about 9 years ago
Change-Id: I995ac0559f89110662d79d136d710ef3a0bb1505
Reviewed-on: https://go-review.googlesource...
Update bundled http2 to git rev d1ba260648 (https://golang.org/cl/18288).
Fixes the flaky TestT...
b148f9c5d2afd39f2c385bfe81db811bfb55bcc7 authored about 9 years ago
Change-Id: Idf02428591f61dc58f654fdaf0e3a55f8b8a1060
Reviewed-on: https://go-review.googlesource...
Add a couple more cases where we convert random network I/O errors
into errRequestCanceled if th...
This shouldn't need to exist in general, but in practice I want something
like this a few times ...
Adds a test that both http1 and http2's Transport send a default
User-Agent, with the same behav...
Mention that:
- connection pooling is enabled by default,
- the Transport is safe for concurrent...
Fixes #13833
Change-Id: If0bd5f7dcfc39d34680d11eb998050f0900d5a26
Reviewed-on: https://go-revie...
Update net/http's copy of http2 (sync as of x/net git rev 961116aee,
aka https://golang.org/cl/1...
In the beginning, there was no way to cancel an HTTP request.
We later added Transport.CancelRe...
f34ec53f0e7aeed9f5011baa2d56f85580b74d0b authored about 9 years ago
In debugging the flaky test in #13825, I discovered that my previous
change to tighten and simpl...
The CloseNotifier implementation and documentation was
substantially changed in https://golang.o...
https://golang.org/cl/18087 added a bunch of t.Parallel calls, which
aren't compatible with the ...
Change-Id: I4a6928b4674b6aaab3611cad7526347923a0015f
Reviewed-on: https://go-review.googlesource...
Takes 3% off my all.bash run time.
For #10571.
Change-Id: I8f00f523d6919e87182d35722a669b0b96b...
d969881f893b55e30d92a5600de7c059913bbde2 authored about 9 years agos/activitiy/activity
Change-Id: Ib2bbc929b38b1993000da57daed2d795f4a93997
Reviewed-on: https://...
Approved by the IETF.
https://datatracker.ietf.org/doc/draft-ietf-httpbis-legally-restricted-st...
71806ab81a4573050452545d696a4af251f113af authored about 9 years agoCopy the same sentence from Transport.TLSNextProto.
Change-Id: Ib67bf054e891a68be8ba466a8c52968...
b93634f8fffa3b7134a12b43e5a0085bae58367c authored about 9 years agoUpdate docs on ResponseWriter and Handler around concurrency.
Also add a test.
The Handler doc...
4fb66a6bd5f5f60359e69c490a5197fc9c6fff20 authored about 9 years agoFixes #11207
Change-Id: I7f00b638e749fbc7907dc1597347ea426367d13e
Reviewed-on: https://go-revie...
Patch from Russ.
No bug identified, but I didn't search exhaustively. The new code is
easier to...
Updates to golang.org/x/net/http2 git rev 28273ec9 for
https://golang.org/cl/17937
Fixes #13648...
d27fcc6cca29d1d4984e36acbd969d72a8a2c56b authored about 9 years ago
This updates the bundled copy of x/net/http2 to git rev d2ecd08
for https://golang.org/cl/17912 ...
Fixes #13639.
Fixes #11757.
Change-Id: Iecf9ebcd652c23c96477305a41082e5b63b41d83
Reviewed-on: h...
Document that ListenAndServe and ListenAndServeTLS also set TCP
keep-alives.
Fixes #12748
Chan...
1bbf1a9b1d39459382233532be436540024776a1 authored about 9 years ago
I updated this in the previous commit (https://golang.org/cl/17931)
but noticed a typo. and it s...
This CL updates the bundled copy of x/net/http2 to include
https://golang.org/cl/17930 and enabl...
Updates to x/net/http2 git rev c24de9d5
Change-Id: I3d929ae38dca1a93e9a262d4eaaafee1d36fa839
Re...
The old test was in client_test.go but was a mix of four things:
- clients writing trailers
- s...
Fixes #11206 (that we accept invalid bytes)
Fixes #13624 (that we don't require a Host header in...
The Transport had a delicate protocol between its readLoop goroutine
and the goroutine calling R...
This might deflake it. Or it'll at least give us more debugging clues.
Fixes #13626 maybe
Chan...
9b664cdf82000ca949a078ca6e7aaa88dcbc0539 authored about 9 years ago
CloseNotifier wasn't well specified previously. This CL simplifies its
implementation, clarifies...
Updates bundled copy of x/net/http2 to include
https://golang.org/cl/17823 (catching panics in H...
Fixes #10912
Change-Id: If04e3205d5cc43ebfd6864bc59340c8697cbc0af
Reviewed-on: https://go-revie...
Change-Id: I3533b557cd6c7127ab4efbe8766184b51ce260c9
Reviewed-on: https://go-review.googlesource...
Change-Id: Id511855da1c663250a4ffb149277a3f4a7f38360
Reviewed-on: https://go-review.googlesource...
This CL also updates the bundled http2 package with the h2 fix from
https://golang.org/cl/17757
...
Updates to x/net git rev 6c105c0a
Fixes #13598
Change-Id: I207d4c78d744f0fd83cb5acd8bd6e5987e5...
0899857e6fbcab8e7606ebf3d6b808adb5b6eb15 authored about 9 years agoNew implementation of TimeoutHandler: buffer everything to memory.
All or nothing: either the h...
8ece290875d090a26292de938538a654eee69143 authored about 9 years ago
Change-Id: Ic639443d4a8536dd54c5b0cf5a9b6d1474448f77
Reviewed-on: https://go-review.googlesource...
Host names in URLs must not use %-escaping for ASCII bytes, per RFC 3986.
url.Parse has histori...
37f617a9c6fa92f56639e2857b5180283573a108 authored about 9 years agoFixes some failing Google tests when run under Go tip (1.6).
Updates #12986
Change-Id: I0ca4d2...
8dc777a4e3c65b9ddf23f35028f339f9146b25e4 authored about 9 years ago
Until recently, we always permitted an empty string to NewRequest.
Keep that property, since it ...
Failing ones are marked skipped.
Fixes #13543 (was just a test issue)
Updates #13555 (to be fix...
Fixes #12796
Updates #13444
Change-Id: I56840c0baf9b32a683086a80f5db1c5ea0a7aedf
Reviewed-on: h...
Change-Id: I6427b0914fc4ccd9b841eae3aefe3b7a355fc436
Reviewed-on: https://go-review.googlesource...
Change-Id: I21317e3f60502759efc026cdfdb0b1d5f411cae9
Reviewed-on: https://go-review.googlesource...
Change-Id: I345b6ea7024a1c85c805b2d2e22f9f79aeca5816
Reviewed-on: https://go-review.googlesource...
Change-Id: If6cc1298ad550790ee981c1b5dc618a14947dc4a
Reviewed-on: https://go-review.googlesource...
Change-Id: I181346a8d2a8a96fd790cde087c8fd73af911298
Reviewed-on: https://go-review.googlesource...
Updates to http2's golang.org/cl/17590 (git rev 1796f9b8b)
Fixes #13495
Fixes #13532
Change-Id...
be7806b6114a6f588e86c33fa20ac27a8aa41fe4 authored about 9 years ago