Commit 68510f12 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: SpdyUpstream: Handle error from error_reply

parent 4b58b25c
...@@ -170,7 +170,9 @@ void on_ctrl_recv_callback(spdylay_session *session, spdylay_frame_type type, ...@@ -170,7 +170,9 @@ void on_ctrl_recv_callback(spdylay_session *session, spdylay_frame_type type,
} }
if (downstream->index_request_headers() != 0) { if (downstream->index_request_headers() != 0) {
upstream->error_reply(downstream, 400); if (upstream->error_reply(downstream, 400) != 0) {
ULOG(FATAL, upstream) << "error_reply failed";
}
return; return;
} }
......
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