Skip to content

Updating H2Connection.local_settings.max_frame_size does not update H2Connection.max_inbound_frame_size. #1288

Closed
@sujaldev

Description

@sujaldev

I am using the following code to update the MAX_FRAME_SIZE setting:

conn = H2Connection(config)
conn.local_settings.max_frame_size = 2**18
conn.local_settings.acknowledge()

but this causes a FRAME_SIZE_ERROR, so I also need to append:

conn.max_inbound_frame_size = 2**18

Shouldn't max_inbound_frame_size be implemented with a setter/getter instead of just copying from Settings at __init__?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions