From 14d1a5a547b4fb0e729b5e6068b0801012bc9e3c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 14 Jun 2012 20:07:00 +0900 Subject: [PATCH] Reverted accidental chagnes in spdycat.cc --- examples/spdycat.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/spdycat.cc b/examples/spdycat.cc index 416c5f6..7a21ac9 100644 --- a/examples/spdycat.cc +++ b/examples/spdycat.cc @@ -269,7 +269,6 @@ void on_data_chunk_recv_callback std::map::iterator itr = spdySession->streams.find(stream_id); if(itr != spdySession->streams.end()) { - spdylay_submit_rst_stream(session, stream_id, SPDYLAY_PROTOCOL_ERROR); Request *req = (*itr).second; if(req->inflater) { while(len > 0) { @@ -388,7 +387,7 @@ void on_stream_close_callback (*itr).second->record_complete_time(); ++spdySession->complete; if(spdySession->all_requests_processed()) { - //spdylay_submit_goaway(session, SPDYLAY_GOAWAY_OK); + spdylay_submit_goaway(session, SPDYLAY_GOAWAY_OK); } } }