summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-07-14 23:30:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-07-14 23:30:01 +0200
commit9e9f0c49983bd1b10a518d08fb3f2223df4b542f (patch)
tree303205ed770de0ddba64acd54eba218c174afaf1
parent4ae2c93fc7dfd80da8f6a17ef863519e2333c9c6 (diff)
downloadcurl-bagder/CURL_PUSH_ERROROUT.tar.gz
Assisted-by: Erik Johansson
-rw-r--r--lib/http2.c2
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);