Commit 10feab02 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix bufoff_ptr if no padding is made

parent 9c30ed1a
......@@ -4077,7 +4077,7 @@ ssize_t nghttp2_session_pack_data(nghttp2_session *session,
frame->padlen = rv;
frame->hd.length = payloadlen + rv;
} else {
*bufoff_ptr = 0;
*bufoff_ptr = 2;
frame->padlen = 0;
frame->hd.length = payloadlen;
}
......
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