nghttpx: Fix veccnt assertion

This commit is contained in:
Tatsuhiro Tsujikawa 2021-08-17 22:40:41 +09:00
parent 3abf62b41a
commit c45f2085d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);