It would really help if we had some complete code to reproduce the issue.
It sounds like the server isn't closing connections, but with only these
simple handlers I don't see where that could happen. Are there any Hijack
calls, x/net/ipv4, or network related syscalls anywhere in your code?
Does this only happen with your custom tls.Config, or can you reproduce
this with the default ListenAndServeTLS?
What is the request rate you're seeing when things start to fail?
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.