Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(907)

Unified Diff: net/spdy/spdy_stream.cc

Issue 8230037: Send PING to check the status of the SPDY connection. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/spdy/spdy_session.cc ('K') | « net/spdy/spdy_stream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream.cc
===================================================================
--- net/spdy/spdy_stream.cc (revision 104856)
+++ net/spdy/spdy_stream.cc (working copy)
@@ -404,6 +404,10 @@
return DoLoop(OK);
}
+int SpdyStream::SendPing() {
+ return session_->WritePingFrame(stream_id_);
+}
+
int SpdyStream::WriteStreamData(IOBuffer* data, int length,
spdy::SpdyDataFlags flags) {
return session_->WriteStreamData(stream_id_, data, length, flags);
« net/spdy/spdy_session.cc ('K') | « net/spdy/spdy_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698