apocas / docker-modem

Docker Remote API network stack driver.
Apache License 2.0
234 stars 112 forks source link

Fix socket hung up for concurrent requests #128

Open iammathew opened 4 years ago

iammathew commented 4 years ago

When doing parallel requests over SSH it may result in a socket hung up, due to a shared client instance. This PR resolves this issue by instantiating a new client per request. Ideally, this will be solved by SSH multiplexing, but this is a simple fix first.