Commit 1b5eba83 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa Committed by Daniel Stenberg
Browse files

http2: Use nghttp2 library error code for error return value

parent ddb106d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -721,7 +721,7 @@ static int on_header(nghttp2_session *session, const nghttp2_frame *frame,
      if(!headp) {
        free(stream->push_headers);
        stream->push_headers = NULL;
        return 1;
        return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE;
      }
      stream->push_headers = headp;
    }