mirror of https://github.com/MISP/misp-modules
fix: [core] the default buffer size in Tornado HTTP server is not enough
for large MISP event. Fix #662pull/664/head
parent
55d7fc95dc
commit
e4d93173a7
|
@ -294,7 +294,8 @@ def main():
|
|||
|
||||
application = tornado.web.Application(service)
|
||||
try:
|
||||
application.listen(args.port, address=args.listen)
|
||||
server = tornado.httpserver.HTTPServer(application, max_buffer_size=1073741824) # buffer size increase when large MISP event are submitted - GH issue 662
|
||||
server.listen(args.port, args.listen)
|
||||
except Exception as e:
|
||||
if e.errno == 98:
|
||||
pids = psutil.pids()
|
||||
|
|
Loading…
Reference in New Issue