diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-07-14 23:30:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-07-14 23:30:01 +0200 |
commit | 9e9f0c49983bd1b10a518d08fb3f2223df4b542f (patch) | |
tree | 303205ed770de0ddba64acd54eba218c174afaf1 | |
parent | 4ae2c93fc7dfd80da8f6a17ef863519e2333c9c6 (diff) | |
download | curl-bagder/CURL_PUSH_ERROROUT.tar.gz |
fixup assertbagder/CURL_PUSH_ERROROUT
Assisted-by: Erik Johansson
-rw-r--r-- | lib/http2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c index fc88a2dce..e4fa9b0b3 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -742,7 +742,7 @@ static int on_frame_recv(nghttp2_session *session, const nghttp2_frame *frame, rv = push_promise(data_s, conn, &frame->push_promise); if(rv) { /* deny! */ int h2; - DEBUGASSERT((rv > CURL_PUSH_OK) && (rv < CURL_PUSH_ERROROUT)); + DEBUGASSERT((rv > CURL_PUSH_OK) && (rv <= CURL_PUSH_ERROROUT)); h2 = nghttp2_submit_rst_stream(session, NGHTTP2_FLAG_NONE, frame->push_promise.promised_stream_id, NGHTTP2_CANCEL); |