小明
小明
I want to write a lightweight websocket protocol implementation myself. But since I found this project, I think it's very good and easy to integrate. There is no need to...
Hello, I use your command created 20000 servers, and random sent numerous normal and error connect request to these ports. memory:
> Yes, I can reproduce that. > > It doesn't "leak", but use tremendous VIRT memory. Thanks for your answers. Yes, 69.9G is VIRT. This 9.6G physical memory (RES) is...
I have limited the buffer for each thread to 8K, so I don't think this is the problem. I listed the memory usage details through the command `pmap -x pid`:...
Yes. I was curious and tested it.
请求添加 IPv6
We have to take into account that the target DNS has different families, so I think it is better to directly implement the bind_addr option in NameServerConfig. looks like: ```...
@liulilittle 最近正在研究LWIP,遇到点小问题。。。 写入数据似乎有250ms延迟,尽管调用`tcp_nagle_disable`可以解决此问题,但时常出现`tcp_write`写入的数据不能完整发送。 具体表现为调用`tcp_write`写入`5840 Bytes`,但是只发送了一部分比如`1440`(`sent_callback`打印),其余的数据不再继续发送,像是卡主了。不调用`tcp_nagle_disable`即便跑满100Mbps也一切正常。 日志打印没找到可用的信息,不知你有遇到此问题吗?
tcp_write 和 tcp_output 这2个函数,在外部其它函数和 tcp_sent 回调中,都是依次调用的。 我不大理解,为什么`tcp_nagle_disable`会导致数据不继续发送,不调用此宏又一切正常。
嗯,谢谢建议。我目前使用的最新版2.12,抽空降到1.4试一试。 使用Xcode和valgrind检测过,暂时还没有遇到内存泄漏和crash问题。