Closed cofyc closed 6 years ago
That is great @cofyc; We're running into the same issue and our long-running application using kolo/xmlrpc is generating over 50,000 go routines over the time, that forces us to restart the app frequently just to avoid that bug. :+1: for merging. :-)
I am trying github.com/nilshell/xmlrpc. Fix by the same way. Thank you. Very helpful.
This PR has been extended with a test and merged. See #52.
If clientCodec is closed, next ReadResponseHeader call on it should returns error directly, otherwise it will block on waiting codec.Ready event.