Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index da91d6ce1104882311610b724f68c789f262ebc5..e1048324751292bbdf3f583d5bea90e7d12f61b8 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -2695,6 +2695,8 @@ void SpdySession::OnGoAway(SpdyStreamId last_accepted_stream_id, |
if (error_code == ERROR_CODE_HTTP_1_1_REQUIRED) { |
// TODO(bnc): Record histogram with number of open streams capped at 50. |
DoDrainSession(ERR_HTTP_1_1_REQUIRED, "HTTP_1_1_REQUIRED for stream."); |
+ } else if (error_code == ERROR_CODE_NO_ERROR) { |
Zhongyi Shi
2017/04/19 00:40:28
I am not familiar with SPDY code, but according to
Bence
2017/04/19 12:12:15
Excellent questions.
In StartGoingAway() there is
Zhongyi Shi
2017/04/19 17:19:18
Ah, I see, thanks for the clarification and code w
|
+ StartGoingAway(last_accepted_stream_id, ERR_SPDY_SERVER_REFUSED_STREAM); |
} else { |
StartGoingAway(last_accepted_stream_id, ERR_ABORTED); |
} |