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
net: Close doesn't quite work for fcgi on win32 with nginx #3710
Labels
Milestone
Comments
I do not want to start new net discussion :-), but if I change hg id e69400ace361 as diff -r e69400ace361 src/pkg/net/http/fcgi/fcgi.go --- a/src/pkg/net/http/fcgi/fcgi.go Thu Jun 07 03:06:40 2012 -0400 +++ b/src/pkg/net/http/fcgi/fcgi.go Fri Jun 08 16:24:24 2012 +1000 @@ -17,6 +17,7 @@ "errors" "io" "sync" + "net" ) // recType is a record type, as defined by @@ -113,7 +114,7 @@ func (c *conn) Close() error { c.mutex.Lock() defer c.mutex.Unlock() - return c.rwc.Close() + return c.rwc.(*net.TCPConn).CloseWrite() } type record struct { it works. It is certainly a case where it is left here, but didn't arrive there. Alex Status changed to Accepted. |
http://golang.org/cl/6604072 Owner changed to @alexbrainman. Status changed to Started. |
This issue was closed by revision fa3e4fc. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by miepian:
The text was updated successfully, but these errors were encountered: