nopasaran.tools.http_2_overwrite¶
Functions
|
|
|
|
|
|
|
Modified init that uses our custom state machine |
|
Modified __next__ to convert CONTINUATION frames to independent HEADERS frames |
|
Add more data to the frame buffer. |
|
Initiate a new stream. |
|
Provides any data that needs to be sent at the start of the connection. |
|
|
|
Modified _receive_data_frame to handle DATA frames in any state |
|
A CONTINUATION frame has been received. |
|
Receive a PRIORITY frame on the connection. |
|
Receive a push-promise frame on the connection. |
|
Receive a RST_STREAM frame on the connection. |
|
Receive a WINDOW_UPDATE frame on the connection. |
|
|
|
Modified send_data to force sending DATA frames even in IDLE state |
|
|
|
Simplified header buffer that just passes frames through |
|
Confirms that a specific setting has a well-formed value. |
|
|
|
Receive a set of headers (or trailers). |
|
|
|
Returns a list of HEADERS/CONTINUATION frames to emit as either headers or trailers. |
Classes
Override the state machine to allow DATA frames in IDLE state |