This commit is contained in:
Tatsuhiro Tsujikawa 2016-10-10 15:35:12 +09:00
parent 5db8473f12
commit 7549341081
1 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ void on_stream_close_callback(spdylay_session *session, int32_t stream_id,
if (downstream->get_request_state() == Downstream::CONNECT_FAIL) { if (downstream->get_request_state() == Downstream::CONNECT_FAIL) {
upstream->remove_downstream(downstream); upstream->remove_downstream(downstream);
// downstrea was deleted // downstream was deleted
return; return;
} }
@ -153,7 +153,7 @@ void on_stream_close_callback(spdylay_session *session, int32_t stream_id,
// If shrpx_downstream::push_request_headers() failed, the // If shrpx_downstream::push_request_headers() failed, the
// error is handled here. // error is handled here.
upstream->remove_downstream(downstream); upstream->remove_downstream(downstream);
// downstrea was deleted // downstream was deleted
// How to test this case? Request sufficient large download // How to test this case? Request sufficient large download
// and make client send RST_STREAM after it gets first DATA // and make client send RST_STREAM after it gets first DATA