Simplify framebufmark calculation for DATA frame
This commit is contained in:
parent
6364ae1a98
commit
dbb131d13d
|
@ -1840,12 +1840,7 @@ int nghttp2_session_send(nghttp2_session *session)
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
nghttp2_private_data *frame;
|
session->aob.framebufmark = session->aob.framebuflen;
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue