Skip to content

Commit b48e14b

Browse files
committed
http: Drop message object in message_complete
1 parent 9c784ff commit b48e14b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/gruvi/http.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ def on_message_complete(parser):
10341034
if self._header_value:
10351035
self._save_header()
10361036
self._message.body.buffer.feed_eof()
1037+
self._message = None
10371038
self._maybe_pause_transport()
10381039
return 0
10391040

0 commit comments

Comments
 (0)