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
This commit adds missing status codes:
* 102 - Processing
* 207 - Multi-Status
* 208 - Already ...
Updates x/net/http2 to git rev 0c607074 for https://golang.org/cl/23311,
"http2: prevent Server ...
Fixes #15765
Change-Id: Id0a89d90ef9d3fffa9af0affca8c10a26fe6b7bc
Reviewed-on: https://go-revie...
Updates x/net/http2 to git rev 4d07e8a49 for CL 23287:
http2: let handlers close Request.Bod...
2fd94a3477e85ac73db7799a4c3b8a5ead7da839 authored over 8 years ago by Brad Fitzpatrick <[email protected]>Updates #15771
Change-Id: I5dad96bdca19d680dd00cbd17b72a03e43eb557e
Reviewed-on: https://go-rev...
Updates x/net/http2 to git rev 8a52c78 for golang.org/cl/23258
(http2: fix Transport.CloseIdleCo...
Updates x/net/http2 to git rev 202ff482 for https://golang.org/cl/23235 (Expect:
100-continue su...
In Go versions 1 up to and including Go 1.6,
ResponseRecorder.HeaderMap was both the map that ha...
Updates x/net/http2 to git rev 5916dcb1 for:
* http2, lex/httplex: make Transport reject bogus ...
1fa38d001af61f779fa114a5b6024b861be75528 authored over 8 years ago by Brad Fitzpatrick <[email protected]>
Updates x/net/http2 to golang.org/cl/23220
(http2: with Go 1.7 set Request.Context in ServeHTTP ...
Make the temporary, conservative restrictions from rev 79d9f48c in Go
1.6 permanent, and also do...
Fixes #10069
Change-Id: I3819ff597d5a0c8e785403bf9d65a054f50655a6
Reviewed-on: https://go-revie...
Updates x/net/http2 to 3b99394 for golang.org/cl/23205
And associated tests.
Fixes #12580
Cha...
789c8ef6f43b5bd047ad86aadbbb4b0bebae29c6 authored over 8 years ago by Brad Fitzpatrick <[email protected]>
In https://golang.org/3210, Transport errors occurring before
receiving response headers were wr...
Verify that for a server doing chunked encoding, with the final data
and EOF arriving together, ...
Make clear negotiation can happen via NPN or ALPN, similar to
http.Transport.TLSNextProto and x/...
If client does not provided User-Agent header, do not set default one
used by net/http package w...
This fixes change https://go-review.googlesource.com/#/c/23069/, which
assumes all DNS requests ...
The httptrace.ConnectStart and ConnectDone hooks are just about the
post-DNS connection to the h...
Fixes #15647
Change-Id: I588bfa4eb336d1da1fcda8d06e32ed13c0b51c70
Reviewed-on: https://go-revie...
Fixes #14981
Change-Id: I39b906d119ca96815801a0fbef2dbe524a3246ff
Reviewed-on: https://go-revie...
Summary: Go's HTTP/1.x server closes the request body once writes are
flushed. Go's HTTP/2 serve...
Updates x/net/http2 to git rev 96dbb961 for golang.org/cl/23002
Fixes #15366
Updates #15134 (se...
Might deflake the occasional linux-amd64-race failures.
Change-Id: I273b0e32bb92236168eb99887b1...
b44cb4e095fb5739995bcf0932b17ea1e0df4491 authored over 8 years ago by Brad Fitzpatrick <[email protected]>Fixes #15577
Change-Id: I5f023790a393b17235db2e66c02c2483773ddc1a
Reviewed-on: https://go-revie...
CL/19862 (f79b50b8d5bc159561c1dcf7c17e2a0db96a9a11) recently introduced the constants
SeekStart,...
Fixes #15546.
Change-Id: I39c29ea6999812dd5f1c45f67bddad28f20b6c6b
Reviewed-on: https://go-revi...
Addressing feedback from Alan Su in https://golang.org/cl/22655
Change-Id: Ie0724efea2b4da67503...
a1406f026055a135052b6f788a4cdb16957a8258 authored over 8 years ago by Brad Fitzpatrick <[email protected]>
Change-Id: I22d4b5a0d5c146a65d4ef77a32e23f7780ba1d95
Reviewed-on: https://go-review.googlesource...
Change-Id: Iaf200ba9a308bc8f511eec4a70dbeb014bf5fdc3
Reviewed-on: https://go-review.googlesource...
Change-Id: I7e07888e90c7449f119e74b97995efcd7feef76e
Reviewed-on: https://go-review.googlesource...
Change-Id: I753e62879a56582a9511e3f34fdeac929202efbf
Reviewed-on: https://go-review.googlesource...
The Transport's automatic gzip uncompression lost information in the
process (the compressed Con...
This adds a context key named LocalAddrContextKey (for now, see #15229) to
let users access the ...
Don't keep idle HTTP client connections open forever. Add a new knob,
Transport.IdleConnTimeout,...
And add a test.
Updates #12580
Change-Id: Ia7eaba09b8e7fd0eddbcaefb948d01ab10af876e
Reviewed-o...
Fixes #15150
Change-Id: I1a892d5b0516a37dac050d3bb448e0a2571db16e
Reviewed-on: https://go-revie...
The HTTP client had a limit for the maximum number of idle connections
per-host, but not a globa...
Clarify that it includes the RFC 7230 "request-line".
Fixes #15494
Change-Id: I9cc5dd5f2d85ebf...
8f7069d46d2b7577001f6692385bbd2ffcf93ff1 authored over 8 years ago by Brad Fitzpatrick <[email protected]>Updates #12580
Change-Id: I9f9578148ef2b48dffede1007317032d39f6af55
Reviewed-on: https://go-rev...
This change adds Config.Renegotiation which controls whether a TLS
client will accept renegotiat...
Updates #15464.
Change-Id: If3221034bb10751c6fcf1fbeba401a879c18079f
Reviewed-on: https://go-re...
Previously the Transport would cache idle connections from the
Transport for later reuse, but if...
Fixes #15312
Change-Id: I4fabef3f21081bc4b020069851b5c2504bc6b4d8
Reviewed-on: https://go-revie...
- Ensures that the empty port and preceeding ":"
in a URL.Host are stripped.
Normalize the empty...
This simply connects the contexts, pushing them down the call stack.
Future CLs will utilize the...
Automated change.
Fixes #15269
Change-Id: I8deb2ac0101d3f7c390467ceb0a1561b72edbb2f
Reviewed-o...
Change-Id: Iba40edc9ddad62534b06c5af20bbc3dd3dc14d0a
Reviewed-on: https://go-review.googlesource...
Standardize on space between "RFC" and number. Additionally change
the couple "a RFC" instances ...
s390x doesn't have sendfile64 so apply the same fix as MIPS
(eebf7d27) and just use sendfile.
C...
646214919fd5f10c26db9027e455cba5984ee044 authored over 8 years ago by Michael Munday <[email protected]>
Fixes #12438
Updates #15229 (to decide context key variable naming convention)
Change-Id: I3ba4...
712acfe005499e6111e0a38a50e8ff93ff98e545 authored over 8 years ago by Brad Fitzpatrick <[email protected]>Fixes #15205
Change-Id: Ia650806756758ca8ed2272b1696e59b809b16c61
Reviewed-on: https://go-revie...
The previous cleanup was done with a buggy tool, missing some potential
rewrites.
Change-Id: I3...
f0dfa6ca749c62569abccd0bda27907f94e48db7 authored over 8 years ago by Dominik Honnef <[email protected]>
For heavily loaded servers, even 1 second of trace is too large
to process with the trace viewer...
Updates #13021
Updates #15224
Change-Id: Ia3cd608bb887fcfd8d81b035fa57bd5eb8edf09b
Reviewed-on:...
Change-Id: Id1c2e8e9d60588de866e8b6ca59cc83dd28f848f
Reviewed-on: https://go-review.googlesource...
Fixes #7215
Change-Id: I108171ef18cac66d0dc11ce3553c26fc49529807
Reviewed-on: https://go-review...
Updates #15177
Change-Id: I748f025461f313b5b426821ead695f90d3011a6b
Reviewed-on: https://go-rev...
Flaky tests are a distraction and cover up real problems.
File bugs instead and mark them as fl...
fed1ebc3f876b9f2a9f95358b5007d7b98961e3a authored almost 9 years ago by Brad Fitzpatrick <[email protected]>Fixes #15076
Change-Id: I5ce8f6253245d8cc1f862a1bf618775f557f955d
Reviewed-on: https://go-revie...
Change-Id: I25c51280ba55120ffeaf08222f5ac5d471632d89
Reviewed-on: https://go-review.googlesource...
Also, don't read from the Request.Headers in the http Server code once
ServeHTTP has started. Th...
Fixes #15139
Change-Id: I73111137907e612af871b77ccf166572bf78c840
Reviewed-on: https://go-revie...
Go 1.6's HTTP/1.x Transport started enforcing that responses have 3
status digits, per the spec,...
Currently only used by the client. The server is not yet wired up. A
TODO remains to document h...
Also cleans up return parameter stutter and missing periods.
Change-Id: I47f5c230227ddfd1b105d5...
1978bd0047364a0cbb66013372042768b39e44e1 authored almost 9 years ago by Brad Fitzpatrick <[email protected]>
Issue #8633 (and #9134) noted that we didn't document the rules about
closing the Response.Body ...
... when the backend can't be reached.
Fixes #9864
Change-Id: I9e4814824943060e0101b6236d6dfd8...
f15e72defb69f4fdb2584c4837a2621e59068d52 authored almost 9 years ago by Brad Fitzpatrick <[email protected]>Updates x/net/http2 to git rev 31df19d6 for changes since Go 1.6.
The main change was https://g...
524bb7cfc0860693c6375ef08e5200555bbc8db7 authored almost 9 years ago by Brad Fitzpatrick <[email protected]>
The default is 10MB, like http2, but can be configured with a new
field http.Transport.MaxRespon...
The conventional name for a sync.Mutex is "mu".
These "lk" names date back to a time before con...
8d81e7d7672579fa01e7ff217263246cca3004ee authored almost 9 years ago by Brad Fitzpatrick <[email protected]>
Finishes cleanup which was too late to do when discovered during the
Go 1.6 cycle.
Fixes #14291...
dea60c82f052fb57300bdce8bdba4af85ad8011d authored almost 9 years ago by Brad Fitzpatrick <[email protected]>The http2 spec defines a magic string which initates an http2 session:
"PRI * HTTP/2.0\r\n\...
e61dd473b9004d12dcf39f01e083a698499e757e authored almost 9 years ago by Brad Fitzpatrick <[email protected]>
This makes sure the net/http package never attempts to transmit a
bogus header field key or valu...
Flip around the composition order of the http.Response.Body's
gzip.Reader vs. the reader which k...
Patch originally from Steven Hartland. Tweaked a bit & added a test.
Fixes #7197
Change-Id: I0...
8e0d5190caf36d876d8427405e49aaf83b5db123 authored almost 9 years ago by Brad Fitzpatrick <[email protected]>
Following the spec at
https://mimesniff.spec.whatwg.org/#matching-an-audio-or-video-type-patte...
This change removes a lot of dead code. Some of the code has never been
used, not even when it w...
Updates #14047
Change-Id: I7e314e2c7e3e8da18ab023729740fbc9ea3f661e
Reviewed-on: https://go-rev...
Fixes #13996
Change-Id: I9b2c7fba0705900aca9a70bc6a2687667a9a976c
Reviewed-on: https://go-revie...
Fixes #14199
Change-Id: Ic9284023b663de3db1ca7b7b1e96eeab82ec0944
Reviewed-on: https://go-revie...
Fixes #14901
Change-Id: Ia32e09767374a341c9a36c5d977d47d7d1a82315
Reviewed-on: https://go-revie...
This deletes unused code and helpers from tests.
Change-Id: Ie31d46115f558ceb8da6efbf90c3c204e0...
51ca3daaaad851acbda2ec1370f7ca9e5ededfc1 authored almost 9 years ago by Dominik Honnef <[email protected]>
In tests TransportPersistConnLeak and TransportPersistConnLeakShortBody,
there's a fixed wait ti...
Shrinks cmd/go by 30KB.
Change-Id: Ied31192e85af76ebac743f8cc12bd9ef6ec5048f
Reviewed-on: https...
I was wondering why cmd/go includes the HTTP server implementations.
Dumping the linker's deadc...
88e610dbda4478298e3344ca3df87ac94f0bd5a4 authored almost 9 years ago by Brad Fitzpatrick <[email protected]>readClose hasn't been used in years.
Change-Id: Ia963c082e049ef856c2a637fec15204efe48b3b6
Revie...
Ensures that after request.ParseMultipartForm has been invoked,
Request.PostForm and Request.For...
Change-Id: Ia2273c3a9f0001d16b0c767fea91498a9acb0af5
Reviewed-on: https://go-review.googlesource...
Trailers() returns the headers that were set by the handler after the
headers were written "to t...
TimeoutHandler was starting the Timer when the handler was created,
instead of when serving a re...
Updates #11041
Change-Id: I12c20beab75d7981efe470eb418e4b58dc8eb066
Reviewed-on: https://go-rev...
The tree's pretty inconsistent about single space vs double space
after a period in documentatio...
This is a subset of https://golang.org/cl/20022 with only the copyright
header lines, so the nex...
Named returned values should only be used on public funcs and methods
when it contributes to the...
Change-Id: Ie89c0945a4cc3aebfa9f7ad7f107bc7ab59ab61c
Reviewed-on: https://go-review.googlesource...
Change-Id: Icd06d99c42b8299fd931c7da821e1f418684d913
Reviewed-on: https://go-review.googlesource...
Current code does not print any response headers from httputil.DumpResponse().
PUT /minioclo...
63ca459c7bda2e414b293130082eba77879f604e authored almost 9 years ago by Harshavardhana <[email protected]>
Change-Id: I6035941df8b0de6aeaf6c05df7257bcf6e9191fe
Reviewed-on: https://go-review.googlesource...
Fixes #14475.
Change-Id: I1b5b0a9793a417572ec55f313185d03ad5ae9d01
Reviewed-on: https://go-revi...