Commit be1c6bb9 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Removed commented send()

parent c04c09ff
...@@ -516,7 +516,6 @@ int SpdyUpstream::on_downstream_header_complete(Downstream *downstream) ...@@ -516,7 +516,6 @@ int SpdyUpstream::on_downstream_header_complete(Downstream *downstream)
spdylay_submit_response(session_, downstream->get_stream_id(), nv, spdylay_submit_response(session_, downstream->get_stream_id(), nv,
&data_prd); &data_prd);
delete [] nv; delete [] nv;
//send();
return 0; return 0;
} }
...@@ -529,7 +528,6 @@ int SpdyUpstream::on_downstream_body(Downstream *downstream, ...@@ -529,7 +528,6 @@ int SpdyUpstream::on_downstream_body(Downstream *downstream,
evbuffer *body = downstream->get_response_body_buf(); evbuffer *body = downstream->get_response_body_buf();
evbuffer_add(body, data, len); evbuffer_add(body, data, len);
spdylay_session_resume_data(session_, downstream->get_stream_id()); spdylay_session_resume_data(session_, downstream->get_stream_id());
//send();
size_t bodylen = evbuffer_get_length(body); size_t bodylen = evbuffer_get_length(body);
if(bodylen > SHRPX_SPDY_UPSTREAM_OUTPUT_UPPER_THRES) { if(bodylen > SHRPX_SPDY_UPSTREAM_OUTPUT_UPPER_THRES) {
...@@ -545,7 +543,6 @@ int SpdyUpstream::on_downstream_body_complete(Downstream *downstream) ...@@ -545,7 +543,6 @@ int SpdyUpstream::on_downstream_body_complete(Downstream *downstream)
LOG(INFO) << "<downstream> on_downstream_body_complete"; LOG(INFO) << "<downstream> on_downstream_body_complete";
} }
spdylay_session_resume_data(session_, downstream->get_stream_id()); spdylay_session_resume_data(session_, downstream->get_stream_id());
//send();
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment