Join GitHub today
net/http/httputil: ReverseProxy doesn't support TCP half-close when HTTP is upgraded #35892
What version of Go are you using (
In order to support TCP half-close in ReverseProxy, ReverseProxy.handleUpgradeResponse should not close all sockets immediately when the one side gets an EOF. But we should close the write stream on the socket to inform the transfer is complete. Fixes golang#35892
Thank you for this bug report as well as CL and welcome to the Go project @sngchlko!
I've added some feedback to your CL and we are currently in a code freeze until perhaps February 2020, but I look forward to encountering you more here and on the code review list and thank you again!