mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-12 04:25:09 -05:00
Fixed the bug that length parameter in on_data_send_callback includes header length.
This commit is contained in:
parent
7abf48f061
commit
97b853254a
@ -654,7 +654,7 @@ static int spdylay_session_after_frame_sent(spdylay_session *session)
|
|||||||
if(session->callbacks.on_data_send_callback) {
|
if(session->callbacks.on_data_send_callback) {
|
||||||
session->callbacks.on_data_send_callback
|
session->callbacks.on_data_send_callback
|
||||||
(session, frame->data.flags, frame->data.stream_id,
|
(session, frame->data.flags, frame->data.stream_id,
|
||||||
session->aob.framebuflen, session->user_data);
|
session->aob.framebuflen-SPDYLAY_HEAD_LEN, session->user_data);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(session->callbacks.on_ctrl_send_callback) {
|
if(session->callbacks.on_ctrl_send_callback) {
|
||||||
|
Loading…
Reference in New Issue
Block a user