Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore Num FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Str Assign NameStore BinOpSub AttributeLoad NameLoad attr Call NameLoad Str Assert CompareEq Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub AttributeLoad NameLoad attr Call NameLoad Str Assert CompareEq Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpSub BinOpSub AttributeLoad NameLoad attr Call NameLoad Str Num Num Assert CompareEq Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore BinOpSub AttributeLoad NameLoad attr Call NameLoad Str Assert CompareEq Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub AttributeLoad NameLoad attr Call NameLoad Str Assert CompareEq Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Num Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Str Assert Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign AttributeStore Call AttributeLoad NameLoad attr Num attr Num With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Num Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Str Assert Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assert Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad Str attr Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assert Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assert UnaryOpNot NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assert UnaryOpNot NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Dict keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Str Num With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Dict AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Dict keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num Assert CompareEq Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Dict AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Dict keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Dict keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Num Num BinOpPow Num Num FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Num Num FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpPow Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpPow Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpSub BinOpPow Num Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assert Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Dict keyword NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpSub BinOpPow Num Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpPow Num Num AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpPow Num Num AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Num decorator_list decorator_list
N/A N/A 
test_flow_control
~~~~~~~~~~~~~~~~~

Tests of the flow control management in h2
 N/A pytest N/A h2.connection N/A h2.errors N/A h2.events N/A h2.exceptions N/A h2.settings TestFlowControl N/A object N/A N/A 
    Tests of the flow control management in the connection objects.
     N/A example_request_headers N/A N/A :authority example.com N/A :path / N/A :scheme https N/A :method GET N/A DEFAULT_FLOW_WINDOW 65535 test_flow_control_initializes_properly N/A N/A self N/A N/A N/A 
        The flow control window for a stream should initially be the default
        flow control value.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A N/A c local_flow_control_window 1 N/A self DEFAULT_FLOW_WINDOW N/A N/A N/A N/A c remote_flow_control_window 1 N/A self DEFAULT_FLOW_WINDOW N/A test_flow_control_decreases_with_sent_data N/A N/A self N/A N/A N/A 
        When data is sent on a stream, the flow control window should drop.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A c send_data 1 some data N/A remaining_length N/A N/A self DEFAULT_FLOW_WINDOW N/A len some data N/A N/A N/A N/A c local_flow_control_window 1 remaining_length N/A test_flow_control_decreases_with_received_data N/A N/A self frame_factory N/A N/A N/A 
        When data is received on a stream, the remote flow control window
        should drop.
         N/A c N/A N/A N/A h2 connection H2Connection client_side False N/A N/A N/A c receive_data N/A N/A frame_factory preamble N/A f1 N/A N/A frame_factory build_headers_frame N/A self example_request_headers N/A f2 N/A N/A frame_factory build_data_frame some data N/A N/A N/A c receive_data N/A N/A N/A f1 serialize N/A N/A f2 serialize N/A remaining_length N/A N/A self DEFAULT_FLOW_WINDOW N/A len some data N/A N/A N/A N/A c remote_flow_control_window 1 remaining_length N/A test_flow_control_decreases_with_padded_data N/A N/A self frame_factory N/A N/A N/A 
        When padded data is received on a stream, the remote flow control
        window should drop by an amount that includes the padding.
         N/A c N/A N/A N/A h2 connection H2Connection client_side False N/A N/A N/A c receive_data N/A N/A frame_factory preamble N/A f1 N/A N/A frame_factory build_headers_frame N/A self example_request_headers N/A f2 N/A N/A frame_factory build_data_frame some data padding_len 10 N/A N/A N/A c receive_data N/A N/A N/A f1 serialize N/A N/A f2 serialize N/A remaining_length N/A N/A N/A N/A self DEFAULT_FLOW_WINDOW N/A len some data 10 1 N/A N/A N/A N/A c remote_flow_control_window 1 remaining_length N/A test_flow_control_is_limited_by_connection N/A N/A self N/A N/A N/A 
        The flow control window is limited by the flow control of the
        connection.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A c send_data 1 some data N/A N/A N/A c send_headers 3 N/A self example_request_headers N/A remaining_length N/A N/A self DEFAULT_FLOW_WINDOW N/A len some data N/A N/A N/A N/A c local_flow_control_window 3 remaining_length N/A test_remote_flow_control_is_limited_by_connection N/A N/A self frame_factory N/A N/A N/A 
        The remote flow control window is limited by the flow control of the
        connection.
         N/A c N/A N/A N/A h2 connection H2Connection client_side False N/A N/A N/A c receive_data N/A N/A frame_factory preamble N/A f1 N/A N/A frame_factory build_headers_frame N/A self example_request_headers N/A f2 N/A N/A frame_factory build_data_frame some data N/A f3 N/A N/A frame_factory build_headers_frame N/A self example_request_headers stream_id 3 N/A N/A N/A c receive_data N/A N/A N/A N/A f1 serialize N/A N/A f2 serialize N/A N/A f3 serialize N/A remaining_length N/A N/A self DEFAULT_FLOW_WINDOW N/A len some data N/A N/A N/A N/A c remote_flow_control_window 3 remaining_length N/A test_cannot_send_more_data_than_window N/A N/A self N/A N/A N/A 
        Sending more data than the remaining flow control window raises a
        FlowControlError.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A c outbound_flow_control_window 5 N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c send_data 1 some data N/A test_increasing_connection_window_allows_sending N/A N/A self frame_factory N/A N/A N/A 
        Confirm that sending a WindowUpdate frame on the connection frees
        up space for further frames.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A c outbound_flow_control_window 5 N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c send_data 1 some data N/A f N/A N/A frame_factory build_window_update_frame stream_id 0 increment 5 N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A c clear_outbound_data_buffer N/A N/A N/A c send_data 1 some data N/A N/A N/A c data_to_send N/A test_increasing_stream_window_allows_sending N/A N/A self frame_factory N/A N/A N/A 
        Confirm that sending a WindowUpdate frame on the connection frees
        up space for further frames.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A N/A c _get_stream_by_id 1 outbound_flow_control_window 5 N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c send_data 1 some data N/A f N/A N/A frame_factory build_window_update_frame stream_id 1 increment 5 N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A c clear_outbound_data_buffer N/A N/A N/A c send_data 1 some data N/A N/A N/A c data_to_send N/A test_flow_control_shrinks_in_response_to_settings N/A N/A self frame_factory N/A N/A N/A 
        Acknowledging SETTINGS_INITIAL_WINDOW_SIZE shrinks the flow control
        window.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A N/A c local_flow_control_window 1 65535 N/A f N/A N/A frame_factory build_settings_frame settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE 1280 N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A N/A c local_flow_control_window 1 1280 N/A test_flow_control_grows_in_response_to_settings N/A N/A self frame_factory N/A N/A N/A 
        Acknowledging SETTINGS_INITIAL_WINDOW_SIZE grows the flow control
        window.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A f N/A N/A frame_factory build_window_update_frame stream_id 0 increment 128000 N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A N/A c local_flow_control_window 1 65535 N/A f N/A N/A frame_factory build_settings_frame settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE 128000 N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A N/A c local_flow_control_window 1 128000 N/A test_flow_control_settings_blocked_by_conn_window N/A N/A self frame_factory N/A N/A N/A 
        Changing SETTINGS_INITIAL_WINDOW_SIZE does not affect the effective
        flow control window if the connection window isn't changed.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A N/A c local_flow_control_window 1 65535 N/A f N/A N/A frame_factory build_settings_frame settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE 128000 N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A N/A c local_flow_control_window 1 65535 N/A test_new_streams_have_flow_control_per_settings N/A N/A self frame_factory N/A N/A N/A 
        After a SETTINGS_INITIAL_WINDOW_SIZE change is received, new streams
        have appropriate new flow control windows.
         N/A c N/A N/A N/A h2 connection H2Connection N/A f N/A N/A frame_factory build_settings_frame settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE 128000 N/A N/A N/A c receive_data N/A N/A f serialize N/A f N/A N/A frame_factory build_window_update_frame stream_id 0 increment 128000 N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A N/A c local_flow_control_window 1 128000 N/A test_window_update_no_stream N/A N/A self frame_factory N/A N/A N/A 
        WindowUpdate frames received without streams fire an appropriate
        WindowUpdated event.
         N/A c N/A N/A N/A h2 connection H2Connection client_side False N/A N/A N/A c receive_data N/A N/A frame_factory preamble N/A f N/A N/A frame_factory build_window_update_frame stream_id 0 increment 5 N/A events N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A len events 1 N/A event N/A events N/A 0 N/A N/A isinstance event N/A N/A h2 events WindowUpdated N/A N/A N/A event stream_id 0 N/A N/A N/A event delta 5 N/A test_window_update_with_stream N/A N/A self frame_factory N/A N/A N/A 
        WindowUpdate frames received with streams fire an appropriate
        WindowUpdated event.
         N/A c N/A N/A N/A h2 connection H2Connection client_side False N/A N/A N/A c receive_data N/A N/A frame_factory preamble N/A f1 N/A N/A frame_factory build_headers_frame N/A self example_request_headers N/A f2 N/A N/A frame_factory build_window_update_frame stream_id 1 increment 66 N/A data N/A N/A join N/A map N/A N/A N/A f N/A N/A N/A f serialize N/A f1 f2 N/A events N/A N/A c receive_data data N/A N/A N/A len events 2 N/A event N/A events N/A 1 N/A N/A isinstance event N/A N/A h2 events WindowUpdated N/A N/A N/A event stream_id 1 N/A N/A N/A event delta 66 N/A test_we_can_increment_stream_flow_control N/A N/A self frame_factory N/A N/A N/A 
        It is possible for the user to increase the flow control window for
        streams.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A N/A N/A c send_headers 1 N/A self example_request_headers end_stream True N/A N/A N/A c clear_outbound_data_buffer N/A expected_frame N/A N/A frame_factory build_window_update_frame stream_id 1 increment 5 N/A events N/A N/A c increment_flow_control_window increment 5 stream_id 1 N/A N/A events N/A N/A N/A N/A c data_to_send N/A N/A expected_frame serialize N/A test_we_can_increment_connection_flow_control N/A N/A self frame_factory N/A N/A N/A 
        It is possible for the user to increase the flow control window for
        the entire connection.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A N/A N/A c send_headers 1 N/A self example_request_headers end_stream True N/A N/A N/A c clear_outbound_data_buffer N/A expected_frame N/A N/A frame_factory build_window_update_frame stream_id 0 increment 5 N/A events N/A N/A c increment_flow_control_window increment 5 N/A N/A events N/A N/A N/A N/A c data_to_send N/A N/A expected_frame serialize N/A test_we_enforce_our_flow_control_window N/A N/A self frame_factory N/A N/A N/A 
        The user can set a low flow control window, which leads to connection
        teardown if violated.
         N/A c N/A N/A N/A h2 connection H2Connection client_side False N/A N/A N/A c receive_data N/A N/A frame_factory preamble N/A N/A N/A c update_settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE 80 N/A f N/A N/A frame_factory build_settings_frame N/A ack True N/A N/A N/A c receive_data N/A N/A f serialize N/A f N/A N/A frame_factory build_headers_frame N/A self example_request_headers N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A c clear_outbound_data_buffer N/A f N/A N/A frame_factory build_data_frame N/A 100 N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c receive_data N/A N/A f serialize N/A expected_frame N/A N/A frame_factory build_goaway_frame last_stream_id 1 error_code N/A N/A h2 errors FLOW_CONTROL_ERROR N/A N/A N/A N/A c data_to_send N/A N/A expected_frame serialize N/A test_shrink_remote_flow_control_settings N/A N/A self frame_factory N/A N/A N/A 
        The remote peer acknowledging our SETTINGS_INITIAL_WINDOW_SIZE shrinks
        the flow control window.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A N/A c remote_flow_control_window 1 65535 N/A N/A N/A c update_settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE 1280 N/A f N/A N/A frame_factory build_settings_frame N/A ack True N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A N/A c remote_flow_control_window 1 1280 N/A test_grow_remote_flow_control_settings N/A N/A self frame_factory N/A N/A N/A 
        The remote peer acknowledging our SETTINGS_INITIAL_WINDOW_SIZE grows
        the flow control window.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A c increment_flow_control_window increment 128000 N/A N/A N/A N/A c remote_flow_control_window 1 65535 N/A N/A N/A c update_settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE 128000 N/A f N/A N/A frame_factory build_settings_frame N/A ack True N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A N/A c remote_flow_control_window 1 128000 N/A test_new_streams_have_remote_flow_control N/A N/A self frame_factory N/A N/A N/A 
        After a SETTINGS_INITIAL_WINDOW_SIZE change is acknowledged by the
        remote peer, new streams have appropriate new flow control windows.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c update_settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE 128000 N/A f N/A N/A frame_factory build_settings_frame N/A ack True N/A N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A c increment_flow_control_window increment 128000 N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A N/A c remote_flow_control_window 1 128000 N/A test_reject_bad_attempts_to_increment_flow_control N/A N/A self increment N/A N/A N/A 
        Attempting to increment a flow control increment outside the valid
        range causes a ValueError to be raised.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A N/A N/A c send_headers 1 N/A self example_request_headers end_stream True N/A N/A N/A c clear_outbound_data_buffer N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A c increment_flow_control_window increment increment stream_id 1 N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A c increment_flow_control_window increment increment N/A N/A N/A N/A pytest mark parametrize increment N/A 0 -15 N/A 2 31 test_reject_bad_remote_increments N/A N/A self frame_factory stream_id N/A N/A N/A 
        Remote peers attempting to increment flow control outside the valid
        range cause connection errors of type PROTOCOL_ERROR.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A N/A N/A c send_headers 1 N/A self example_request_headers end_stream True N/A N/A N/A c clear_outbound_data_buffer N/A f N/A N/A frame_factory build_window_update_frame stream_id stream_id increment 0 N/A N/A N/A pytest raises N/A N/A h2 exceptions ProtocolError N/A N/A N/A N/A c receive_data N/A N/A f serialize N/A expected_frame N/A N/A frame_factory build_goaway_frame last_stream_id 0 error_code N/A N/A h2 errors PROTOCOL_ERROR N/A N/A N/A N/A c data_to_send N/A N/A expected_frame serialize N/A N/A N/A N/A pytest mark parametrize stream_id N/A 0 1 test_reject_increasing_connection_window_too_far N/A N/A self frame_factory N/A N/A N/A 
        Attempts by the remote peer to increase the connection flow control
        window beyond 2**31 - 1 are rejected.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A N/A N/A c clear_outbound_data_buffer N/A increment N/A N/A 2 31 N/A c outbound_flow_control_window N/A f N/A N/A frame_factory build_window_update_frame stream_id 0 increment increment N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c receive_data N/A N/A f serialize N/A expected_frame N/A N/A frame_factory build_goaway_frame last_stream_id 0 error_code N/A N/A h2 errors FLOW_CONTROL_ERROR N/A N/A N/A N/A c data_to_send N/A N/A expected_frame serialize N/A test_reject_increasing_stream_window_too_far N/A N/A self frame_factory N/A N/A N/A 
        Attempts by the remote peer to increase the stream flow control window
        beyond 2**31 - 1 are rejected.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A N/A N/A c clear_outbound_data_buffer N/A increment N/A N/A 2 31 N/A c outbound_flow_control_window N/A f N/A N/A frame_factory build_window_update_frame stream_id 1 increment increment N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c receive_data N/A N/A f serialize N/A expected_frame N/A N/A frame_factory build_goaway_frame last_stream_id 0 error_code N/A N/A h2 errors FLOW_CONTROL_ERROR N/A N/A N/A N/A c data_to_send N/A N/A expected_frame serialize N/A test_reject_overlarge_conn_window_settings N/A N/A self frame_factory N/A N/A N/A 
        SETTINGS frames cannot change the size of the connection flow control
        window.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A increment N/A N/A N/A 2 31 1 N/A c outbound_flow_control_window N/A f N/A N/A frame_factory build_window_update_frame stream_id 0 increment increment N/A N/A N/A c receive_data N/A N/A f serialize N/A f N/A N/A frame_factory build_settings_frame settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE N/A N/A self DEFAULT_FLOW_WINDOW 1 N/A N/A N/A c clear_outbound_data_buffer N/A events N/A N/A c receive_data N/A N/A f serialize N/A N/A N/A len events 1 N/A N/A isinstance N/A events N/A 0 N/A N/A h2 events RemoteSettingsChanged N/A expected_frame N/A N/A frame_factory build_settings_frame settings N/A ack True N/A N/A N/A N/A c data_to_send N/A N/A expected_frame serialize N/A test_reject_overlarge_stream_window_settings N/A N/A self frame_factory N/A N/A N/A 
        Remote attempts to create overlarge stream windows via SETTINGS frames
        are rejected.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A increment N/A N/A N/A 2 31 1 N/A c outbound_flow_control_window N/A f N/A N/A frame_factory build_window_update_frame stream_id 1 increment increment N/A N/A N/A c receive_data N/A N/A f serialize N/A f N/A N/A frame_factory build_settings_frame settings N/A N/A N/A h2 settings INITIAL_WINDOW_SIZE N/A N/A self DEFAULT_FLOW_WINDOW 1 N/A N/A N/A c clear_outbound_data_buffer N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c receive_data N/A N/A f serialize N/A expected_frame N/A N/A frame_factory build_goaway_frame last_stream_id 0 error_code N/A N/A h2 errors FLOW_CONTROL_ERROR N/A N/A N/A N/A c data_to_send N/A N/A expected_frame serialize N/A test_reject_local_overlarge_increase_connection_window N/A N/A self N/A N/A N/A 
        Local attempts to increase the connection window too far are rejected.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A increment N/A N/A 2 31 N/A c inbound_flow_control_window N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c increment_flow_control_window increment increment N/A test_reject_local_overlarge_increase_stream_window N/A N/A self N/A N/A N/A 
        Local attempts to increase the connection window too far are rejected.
         N/A c N/A N/A N/A h2 connection H2Connection N/A N/A N/A c initiate_connection N/A N/A N/A c send_headers 1 N/A self example_request_headers N/A increment N/A N/A 2 31 N/A c inbound_flow_control_window N/A N/A N/A pytest raises N/A N/A h2 exceptions FlowControlError N/A N/A N/A N/A c increment_flow_control_window increment increment stream_id 1 N/A N/A