Commit 9a2dfe16 authored by Ralf Schmitt's avatar Ralf Schmitt

do not sent multiple "100 continue" responses

see http://code.google.com/p/gevent/issues/detail?id=93 for more information
parent bc6d6f9a
......@@ -61,7 +61,7 @@ class Input(object):
def _send_100_continue(self):
if self.socket is not None:
self.socket.sendall(_CONTINUE_RESPONSE)
self.sendall = None
self.socket = None
def _do_read(self, reader, length=None):
content_length = self.content_length
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment