On 2017-04-18 07:18, Peter Mogensen wrote:


On 2017-04-18 05:48, Ken Simon wrote:

go srv.Serve(l)

Have you tried check the error return value here?


Sorry... I was a bit too quick. That error shows accept error on close as its supposed to. However... If you call net/http.Server.Close() between the two calls you get the expected result... which indicates you might be struggling with the client side connection pool still having a keepalive HTTP connection open to the old server where it can issue the second request.

/Peter

--
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to