mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 10:38:53 +08:00
nghttpx: SpdyUpstream: Handle error from error_reply
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user