增加HTTP-Kill/TCP-Kill功能

This commit is contained in:
luqiuwen
2018-12-09 21:20:24 +06:00
parent 5ebceac0c0
commit fd09f249b6
8 changed files with 52 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ void tfe_stream_resume(const struct tfe_stream * stream);
//close both sides of the stream.
int tfe_stream_shutdown(const struct tfe_stream * stream);
int tfe_stream_shutdown_dir(const struct tfe_stream * stream, enum tfe_conn_dir dir);
void tfe_stream_kill(const struct tfe_stream * stream);
/**
* @brief Write linear text for given stream