From b912b626cd2d904e2a644a3e7f523b29e7fa9575 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 31 Aug 2019 17:33:00 +0900 Subject: [PATCH] Fix return value --- src/h2load_quic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h2load_quic.cc b/src/h2load_quic.cc index a010a682..c43ab310 100644 --- a/src/h2load_quic.cc +++ b/src/h2load_quic.cc @@ -106,7 +106,7 @@ int recv_stream_data(ngtcp2_conn *conn, int64_t stream_id, int fin, // TODO Better to do this gracefully rather than // NGTCP2_ERR_CALLBACK_FAILURE. Perhaps, call // ngtcp2_conn_write_application_close() ? - return -1; + return NGTCP2_ERR_CALLBACK_FAILURE; } return 0; }