Added status_code argument to spdylay_on_invalid_ctrl_recv_callback

This commit is contained in:
Tatsuhiro Tsujikawa
2012-05-09 23:10:52 +09:00
parent 649e62bd33
commit 1158de22a3
3 changed files with 8 additions and 4 deletions

View File

@@ -856,12 +856,14 @@ typedef void (*spdylay_on_ctrl_recv_callback)
* @functypedef
*
* Callback function invoked by `spdylay_session_recv()` when an
* invalid control frame is received. When this callback function is
* invoked, either RST_STREAM or GOAWAY will be sent.
* invalid control frame is received. The |status_code| is one of the
* :enum:`spdylay_status_code` and indicates the error. When this
* callback function is invoked, either RST_STREAM or GOAWAY will be
* sent.
*/
typedef void (*spdylay_on_invalid_ctrl_recv_callback)
(spdylay_session *session, spdylay_frame_type type, spdylay_frame *frame,
void *user_data);
uint32_t status_code, void *user_data);
/**
* @functypedef