Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: flake in TestHijackAfterCloseNotifier? #13633
Seen here: http://build.golang.org/log/fb09069fbdc77389a13a2e191d70eb8ce01b84e9 (linux/arm64) but also locally.
I can reproduce at least on Linux/amd64.
So this has nothing to do with either CloseNotifier, nor Hijack.
There are other tests which use this same pattern of doing two requests and verifying they report the same RemoteAddr as a proxy for determining whether the connection was re-used. One example is
I'm very confused.
Ah, the difference between