Skip to content

change more transport config after connection is established #2350

@FlorianUekermann

Description

@FlorianUekermann

We would like to change some transport config details after the connection is already established. In particular we are interested in:

  • max_idle_timeout
  • keepalive_interval
  • pad_to_mtu

The reason for the first two is that different stages of the connection lifecycle make different settings reasonable (small values make for a responsive experience, but can have a large impact on power consumption on mobile). This can be worked around in most cases on the application level, but only if the user controls the application protocol.

The reason for the latter is that it is mostly a privacy option, which protects to an extent against fingerprinting. This has a significant performance cost in some network environments (Wifi), even if the total transmission size doesn't actually change much. Therefore it would be good to be able to configure this on an already running connection, without adding more entropy for fingerprinting to the handshake (e.g. configuration hints via SNI).

I wanted to ask what your thoughts are on these before working on PRs.

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