- From: Takeshi Yoshino <tyoshino@starlancer.org>
- Date: Mon, 17 Aug 2026 12:08:26 +0000
- To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
- Message-ID: <SYypVWpPjnf7N8gtVXQ1d6CKajTn9btQ8brFAD1DgEhEwjn9WzIlwkfeD0NDL2TDgvckBpSRpXRlVSI>
Hi Aviral, I'm Takeshi, the author of the RFC. Let me share my thoughts about the points you're wondering. If you want to continue the discussion, maybe we can just move to the HyBi mailing list. Though the WG has been closed, it's still ok to use it for this kind of topic IIUC. When I was designing RFC 7692 with HyBi folks, IIRC, we didn't have much discussion about the timing when the UTF-8 validation part of RFC 6455 should happen. But RFC 7692 (Section 6.1) has the following text that clarifies how to handle the scenario. - At the receiver, the payload data portion after decompression is subject to the constraints for the original data type again. Maybe we spent some time clarifying that (or someone pointed out that, ... Sorry, I don't remember.). So, I'd say that it is standardized that an endpoint receiving such a message mustFail the WebSocket Connection​. About any other application level issue about a message (limits, policies, etc.), at least based on the principle I had when designing PMCE, it's out of scope. From the WebSocket/PMCE layer's perspective, decompression and delivery to the application were successful. Regarding recommendation (2) in Section 5.1 of your I-D: a sender is certainly free to intervene in its own PMCE implementation to avoid generating back-references to problematic/refused data (effectively resetting or bypassing references). However, a receiver cannot unilaterally discard or reset its sliding window without the sender's coordination, as that would de-synchronize the DEFLATE state and break subsequent decompression. An application would need to coordinate/signal this with the peer at the application layer, as WebSocket/PMCE doesn't provide any mechanism for such signaling. (Maybe you already had this in mind.) I'd also like to note that once such behavior is introduced, it effectively diverges into a slightly different protocol. Specifically, RFC 7692-compliant intermediaries that are unaware of this application-level signaling cannot sit in between these peers, as an intermediary might still generate frames containing back-references to the refused message. Regarding the following recommendation, I think it's fine to clarify it but as the error in the application level is out of concern of WebSocket/PMCE, it's natural that the payload with application-level errors is still referenceable, I think. - An implementation that continues processing a connection after refusing a message, without resetting the window, SHOULD document that behavior, so that applications relying on post-decompression checks are aware that a refused message's content remains referenceable Sorry if I've missed/overlooked anything already covered in your draft. Thanks Takeshi Yoshino
Received on Monday, 17 August 2026 12:25:56 UTC