mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
HTTP/1.0
This commit is contained in:
parent
b0271b6625
commit
ce51439299
@ -141,6 +141,6 @@ class Worker(object):
|
|||||||
http.HTTPResponse(client, response, req).send()
|
http.HTTPResponse(client, response, req).send()
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.exception("Error processing request. [%s]" % str(e))
|
log.exception("Error processing request. [%s]" % str(e))
|
||||||
msg = "HTTP/1.1 500 Internal Server Error\r\n\r\n"
|
msg = "HTTP/1.0 500 Internal Server Error\r\n\r\n"
|
||||||
util.write_nonblock(client, msg)
|
util.write_nonblock(client, msg)
|
||||||
client.close()
|
client.close()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user