We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tcp/http/websocket我想发完本次消息后立即关闭本连接,tcp/websocket我就是想发完本消息后就关闭掉,http我是想就做成one-shot的服务,不要有一堆的其他关闭中的状态,很耗。请问如何实现呢?libevent/libuv都有这个坑,发完直接调close会出问题,要改中间封装层或者源码才行。
The text was updated successfully, but these errors were encountered:
c版本hio_close(io) c++版本Channel::close WebSocketChannel::close 以上接口都是线程安全的,在其他线程调用,会post到io所在线程去执行 http头部设置Connection: Close的就是one-shot的,一次请求响应后内部就close掉了
Sorry, something went wrong.
非常感谢!我试试!这么好用的话果断换了
No branches or pull requests
tcp/http/websocket我想发完本次消息后立即关闭本连接,tcp/websocket我就是想发完本消息后就关闭掉,http我是想就做成one-shot的服务,不要有一堆的其他关闭中的状态,很耗。请问如何实现呢?libevent/libuv都有这个坑,发完直接调close会出问题,要改中间封装层或者源码才行。
The text was updated successfully, but these errors were encountered: