diff options
| author | Luke Hoersten <[email protected]> | 2026-06-15 07:59:44 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-15 07:59:44 -0500 |
| commit | ec8d498ba5040b7ba862211975d2043baa6e5536 (patch) | |
| tree | 7fdbc2f50a0608718ad3058659ae4f5f3a663992 /main/state_machine.c | |
| parent | d949b19a6b89b9e74e8706bafa1d1396ac8f17f8 (diff) | |
sdkconfig: revert TCP window bump — net-negative on /frame path
Bumping WND/SND_BUF to 32 KiB + RECVMBOX to 16 + SACK on regressed
ttfb from ~350µs to ~1.2ms across every frame and introduced periodic
250+ms body stalls (TCP retransmit on the larger window). Mean body
unchanged. Reason: Scrypted's per-frame fetch() opens a fresh TCP
socket, so the larger receive window just slows slow-start on every
new connection rather than helping.
Reverted to lwIP defaults. The real fix is HTTP keep-alive on the
Scrypted side; will revisit window tuning once persistent connections
are in place. README backlog updated with what we learned.
Diffstat (limited to 'main/state_machine.c')
0 files changed, 0 insertions, 0 deletions
