Background: I'm trying to measure common metrics (e.g. firstContentfulPaint) using selenium with chromium over satellite links under different loss and delay parameters.
Problem: When running with high delay / loss rates, chromium stops the handshake relatively early with this error message: No recent network activity after 4001103us. (The exact number of microseconds changes but is always equal to between 4 and 5 seconds).
Found out so far: This error message seems to be generated here: https://source.chromium.org/chromium/chromium/src/+/main:net/third_party/quiche/src/quic/core/quic_connection.cc;l=6323?q=%22No%20recent%20network%20activity%20after%22&ss=chromium
I believe the relevant variable is: quic_max_idle_time_before_crypto_handshake_seconds
Question / TL;DR:
How do I change the timeout used by chromium during the handshake stage in HTTP/3 / QUIC? (without building chromium from scratch)
Thanks a lot!