Renamed spdylay_submit_cancel() as spdylay_submit_rst_stream().
This commit is contained in:
parent
c1aefb3ba5
commit
e7e2c69526
|
@ -455,11 +455,11 @@ int spdylay_submit_data(spdylay_session *session, int32_t stream_id,
|
||||||
uint8_t flags, spdylay_data_provider *data_prd);
|
uint8_t flags, spdylay_data_provider *data_prd);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Submits RST_STREAM frame to cancel/reset stream |stream_id| with
|
* Submits RST_STREAM frame to cancel/reject stream |stream_id| with
|
||||||
* status code |status_code|. This function returns 0 if it succeeds,
|
* status code |status_code|. This function returns 0 if it succeeds,
|
||||||
* or negative error code.
|
* or negative error code.
|
||||||
*/
|
*/
|
||||||
int spdylay_submit_cancel(spdylay_session *session, int32_t stream_id,
|
int spdylay_submit_rst_stream(spdylay_session *session, int32_t stream_id,
|
||||||
uint32_t status_code);
|
uint32_t status_code);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -33,7 +33,7 @@ int spdylay_submit_ping(spdylay_session *session)
|
||||||
spdylay_session_get_next_unique_id(session));
|
spdylay_session_get_next_unique_id(session));
|
||||||
}
|
}
|
||||||
|
|
||||||
int spdylay_submit_cancel(spdylay_session *session, int32_t stream_id,
|
int spdylay_submit_rst_stream(spdylay_session *session, int32_t stream_id,
|
||||||
uint32_t status_code)
|
uint32_t status_code)
|
||||||
{
|
{
|
||||||
return spdylay_session_add_rst_stream(session, stream_id, status_code);
|
return spdylay_session_add_rst_stream(session, stream_id, status_code);
|
||||||
|
|
Loading…
Reference in New Issue