mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2025-02-17 15:20:44 +00:00
![Tatsuhiro Tsujikawa](/assets/img/avatar_default.png)
If we return negative error code in that function, it means frame will not unpacked and ends up to lose any information the frame contains. The spec says it should send RST_STREAM with PROTOCOL_ERROR, so we need at least stream ID. Therefore, the check should be performed in spdylay_session_on_syn_stream_received().