mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-15 04:07:51 +00:00
7c617a160b
Closing the socket outside of relay_data causes relay_data to stay alive, causing eventlet to think a filehandle is open that is not. A reasonable question would be why eventlet fails to error that read when the filehandle is closed, but for now, move the close activity to the relay_data handler. This resolves "Second simultaneous read on fileno" conditions introduced by the fix for leaking filehandles.