-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http: flake in TestHijackAfterCloseNotifier? #13633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
CC @bradfitz |
I can reproduce at least on Linux/amd64. Notes:
w.Header().Set("X-Addr", r.RemoteAddr) 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 |
Thanks for the quick fix :-) |
Seen here: http://build.golang.org/log/fb09069fbdc77389a13a2e191d70eb8ce01b84e9 (linux/arm64) but also locally.
The text was updated successfully, but these errors were encountered: