MCPcopy
hub / github.com/benoitc/gunicorn / cleanup_stream

Method cleanup_stream

gunicorn/http2/connection.py:647–653  ·  view source on GitHub ↗

Remove a stream after processing is complete. Args: stream_id: The stream ID to clean up

(self, stream_id)

Source from the content-addressed store, hash-verified

645 return self._closed
646
647 def cleanup_stream(self, stream_id):
648 """Remove a stream after processing is complete.
649
650 Args:
651 stream_id: The stream ID to clean up
652 """
653 self.streams.pop(stream_id, None)
654
655 def __repr__(self):
656 return (

Callers 7

send_responseMethod · 0.95
send_dataMethod · 0.95
send_trailersMethod · 0.95
test_cleanup_streamMethod · 0.95
handle_http2Method · 0.45
handle_http2Method · 0.45

Calls

no outgoing calls

Tested by 2

test_cleanup_streamMethod · 0.76