Index: net/spdy/spdy_session.h |
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
index 862918b00b49a0b9d582658fe9fcc93f94971b49..06dfae6e4d81fe098aff6ec8cf60a91e4bed4cca 100644 |
--- a/net/spdy/spdy_session.h |
+++ b/net/spdy/spdy_session.h |
@@ -511,6 +511,10 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
return buffered_spdy_framer_->GetDataFrameMaximumPayload(); |
} |
+ static int32 GetInitialWindowSize(NextProto protocol) { |
+ return protocol < kProtoSPDY4MinimumVersion ? 65536 : 65535; |
+ } |
+ |
// https://http2.github.io/http2-spec/#TLSUsage mandates minimum security |
// standards for TLS. |
bool HasAcceptableTransportSecurity() const; |