Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
0.10.0, 0.11.0
-
None
Description
Repetitive calls to the clients initiated with the HTTPClientTransport causes "Errno::EMFILE: Failed to open TCP connection" error due to too many open files. And the reason is that each time client is called new http connection is created at each flush and is never finished after, holding the file descriptors to tcp connection files.
In order to solve this HTTP#finish should be called in ensure block of HTTPClientTransport#flush.