nghttpx: SpdyUpstream: Handle error from error_reply
This commit is contained in:
parent
4b58b25c19
commit
68510f1282
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue