Use per stream_id user data. #372

Closed
wants to merge 1 commit into
from

Projects

None yet

1 participant

@Andersbakken
Contributor

Use nghttp2_session_get_stream_user_data/nghttp2_session_set_stream_user_data
to identify SessionaHandles instead of a hash.

Return 0 instead of NGHTTP2_ERR_CALLBACK_FAILURE if we can't locate the
SessionHandle. Apparently mod_h2 will sometimes send a frame for a
stream_id we're finished with.

@Andersbakken Andersbakken Use per stream_id user data.
Use nghttp2_session_get_stream_user_data/nghttp2_session_set_stream_user_data
to identify SessionaHandles instead of a hash.

Return 0 instead of NGHTTP2_ERR_CALLBACK_FAILURE if we can't locate the
SessionHandle. Apparently mod_h2 will sometimes send a frame for a
stream_id we're finished with.
26acc5a
@bagder bagder added a commit that closed this pull request Aug 11, 2015
@Andersbakken @bagder Andersbakken + bagder http2: discard frames with no SessionHandle
Return 0 instead of NGHTTP2_ERR_CALLBACK_FAILURE if we can't locate the
SessionHandle. Apparently mod_h2 will sometimes send a frame for a
stream_id we're finished with.

Use nghttp2_session_get_stream_user_data and
nghttp2_session_set_stream_user_data to identify SessionHandles instead
of a hash.

Closes #372
5778e6f
@bagder bagder closed this in 5778e6f Aug 11, 2015
@jgsogo jgsogo added a commit to jgsogo/curl that referenced this pull request Oct 19, 2015
@Andersbakken @jgsogo Andersbakken + jgsogo http2: discard frames with no SessionHandle
Return 0 instead of NGHTTP2_ERR_CALLBACK_FAILURE if we can't locate the
SessionHandle. Apparently mod_h2 will sometimes send a frame for a
stream_id we're finished with.

Use nghttp2_session_get_stream_user_data and
nghttp2_session_set_stream_user_data to identify SessionHandles instead
of a hash.

Closes #372
a15a16c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment