mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-27 13:40:25 +00:00
Add timeout on httpapi socket
Clients that fail to send any data, or keep a persistent socket open without using it are killed off.
This commit is contained in:
@@ -785,7 +785,7 @@ def serve(bind_host, bind_port):
|
||||
' a second\n')
|
||||
eventlet.sleep(1)
|
||||
eventlet.wsgi.server(sock, resourcehandler, log=False, log_output=False,
|
||||
debug=False)
|
||||
debug=False, socket_timeout=60)
|
||||
|
||||
|
||||
class HttpApi(object):
|
||||
|
Reference in New Issue
Block a user