Added spdylay_submit_goaway()
This commit is contained in:
parent
aed626bfa5
commit
31aff01697
|
@ -296,6 +296,8 @@ int spdylay_submit_response(spdylay_session *session,
|
||||||
|
|
||||||
int spdylay_submit_ping(spdylay_session *session);
|
int spdylay_submit_ping(spdylay_session *session);
|
||||||
|
|
||||||
|
int spdylay_submit_goaway(spdylay_session *session);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1149,6 +1149,11 @@ int spdylay_submit_ping(spdylay_session *session)
|
||||||
spdylay_session_get_next_unique_id(session));
|
spdylay_session_get_next_unique_id(session));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int spdylay_submit_goaway(spdylay_session *session)
|
||||||
|
{
|
||||||
|
return spdylay_session_add_goaway(session, session->last_recv_stream_id);
|
||||||
|
}
|
||||||
|
|
||||||
int spdylay_submit_response(spdylay_session *session,
|
int spdylay_submit_response(spdylay_session *session,
|
||||||
int32_t stream_id, const char **nv,
|
int32_t stream_id, const char **nv,
|
||||||
spdylay_data_provider *data_prd)
|
spdylay_data_provider *data_prd)
|
||||||
|
|
Loading…
Reference in New Issue