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

net/http: build error chains in transport that can be unwrapped

In some places of the HTTP transport errors were constructed that
wrapped other errors without p...

c78d26db4131e5b517b3a7ded2294f9621ae7e4d authored almost 2 years ago by Marcus Weiner <[email protected]>
net/http: add ResponseController and per-handler timeouts

The ResponseController type provides a discoverable interface
to optional methods implemented by...

6febff5b8284d395271d79f190d540d750d49b9f authored almost 2 years ago by Damien Neil <[email protected]>
net/http: add tests for Server.ReadTimeout and server.WriteTimeout

We don't seem to have tests verifying that handler reads from the
request body or writes to the ...

7e3ced8f82d405fe16aa5cbae22b18a35d0def90 authored almost 2 years ago by Damien Neil <[email protected]>
net/http: add Transport.OnProxyConnectResponse

Fixes #54299

Change-Id: I3a29527bde7ac71f3824e771982db4257234e9ef
Reviewed-on: https://go-revie...

451136933569a3816e50934da1664e1bba91725b authored almost 2 years ago by cuiweixie <[email protected]>
all: fix some comments

Change-Id: I163ea3a770f2228f67d4fb1374653566e64b91f7
Reviewed-on: https://go-review.googlesource...

2f60fd777640439b1f3a054768a27012e55248b1 authored almost 2 years ago by cui fliter <[email protected]>
net/textproto: reject invalid header keys/values in ReadMIMEHeader

Return an error when parsing a MIME header containing bytes in the
key or value outside the set ...

bd1e8fa64b95c3bb61cdee075d4ee2bd7c29e64f authored about 2 years ago by Damien Neil <[email protected]>
net/http: remove redundant code

Remove redundant code at line 365, `oldCtx := req.Context()`, because it's the same as line 349...

26265d6caab5eaa3fcb90e7b94aa1f7d243169d1 authored about 2 years ago by tk <[email protected]>
all: fix function names in comments

Change-Id: I871a747b4b47bccc889f2fdc93a2bcebb041b719
Reviewed-on: https://go-review.googlesource...

5fccc005f821c1a101ea2973cb40ebe052425b75 authored about 2 years ago by cui fliter <[email protected]>
net/http: ignore ranges if the content is empty in serveContent

Fixes #54794

Change-Id: I6f2b7b86b82ea27b9d53cf989daa21cb8ace13da
Reviewed-on: https://go-revie...

b6d9208a0b09e5c3f121c39fd80bd931c4ef59b3 authored about 2 years ago by Jorropo <[email protected]>
net/http: deflake TestCancelRequestWhenSharingConnection

The test sleeps for 1 millisecond to give the cancellation a moment
to take effect. This is flak...

53a3a0c53375361696de787cc1a2e848461378c8 authored about 2 years ago by Zeke Lu <[email protected]>
all: update golang.org/x/tools to 8166dca1cec9

To pick up CL 443575.

Note: This CL also update other x repositories because CL 444536 updates
...

882fc095249d8322934a73abb221cf26c186810e authored about 2 years ago by Wayne Zuo <[email protected]>
net/http: skip TestTransportPersistConnLeak/h2

We started running this test under HTTP/2 in a recent refactoring.
It seems to be flaky for HTTP...

a1ba42d7b642732d263a090971796a3a74984f73 authored about 2 years ago by Damien Neil <[email protected]>
net/http: fix some test flakes caused by test refactoring

Skip TestTransportPersistConnLeakShortBody in HTTP/2 mode;
it's flaky and was previously HTTP/1-...

130717e23197441774b0d618d0d0a91a3c28b29d authored about 2 years ago by Damien Neil <[email protected]>
net/http: refactor tests to run most in HTTP/1 and HTTP/2 modes

Replace the ad-hoc approach to running tests in HTTP/1 and HTTP/2
modes with a 'run' function th...

662f1a28347bdcafbd4ac903b9c3a643a0530654 authored about 2 years ago by Damien Neil <[email protected]>
net/http: using strings.CutPrefix replace strings.HasPrefix and strings.TrimPrefix

Change-Id: I0b7b6e4e9d2539e4fcb5c08430ba5a74733fad3c
Reviewed-on: https://go-review.googlesource...

3b238448399fe7122ed1a8fca2b50769bc50892c authored about 2 years ago by cuiweixie <[email protected]>
net/http: remove deadstore statement

Change-Id: Icfa3fd519df48f8d7d7aa3795535fd7e6aaa159f
Reviewed-on: https://go-review.googlesource...

a4f7f420a5851bf2074d0ec6ccf0f3234355836f authored about 2 years ago by cuiweixie <[email protected]>
net/http: use time.Compare

Change-Id: I4730673130bdfbda9987dcb5869f421082f92150
Reviewed-on: https://go-review.googlesource...

d7ad56eec10e23e100371b9433bc1786298d5b5a authored about 2 years ago by cuiweixie <[email protected]>
[release-branch.go1.18] net/http/httputil: avoid query parameter smuggling

Query parameter smuggling occurs when a proxy's interpretation
of query parameters differs from ...

71ef030f66a75e7aa1a713d83e53c7c39f0efa95 authored about 2 years ago by Damien Neil <[email protected]>
[release-branch.go1.19] net/http/httputil: avoid query parameter smuggling

Query parameter smuggling occurs when a proxy's interpretation
of query parameters differs from ...

669bb7132be3c96306de1d3de952b3b2bdabd8ff authored about 2 years ago by Damien Neil <[email protected]>
all: fix some typos

Change-Id: I8b28aebbb9494b2c877139a4584a5a42253e3bea
GitHub-Last-Rev: e3703fd3a50b811785df757514...

4bf45f0a7a77ce5f5d575ec7716ff49e08601c18 authored about 2 years ago by cui fliter <[email protected]>
net/http: fix the potential leak of textproto.Reader from pool

Fixes #55835

Change-Id: I6109bab2941b859e8cfef22f65a6a3a5f977a8d7
Reviewed-on: https://go-revie...

7d696fa4fbd056a6ef4d8ccded4720854186d270 authored about 2 years ago by Andy Pan <[email protected]>
net/http/httputil: avoid query parameter smuggling

Query parameter smuggling occurs when a proxy's interpretation
of query parameters differs from ...

8b4bd6da956db164600e788cd2bab2685c85c45e authored about 2 years ago by Damien Neil <[email protected]>
net/http: add tracing to TestTransportReuseConnection_Gzip_*

These tests are flaky; add some additional logging in hopes
it will aid in debugging.

For #5337...

c93da3da9faa92c66fc97c15337b290fd6a1a1f0 authored about 2 years ago by Damien Neil <[email protected]>
net/http: accept HEAD requests with a body

RFC 7231 permits HEAD requests to contain a body, although it does
state there are no defined se...

c9164003b103671aadba0338f45283f228820934 authored about 2 years ago by Damien Neil <[email protected]>
all: update vendored golang.org/x/net

Pull in HTTP/2 fix needed for net/http test case.

f8f703f979 http2: accept HEAD requests with ...

f8ad988b1b9f75a48742ca5cde2a6075ca9eaa15 authored about 2 years ago by Damien Neil <[email protected]>
net/http: convert Server.disableKeepAlives to atomic type

Change-Id: I87526520b519554ea344288cc0f0940d7b182e21
Reviewed-on: https://go-review.googlesource...

c9eb27eb6fecf139e1c1bd420955ed2340dd201d authored about 2 years ago by cuiweixie <[email protected]>
net/http: correctly test for leading header spaces in TestReadRequest_Bad

TestReadRequest_Bad's tests for leading whitespace in the first header
were also exercising the ...

167aa217854b6f666693917c265a10f778858eb3 authored about 2 years ago by Damien Neil <[email protected]>
net/http: deflake TestServerCancelsReadHeaderTimeoutWhenIdle

Return errors instead of calling t.Fatalf for timing-sensitive failure
modes. Scale the Sleep ca...

8da0b287d3f51cef38f1973b08abddfbac9a70be authored about 2 years ago by Bryan C. Mills <[email protected]>
net/http/httputil: remove duplicated code block

Remove a harmless but redundant section of code introduced
in CL 407214.

Change-Id: Id6522e6ff1...

8299faf43e04a6cbe3c74f60ed549a19a7b90d86 authored about 2 years ago by Damien Neil <[email protected]>
net/http/httputil: forward 1xx responses in ReverseProxy

Support for 1xx responses has recently been merged in
net/http (CL 269997).

As discussed in thi...

6f8c6cd26b316070d354a6a27949cef46aa53286 authored about 2 years ago by Kévin Dunglas <[email protected]>
net/http: make DefaultTransport docs about HTTP proxy consistent

The changes improve the documentation for DefaultTransport, making
the style with how the HTTP p...

8f97a2a68472e982480f8fb36aa7b9be4ba56d9f authored about 2 years ago by Vladimir Varankin <[email protected]>
net/http: convert allowQuerySemicolonsInUse to atomic type

For #53821

Change-Id: I135783bd5472011f6a74d2f5ee34ce96ff49ad2b
GitHub-Last-Rev: 4da2d67ff3d194...

1a27bb09eb6fe20d245a3f9b45b1672e1d009c58 authored about 2 years ago by cui fliter <[email protected]>
[release-branch.go1.18] all: upgrade golang.org/x/net to v0.0.0-20220907013725-0a43f88f7ef0

Restore vendoring after go1.18.6 security release.

For #53977

Change-Id: Ifff04582aa3d5fce4060...

cacab660825b828f8a9b42eef0ed49f3c8488742 authored about 2 years ago by Damien Neil <[email protected]>
Merge pull request #32 from ooni/merged-stable

Merge go1.18.6

See https://github.com/ooni/probe/issues/2256

9332cfe539ab741c3d27a15340f6455638b89f77 authored about 2 years ago by Simone Basso <[email protected]>
fix: enable CI for the stable branch

24eaf33c1d8f204bc2f44961d39d3056aa41a0ac authored about 2 years ago by Simone Basso <[email protected]>
Merge branch 'golang-http-upstream' into merged-stable

79e55b9a3a747e16ace0cb2652ce975b9ba18357 authored about 2 years ago by Simone Basso <[email protected]>
chore: prepare for merging go1.18.6

Part of https://github.com/ooni/probe/issues/2256

124e59337987b08325cac99a6b87608ff76a67b1 authored about 2 years ago by Simone Basso <[email protected]>
net/http: use strings.Builder

Change-Id: I754edcf21e003a3f4037fb2c5d8d06f2cd5f2fa3
Reviewed-on: https://go-review.googlesource...

c5373e0fba2796662d7a49cf07f7da41bc58dfed authored about 2 years ago by cuiweixie <[email protected]>
all: update vendored golang.org/x/net

Pull in security fix:

f3363e06e7 http2: handle server errors after sending GOAWAY

Fixes CV...

0bcc2ecb83ad613775d1db415e50c7bb252ba521 authored about 2 years ago by Damien Neil <[email protected]>
net/http: clarify proxy selection from environment

For #40909
Fixes #54890

Change-Id: I00218bc1606eedb6194a3a7b81fd4d3f75325280
Reviewed-on: https...

c0c19372a5665e7d43cda4356b768761b6abf4de authored about 2 years ago by Sean Liao <[email protected]>
net/http: using strings.Builder

Change-Id: I5d4c89a8d87a8697d038bf91b17d7ffc847a49c7
Reviewed-on: https://go-review.googlesource...

51bcaed270a9c7312b217a53ac2379991dcaf3dc authored about 2 years ago by cuiweixie <[email protected]>
net/http/cgi: use strings.Builder

Change-Id: Ie5a8ae104970237e6e33e75cae807c436bcd08e9
Reviewed-on: https://go-review.googlesource...

180673552ab69a796243236bfe02e77f99d5420e authored about 2 years ago by cuiweixie <[email protected]>
net/http/httptrace: use strings.Builder

Change-Id: I407d11b43349cd78b709deb7b0e774bd93922caa
Reviewed-on: https://go-review.googlesource...

29a45ec2a96aecf6dacffc949606de1bcf017059 authored about 2 years ago by cuiweixie <[email protected]>
net/http/httputil: use strings.Builder

Change-Id: Ifb51413894791154489bd1d4f529088958212c62
Reviewed-on: https://go-review.googlesource...

b136ea28f15c789ff689bbdb14baae6ee729ced2 authored about 2 years ago by cuiweixie <[email protected]>
net/http: make triv.go example less insecure

The triv.go example serves the entire contents of $HOME by default.
That seems bad, let's not do...

4782ac908562323a6866fb06d95e76c7046e607a authored about 2 years ago by Damien Neil <[email protected]>
[release-branch.go1.19] net/http: update bundled golang.org/x/net/http2

Disable cmd/internal/moddeps test, since this update includes PRIVATE
track fixes.

Fixes CVE-20...

ce1cc5e8112d6b727e05a9dda93816aa94ea77c9 authored about 2 years ago by Damien Neil <[email protected]>
[release-branch.go1.18] net/http: update bundled golang.org/x/net/http2

Disable cmd/internal/moddeps test, since this update includes PRIVATE
track fixes.

Fixes CVE-20...

c17573a82367cd4bcf187f5a72a87ecc21462521 authored about 2 years ago by Damien Neil <[email protected]>
net/http: don't time out idle server connections after ReadHeaderTimeout

Consistently wait for idle connections to become readable before
starting the ReadHeaderTimeout ...

d62c4a409df454946865e7de22eca630bbc8e8c0 authored about 2 years ago by Eliza Weisman <[email protected]>
net/http/pprof: link docs to runtime/pprof

And add some documentation for the debug query param.

Fixes #27737
Fixes #53971

Change-Id: I62...

867af9ad35a59eb9cc1a745aab72374401704712 authored about 2 years ago by Sean Liao <[email protected]>
net/http: FileServer method check + minimal OPTIONS implementation

FileServer provides a read-only service. Methods other than GET or HEAD should
be denied with an...

9338dc5e6a6edf5bb132d5a1e5a53ef98044daad authored about 2 years ago by Pascal S. de Kloe <[email protected]>
net/http: don't panic on very large MaxBytesReaderLimit

Fixes #54408

Change-Id: I454199ae5bcd087b8fc4169b7622412105e71113
GitHub-Last-Rev: a33fe7e206d0...

b3b4a21eeb87e45e5075f7c18e28d1349a7d889a authored about 2 years ago by cuiweixie <[email protected]>
net/http: mention io.Seeker requirement in FS documentation

Both FileServer and NewFileTransport can try to seek a file, specifically
when MIME type sniffin...

500fa177498a53060eb35be1a0958deaee7d3a70 authored about 2 years ago by Alex Studer <[email protected]>
net/http: add errors.As support for x/net/http2.StreamError

To make it easier to extract the HTTP/2 error code (if any) from
net/http errors, implement an A...

10dc2fcb26c623a1ed5676eceed37f31df695037 authored about 2 years ago by Akshay Shah <[email protected]>
net/http: remove unused doneChan

The https://golang.org/cl/43230 removed use of `getDoneChan`.

Change-Id: I33390c0e3aea6d9836736...

956df305ed173c198285a2a46c08f0a20fc62b8c authored about 2 years ago by Alexander Yastrebov <[email protected]>
net/http/httputil: do not duplicate 'Connection: close' headers

Fixes #54616.

Change-Id: I46f41bbccff7b49f26f60c1edf65acfd1701aed5
Reviewed-on: https://go-revi...

cf6d45c4263d1797eae8a2afe03e2a9c878cf646 authored about 2 years ago by Miguel Ángel Jimeno <[email protected]>
net/http/cookiejar: remove duplicate words from comments

Change-Id: Id44f587199683fd8018865af1c2442f9f74e0dad
GitHub-Last-Rev: 35b1ab88677586c79918d363f2...

66a6b7f4308b3f81c306cb6b29beff785e29a8d9 authored about 2 years ago by Abirdcfly <[email protected]>
net/http: skip Get flakes in TestClientTimeout tests on windows/arm4

There is already a skip in case of a later failure in the same test on
these platforms. Skip the...

14e506cf8e23abeda80719ac5b9ed533bb1b71be authored about 2 years ago by Bryan C. Mills <[email protected]>
chore: tidy up go modules

775bd57087a7402d9c3508b0b974b55fe285f547 authored about 2 years ago by Simone Basso <[email protected]>
fix(clientserver_test.go): use TLSClientFactory

c5f877dfd293a813dcdf0713fe8b0050e632f594 authored about 2 years ago by Simone Basso <[email protected]>
chore: add missing .gitignore file

Part of https://github.com/ooni/probe/issues/2223

I'm reading the diff with respect to main and...

a800f996efaae5d1d88e79e1afb5e9cb08e90a2e authored about 2 years ago by Simone Basso <[email protected]>
chore: sync README with the main branch

Part of https://github.com/ooni/probe/issues/2223

1be0ee4d0f8168762112ac0575087e8ca6a8bd37 authored about 2 years ago by Simone Basso <[email protected]>
fix(readme): we're actually merging from go1.19

I forgot to change the entry before.

Spotted while working on https://github.com/ooni/probe/iss...

9ffe7ad35fe4201b4568ef686ec62fd4275ec169 authored about 2 years ago by Simone Basso <[email protected]>
Merge pull request #31 from ooni/merged-stable

Merge go1.18.5 into the stable v0.2.x train

Part of https://github.com/ooni/probe/issues/2223

624798f6c42f760f5d893c6f597f7c9a469d758d authored about 2 years ago by Simone Basso <[email protected]>
Merge branch 'golang-http-upstream' into merged-main

f080d96cadfa5f813c0bdd425d198ff5445b29b0 authored about 2 years ago by Simone Basso <[email protected]>
chore: prepare for merging go1.18.5

fbeda16b5377797165f5d1e084c9fcc8486a58a9 authored about 2 years ago by Simone Basso <[email protected]>
fix: build and test using go1.19

4b1589aa61a57e075de11c21b2285e493e9e3b04 authored about 2 years ago by Simone Basso <[email protected]>
all: remove duplicate "the" words in comments

Following CL 424454, using command

rg --multiline " the\s{1,}the " *
rg --multiline " the...

9f6835aaa501cd47a893c1995770fade36f6768b authored about 2 years ago by Abirdcfly <[email protected]>
Merge pull request #29 from ooni/updatego

chore: update submodules

f39504c02302d938052f290f931270c25d2456b0 authored about 2 years ago by Simone Basso <[email protected]>
chore: update submodules

Unfortunately ja3er.com is down, so the examples now are much
less useful than they were before ...

a56c194015da599a5235425dd4aeff0ceec2d465 authored about 2 years ago by Simone Basso <[email protected]>
Merge pull request #28 from ooni/merged-main

Merged go1.19 net/http sources

7e0e0fdc84846ff96385f11b5ed18b647600ad66 authored about 2 years ago by Simone Basso <[email protected]>
fix: tls.Client => TLSClientFactory

Part of https://github.com/ooni/probe/issues/2211.

548f8fafe579133e4e94a0fd4a6d0519094190cf authored about 2 years ago by Simone Basso <[email protected]>
fix: make sure we don't assume *net.Conn anywhere

This work is part of https://github.com/ooni/probe/issues/2211.

870044601a3672144e447f4e56c2acb2bdd07b63 authored about 2 years ago by Simone Basso <[email protected]>
Merge branch 'golang-http-upstream' into merged-main

Conflicts:
clientserver_test.go
httptest/server_test.go
pprof/pprof.go
pprof/pprof_test.go

d9867cbdfee36f8afa75cfde0bed701b6647302a authored about 2 years ago by Simone Basso <[email protected]>
net/http: return ErrNoCookie from Request.Cookie when name is ""

Request.Cookie(name string) will return the first cookie
when cookie name is "". Since readCooki...

c23a89619ad8628a531dd3aef9c81473d0af8678 authored about 2 years ago by muyizixiu <[email protected]>
net/http/httputil: add ReverseProxy.Rewrite

Add a new Rewrite hook to ReverseProxy, superseding the Director hook.

Director does not distin...

ef0c41638b6018a535fb67262318de709e4419f3 authored about 2 years ago by Damien Neil <[email protected]>
net/http: make Request.WithContext documentation less prescriptive

WithContext makes a shallow copy of a Request, and Clone makes a
deep copy. Both set the context...

8bab8fbf028e5fe4773f950f8a3e20307c24c82b authored about 2 years ago by Damien Neil <[email protected]>
net/http: allow zero-valued Expires in Cookie.Valid

The value of Expires is only checked when a value is set.

This fixes the bug that a cookie with...

5cfe38a9e5b2297303ccf974cfb7ee5c346cf76d authored about 2 years ago by Amit Saha <[email protected]>
net/http: add Server.DisableOptionsHandler for custom handling of OPTIONS *

Fixes #41773

Change-Id: I432ad5410d5e3bb0aff3a6e0eea6906ab1b214e2
GitHub-Last-Rev: 57d1ee249dcd...

24be6f8074ee1f92ba118e182b82ca3e77d0db26 authored about 2 years ago by Alexander Yastrebov <[email protected]>
net/http: add a test to verify form tempfiles are deleted

The HTTP/1 server deletes multipart form tempfiles after ServeHTTP
returns, but the HTTP/2 serve...

cece4224900c75e3de8c375b6e30dd9eb2151f61 authored about 2 years ago by Damien Neil <[email protected]>
all: replace hand-rolled atomicBool types with atomic.Bool

Two packages construct atomic booleans from atomic integers.
Replace these implementations with ...

6a16eea2bd7823a4de66e838b507dae01218fcdf authored about 2 years ago by Ludi Rehak <[email protected]>
net/http/httputil: don't insert default User-Agent header in proxied requests

When ReverseProxy forwards a request with no User-Agent header, leave
the header in the forwarde...

dbe8cc2e8ee5ff4e95c3c69cdb844bbcc68145a3 authored about 2 years ago by Damien Neil <[email protected]>
net/http/httputil: add X-Forwarded-{Host,Proto} headers in ReverseProxy

X-Forwarded-Host contains the original request's host.

X-Forwarded-Proto contains "http" or "ht...

1114a1dc7a0d508bb19007990fc4fb2bec874fda authored about 2 years ago by Damien Neil <[email protected]>
net/http: trim cookie names

The current implementation ignores cookies where the
cookie name starts or ends with a space. Fo...

a4ea2f7f0b533389a78b526f6c842a50a85cfc7e authored about 2 years ago by darmiel <[email protected]>
net/http/cgi: remove port from the CGI environment of variable SERVER_NAME

The SERVER_NAME variable in the CGI environment should not
contain the port, according to the se...

fb159ce1f62de641b84f60623c0041b5683097bb authored about 2 years ago by hopehook <[email protected]>
net/http: remove unused method needsSniff

Change-Id: Ia8c67d148fc7e71cac8954ccce6fffb8a6f423df
GitHub-Last-Rev: 9441b8f0c510a3a03dc22816e2...

6526da7c917c56c6855583bae384007754f94b5a authored over 2 years ago by Abirdcfly <[email protected]>
net/http: change conn.curReq type to atomic.Pointer[response]

Use the newly added atomic.Pointer[T] type for atomically
loading and storing type *T pointers. ...

3f2be703c8268789b3b0a0bd93f4d81cabb57639 authored over 2 years ago by Ludi Rehak <[email protected]>
all: update vendored golang.org/x/{net,tools} for Go 1.20 development

CL 421334 updated most of golang.org/x dependencies at the start of
the Go 1.20 development cycl...

2cd696e4c50b8007e17e4c189ea9e6bbbbaf8e85 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
net/http: remove accidental heading in Head documentation

This short sentence was missing a period at the end, which caused it
to be interpreted as a head...

b2d95a8a80a5a07909a6cd0724715ae2228ca587 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
http: improve Get documentation

The existing documentation is unclear about header keys formatting.
The clarifying sentence is a...

a0543a9f2c588bf6f4daaa955a2bffa199eed132 authored over 2 years ago by minherz <[email protected]>
[release-branch.go1.18] net/http: preserve nil values in Header.Clone

ReverseProxy makes a distinction between nil and zero-length header values.
Avoid losing nil-nes...

1b720d159b700fc95dbfe97d9530984735f2d4f0 authored over 2 years ago by Damien Neil <[email protected]>
[release-branch.go1.18] net/http: don't strip whitespace from Transfer-Encoding headers

Do not accept "Transfer-Encoding: \rchunked" as a valid TE header
setting chunked encoding.

Tha...

cebd578abae8dbfabd2986dad82b77ef006edd53 authored over 2 years ago by Damien Neil <[email protected]>
net/http: clarify that MaxBytesReader returns *MaxBytesError

A MaxBytesReader returns a *MaxBytesError when reading beyond
its limit, not a MaxBytesError.

F...

b41a13085f96591232ccd01a60cfe303863f020a authored over 2 years ago by Damien Neil <[email protected]>
net/http: remove Content-Encoding in writeNotModified

Additional header to remove if set before calling http.ServeContent.

The API of ServeContent is...

68f045e5f81e3b1daf7c077f8a138f6396867662 authored over 2 years ago by Mitar <[email protected]>
net/http: wait for listeners to exit in Server.Close and Shutdown

Avoid race conditions when a new connection is accepted just after
Server.Close or Server.Shutdo...

a9ce835b2d17236590967229ce982117a1163773 authored over 2 years ago by Damien Neil <[email protected]>
net/http: omit invalid header value from error message

Updates #43631

Change-Id: I0fe3aafdf7ef889fed1a830128721393f8d020e6
GitHub-Last-Rev: c359542d74...

c9fc4b60025c8a7dbe3a38d31930edc14d691e24 authored over 2 years ago by Alexander Yastrebov <[email protected]>
net/http: preserve nil values in Header.Clone

ReverseProxy makes a distinction between nil and zero-length header values.
Avoid losing nil-nes...

c9110383a84496c2605a3fcece295fcf2187ee02 authored over 2 years ago by Damien Neil <[email protected]>
net/http: don't strip whitespace from Transfer-Encoding headers

Do not accept "Transfer-Encoding: \rchunked" as a valid TE header
setting chunked encoding.

Tha...

ffe84a3ed40884b1e28d26637f8b8f3569447c7a authored over 2 years ago by Damien Neil <[email protected]>
net/http: doc: update RFC reference for appropriate HTTP codes

This documentation commit points to the latest RFC documenting HTTP codes

Change-Id: Ia76406646...

5cd8348699b50d54ece2cef28fad3b8ec78dd7a7 authored over 2 years ago by Louis PORTAY <[email protected]>
Merge pull request #27 from ooni/merged-main

chore: prepare to merge go1.18.3

3d81a8b41c3a5f83a8da4630296f2ade52d88792 authored over 2 years ago by Simone Basso <[email protected]>
chore: prepare to merge go1.18.3

91464fe2254ad7f73c0cc86f602df6d0074f4b94 authored over 2 years ago by Simone Basso <[email protected]>