Commit e2edcc50 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix veccnt assertion

parent 739dd025
......@@ -907,7 +907,7 @@ nghttp3_ssize downstream_read_data_callback(nghttp3_conn *conn,
veccnt = body->riovec_mark(reinterpret_cast<struct iovec *>(vec), veccnt);
assert(veccnt);
assert((*pflags & NGHTTP3_DATA_FLAG_EOF) || veccnt);
downstream->response_sent_body_length += nghttp3_vec_len(vec, veccnt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment