sahvx655-wq commented on PR #3772:
URL: https://github.com/apache/brpc/pull/3772#issuecomment-7140294519

   Pushed 6186cca for the frame-handler ordering: the continuity check now runs 
right after the frame head is parsed, so an unknown frame type inside an open 
header block gets GOAWAY(PROTOCOL_ERROR) instead of falling through the handler 
== nullptr path with nothing written, and the test asserts that GOAWAY off the 
wire.
   
   The other note I've answered in the thread rather than changed. Publishing 
the open block before the handler runs is intentional: section 6.10 still 
applies to a stream we refused, and for the one sequence that can trigger it 
(REFUSED_STREAM at max_concurrent_streams on a HEADERS without END_HEADERS) 
master already loses the connection, since that branch returns without 
forwarding past the fragment and the following CONTINUATION fails to find its 
stream.


-- 
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