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: I33a5313ef10e8c88d9c12507573b385fa0843afe
GitHub-Last-Rev: 844d4351583e3f2e94d6420dcd...
As discussed in
https://github.com/golang/go/issues/32463#issuecomment-506833421
the classificat...
Fixes #33141
Change-Id: I84a8b3496fc9396fd1c09ba9505697c34bdf7105
Reviewed-on: https://go-revie...
Request.PostForm gets populated with form data for PATCH, POST, or PUT
http verbs.
Change-Id: I...
5bb771db560a77ebd9c8f27fe7cd3c100441fdf5 authored over 5 years ago
In Go1.12 and below, the logic in ReverseProxy.ServeHTTP would always
allocate request.Header ev...
There were at least three races in the implementation of the pool of
idle HTTP connections befor...
Running the example code when not having permissions
to bind to port 80 will cause the program t...
CL 46434 changed the doc for Server.IdleTimeout to include
falling back to Server.ReadHeaderTime...
Change-Id: I684e3522e387b2d96d5cfb2878d2f77bf4558443
Reviewed-on: https://go-review.googlesource...
This is the net/http half of #32476. This supplies the method needed
by the other half in x/net/...
Roll back CL 161738. That fix changed StripPrefix behavior in the
general case, not just in the ...
HTTP 408 responses now exist and are seen in the wild (e.g. from
Google's GFE), so make Go's HTT...
The existing check was introduced to allow tests to pass
on WASM without an environment where th...
One of these tests creates a bunch of connections concurrently, then
discovers it doesn't need t...
Fixes #32119
Change-Id: I8cf2e2e69737e2485568af91ab75149f3cf66781
Reviewed-on: https://go-revie...
The typed arrays returned by TypedArrayOf were backed by WebAssembly
memory. They became invalid...
Shorten some of the longest tests that run during all.bash.
Removes 7r 50u 21s from all.bash.
A...
5fae2c1d5ad3fa368630d7eeadb6bad85f875dfa authored over 5 years ago
Gerrit is complaining about pushes that affect these files
and forcing people to use -o nokeyche...
The "After it is called, changing rw.Header will not affect
rw.HeaderMap" claim predates the Res...
The motivation for doing so is to avoid making inaccurate claims.
Logging may not go to os.Stder...
For:
http2: track reused connections
https://golang.org/cl/176720 (updates golang/go#31...
In the reverseproxy, replace use (Header).Get, which returns only one value
of a multiple value ...
Section 4.2 of the Internet-Draft for SameSite includes the possible
SameSite value of "None".
...
454adf3a05f9f9eeb09e96751610897da1da6815 authored over 5 years agoUpdates x/net/http2 to git rev 1da14a5a36f220ea3f03470682b737b1dfd5de22 for:
http2: make em...
35dab2af21f4e51742e6a601ba88dcc3c1fc6ebe authored over 5 years agoAdd Unwrap methods to types which wrap an underlying error:
"encodinc/csv".ParseError
"enco...
The testcase created a race between the close of the current connection
and the client grabbing ...
Using password that returns from User.Password() won't work in this case
because password in Use...
Fixes #23544
Change-Id: Iaa31d76c4cda8ce22412d73c9025fc57e4fb1967
Reviewed-on: https://go-revie...
Fixes #26013
Change-Id: I2c82bd90ea7ce6f7a8e5b6c460d3982dca681a93
Reviewed-on: https://go-revie...
Updates #31784
Change-Id: Iee056c850c03939606b227a12715c76b0339d268
Reviewed-on: https://go-rev...
Treat HTTP/2 connections as an ongoing persistent connection. When we
are told there is no cache...
Previously transport was using the hardcoded bufio.defaultBufSize
(4096), limiting throughput an...
Ensures that our HTTP/1.X Server properly responds
with a 501 Unimplemented as mandated by the s...
KeepAlive field used to report the wording "keep-alive period"
which may be misleading. This fie...
The behavior of Value.String method on non-string JavaScript types has
changed after CL 169757.
...
Fixes #29915
Change-Id: I6e6edf4f9a0e062211f74d120ae1a242bce1b274
Reviewed-on: https://go-revie...
Explicitly warn callers that no URL encoding is performed and
that they might need to do it.
Fi...
b8c046312f35f0a2e18f062340d9341118890ee8 authored almost 6 years ago
Though there is variation in the spelling of canceled,
cancellation is always spelled with a dou...
Transport.DialerAndTLSConfigSupportsHTTP2 was added just earlier
in CL 130256 but we thought of ...
Even when a custom TLS config or custom dialer is specified,
enables HTTP/2 if DialerAndTLSConfi...
A handful of packages were reimplementing IsExported, so use
token.IsExported instead. This caus...
Fixes #29135
Change-Id: I4c10b0395047775e8488b8b0f00f74a7fa01b86c
GitHub-Last-Rev: 120977040506...
Parse the headers without splitting them upfront to reduce
memory allocations.
For non-patholog...
e5f630f6db5a88594d875084011bd7a34838e3a9 authored almost 6 years agoFixes golang/go#30694
Change-Id: I12a0a870e4aee6576e879d88a4868666ef448298
Reviewed-on: https:/...
This commit adds a KeepAlive field to ListenConfig and uses it
analogously to Dialer.KeepAlive t...
A regression was introduced in CL 137335 (5440bfc) that caused FlushInterval
to not be honored u...
Fixes #31096
Change-Id: I5b36bfc6d18eb8c1bbf15abcd92b0e6559cda3c8
Reviewed-on: https://go-revie...
Pregrow buffer to reduce allocs on building cookie string.
We calc cookie name value and domain ...
MIME sniffing standard defines the RAR signature as 52 61 72 20 1A 07 00.
But this signature is...
3b7ddcd2b62dec892a933afb4dbe59b5f657205f authored almost 6 years ago
Change-Id: Id9dedc861523e2dafe0e67f70862973124fa07b3
GitHub-Last-Rev: b662561f1980dff9861dd8a738...
Change-Id: I73441ba2eb349f0e0f25068e6b24c74dd33f1456
GitHub-Last-Rev: b9e6705962b94af3b1b720cc9a...
This also updates the vendored-in versions of several packages: 'go
mod vendor' selects a consis...
net.TCPConn has the ability to send data out using system calls such as
sendfile when the source...
Make persistConnWriter implement io.ReaderFrom, via an io.Copy on the
underlying net.Conn. This ...
The change fixes the following deviations between the existing implementation and the Spec:
1. U...
This adds benchmarks to test file uploads using PUT requests.
It's designed to complement chang...
8ada74dd88eb4b7e83d382fb058148e8cc08d110 authored almost 6 years ago
The following corner cases for readCookiesTests are tested now:
- An extra cookie delimiter ";"...
I had been finding these over a year or so, but none were big enough
changes to warrant CLs. The...
Adds a magic header value that is translated to the
Fetch API redirect option, following existin...
Fixes #29193
Change-Id: I03088205e51036abbc861ab5b7d141327b0429ae
Reviewed-on: https://go-revie...
replaces broken link with a web.archive.org link.
Change-Id: I438536a6ac51d837c30be5df7d3d0caad...
583551c16fbe4b4c6ca8cf9b92fffe25108eb50f authored almost 6 years agoHTTP status code 103 (Early Hints) from RFC 8297.
Fixes #29655
Change-Id: Ia1edbb561ee46f42d7f...
e39a681a874c30ae92378c58ec3b8db914b6db89 authored almost 6 years ago
Comparing errors using DeepEqual breaks if frame information
is added as proposed in Issue #2993...
This commit adds godoc for Dir.Open function.
Change-Id: Ibc3b22f38660a082802e1f868c5cf9d880fc2...
28831acfd9f899c4356f45eee555595f44c3d289 authored almost 6 years ago
The path of the new stripped URL should also be cleaned. Since an empty path
may cause unexpecte...
TestDumpRequest was failing with -count=2 or more
because for test cases that involved mustReadR...
Change-Id: I15279e4aa9306bde925929907a7b5e7ef5d8b642
GitHub-Last-Rev: 6bc2d66aecd424b322ec0c23b2...
CL 159157 was doing UTF-8 decoding of URLs. URLs aren't really UTF-8,
even if sometimes they are...
Updates bundled http2 to x/net git rev ed066c81e7 for:
http2: Revert a closed stream cannot...
7bfd7882f55f471f1b4467d51530a9d9d4d57134 authored about 6 years ago
This is a more conservative version of the reverted CL 99135 (which
was reverted in CL 137716)
...
a9a35214aa992ba3a12af9c906b4f2bdae050ae4 authored about 6 years agoUpdates #26095 (or fixes it)
Change-Id: I92488dabe823b82e1ba534648fe6d63d25d0ae9f
Reviewed-on: ...
Fixes #29627
Change-Id: I08a5b45151a11b5a4f3b5a2d984c0322cf904697
Reviewed-on: https://go-revie...
Change-Id: Iea33fe64403ca2e6f87a4e070af5e97d96506e41
Reviewed-on: https://go-review.googlesource...
When using switching protocol, previous headers set before the reverse proxy are lost.
Fixes #2...
6832d79b77bfd114419bf1713d21a22995c83b24 authored about 6 years ago
Change-Id: I5f9de0daa3c18ecd7d6cd30ea13d147e227b3550
GitHub-Last-Rev: 5eabcbd91f8988c8f74f5bd11f...
Change-Id: Iaa1468296fbc98389165a152cf8b591216c22489
Reviewed-on: https://go-review.googlesource...
We shouldn't pollute people's flags with this debugging flag that was
never really meant to be p...
The name "Callback" does not fit to all use cases of js.Callback.
This commit changes its name t...
These changes add tests for the unexported function singleJoiningSlash.
Change-Id: I107905aac4a...
90e76d52191c118e777c2cb6ea81bdcadef4ab0e authored about 6 years agoFix unannounced trailers when body is empty and without announced trailers.
Fixes #29031
Chang...
606a82993ff8ea1404257c216c741c1149c724dc authored about 6 years ago
And remove some unnecessary textproto references. (The net/http
package's CanonicalHeaderKey jus...
StatusTooEarly can be returned to indicate that a server is unwilling
to accept early data as in...
Follow-up for CL 147037 and after Brad noticed the "returns whether"
pattern during the review o...
This updates x/net/http2 to x/net git rev 351d144f for:
http2: revert Transport's strict int...
b357adcf43560665f3ee3266527ec0ba4df48588 authored about 6 years ago
Packages in vendor/ directories have a "vendor/" path prefix in GOPATH
mode, but intentionally d...
There are three functions that do Connection header write:
1. transport.go/ persistConn.roundTri...
Fixes #28904
Change-Id: I8d416c47479a266735a39c926fd2f0f2bb25d57b
GitHub-Last-Rev: 3a7865a5be27...
Fixes #28244
Change-Id: I3ca36fd513f5543af0c8af254d267254c7d5e803
GitHub-Last-Rev: 83b16fac4e22...
Fixes #19943
Change-Id: I5e0fefe44791d7b3556095d726c2a753ec551ef2
Reviewed-on: https://go-revie...
Fixes #26937
Change-Id: I6cdc1bad4cf476cd2ea1462b53444eccd8841e14
Reviewed-on: https://go-revie...
To disable TLS 1.3, simply remove VersionTLS13 from supportedVersions,
as tested by TestEscapeRo...
With this change, callbacks returned by syscall/js.NewCallback
get executed synchronously. This ...
Updates socks_bundle.go to git rev 26e67e7 for:
- 26e67e7 internal/socks: fix socket descriptor ...
Scanning through all path patterns is not necessary, since the
paths do not change frequently. ...
There are cases where HTTP message specifies the Trailer header
but not the Transfer-Encoding = ...
Unlike the go resolver, the existing cgo resolver exchanges both DNS A
and AAAA RR queries uncon...
Updates #23689
Change-Id: Icddec2fcc39802cacd651a9c94290e86cf1e48d1
Reviewed-on: https://go-rev...
This adds a crypto/tls.RecordHeaderError.Conn field containing the TLS
underlying net.Conn for n...
Fixes #17227
Change-Id: I0f8964593d69623b85d5759f6276063ee62b2915
Reviewed-on: https://go-revie...
The previous ReverseProxy change, CL 137335, introduced a bug which could cause
a race and/or a ...