Commit dbb131d1 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Simplify framebufmark calculation for DATA frame

parent 6364ae1a
......@@ -1840,12 +1840,7 @@ int nghttp2_session_send(nghttp2_session *session)
return r;
}
} else {
nghttp2_private_data *frame;
frame = nghttp2_outbound_item_get_data_frame(session->aob.item);
/* session->aob.framebufmark = session->aob.framebuflen; */
session->aob.framebufmark =
session->aob.framebufoff + NGHTTP2_FRAME_HEAD_LENGTH +
frame->hd.length;
session->aob.framebufmark = session->aob.framebuflen;
}
}
......
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