rvolosatovs opened PR #14707 from rvolosatovs:wasi-http-append-raw-size to bytecodealliance:main:
FieldMap::append_rawupdated the tracked size before callingHeaderMap::try_append, so when the map was full the field was rejected withTooManyFieldsbut its size stayed counted. Check the limit first and only commit the new size once the append succeeds.Noticed while reviewing #14702, which will fix the analogous error in
set
rvolosatovs requested wasmtime-wasi-reviewers for a review on PR #14707.
rvolosatovs requested dicej for a review on PR #14707.
rvolosatovs has enabled auto merge for PR #14707.
:thumbs_up: pchickey submitted PR review.
rvolosatovs added PR #14707 wasi-http: don't count rejected fields in FieldMap size to the merge queue.
:check: rvolosatovs merged PR #14707.
rvolosatovs removed PR #14707 wasi-http: don't count rejected fields in FieldMap size from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC