arturobernalg opened a new pull request, #709:
URL: https://github.com/apache/httpcomponents-core/pull/709

   RFC 9113 Section 5.1 restricts the frame types that can be received while a 
stream is in a reserved state.
   
   For a `reserved (remote)` stream, receiving a frame other than `HEADERS`, 
`RST_STREAM`, or `PRIORITY` must be treated as a connection error of type 
`PROTOCOL_ERROR`. `DATA` is therefore not permitted before the reserved stream 
has been activated by `HEADERS`.
   
   The current DATA path accepts a reserved stream and passes the payload to 
the stream handler.
   
   This change rejects DATA frames received on reserved streams with a 
connection `PROTOCOL_ERROR` and adds a regression test covering DATA received 
on a `reserved (remote)` stream created by `PUSH_PROMISE`.
   
   RFC 9113 Section 5.1 — Stream States, `reserved (remote)`:
   https://www.rfc-editor.org/rfc/rfc9113.html#section-5.1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to