Commit 4496950
net.http: emit HPACK Dynamic Table Size Update in H2MuxConn apply_peer_settings
RFC 7541 §6.3 requires that when the peer sends SETTINGS_HEADER_TABLE_SIZE,
the encoder MUST emit a Dynamic Table Size Update prefix at the start of the
next HEADERS block, even when the encoder uses only literals. The
h2_settings_header_table_size arm in H2MuxConn.apply_peer_settings was
comment-only, so pending_max_table_size was never set and no update was ever
emitted. Add the same set_max_size + pending_max_table_size assignment that
H2Conn.apply_settings and H2ServerConn.apply_settings already perform, guarded
by wmu since H2MuxConn has concurrent writers.
Co-Authored-By: WOZCODE <contact@withwoz.com>1 parent 5be13c6 commit 4496950
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
| |||
0 commit comments