Stream: git-wasmtime

Topic: wasmtime / PR #15047 http: reject messages with both Tran...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 10:20):

xia-chao updated PR #15047.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 10:20):

xia-chao edited PR #15047.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 11:01):

xia-chao updated PR #15047.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 11:06):

xia-chao commented on PR #15047:

also updated the two forward_duplicate_content_length tests - they depended on fetching a TE+CL response, which the client rejects now.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 12:04):

xia-chao updated PR #15047.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 12:06):

xia-chao deleted a comment on PR #15047:

also updated the two forward_duplicate_content_length tests - they depended on fetching a TE+CL response, which the client rejects now.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 12:09):

xia-chao commented on PR #15047:

your forward_duplicate_content_length tests from #15070 kind of got in the way here - they relied on a TE+CL response, which the client rejects now.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 12:09):

xia-chao deleted a comment on PR #15047:

your forward_duplicate_content_length tests from #15070 kind of got in the way here - they relied on a TE+CL response, which the client rejects now.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 12:11):

xia-chao commented on PR #15047:

@pchickey your forward_duplicate_content_length tests from #15070 broke here, they relied on a TE+CL response, and the client rejects that now. So I had to update them.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 15:15):

xia-chao updated PR #15047.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 15:16):

xia-chao deleted a comment on PR #15047:

@pchickey your forward_duplicate_content_length tests from #15070 broke here, they relied on a TE+CL response, and the client rejects that now. So I had to update them.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 15:18):

xia-chao edited PR #15047:

Requests and responses that carry both transfer-encoding and content-length are rejected before they reach the guest: 400 for a request and an HttpProtocolError for a response.

Hyper passes both headers through, so a guest was getting a content-length that did not match the body it read.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 15:18):

xia-chao commented on PR #15047:

the duplicate content length tests relied on a TE+CL response, so i changed the fixture

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 15:36):

xia-chao updated PR #15047.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 15:36):

xia-chao edited PR #15047:

Responses that carry both Transfer-Encoding and Content-Length reach the guest with a content-length that doesn't match the body, so the client now rejects them with HttpProtocolError. Requests are handled by hyper 1.11+, which drops the Content-Length; I'll bump hyper separately. The serve-side tests are gone with the request check.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 15:38):

xia-chao updated PR #15047.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 15:42):

xia-chao deleted a comment on PR #15047:

the duplicate content length tests relied on a TE+CL response, so i changed the fixture

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 15:55):

xia-chao commented on PR #15047:

Narrowed this to the client side. Since hyper 1.11 it drops content-length on requests, so the request-side check was basically a no-op. Client side still gets both headers, so I left that check in. The hyper bump is a separate PR.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 13:08):

xia-chao commented on PR #15047:

putting this on hold for now: tracked upstream in hyperium/hyper#4263. i'll continue once that's fixed.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 13:08):

:cross_mark: xia-chao closed without merge PR #15047.


Last updated: Nov 19 2026 at 20:05 UTC