eproxy icon indicating copy to clipboard operation
eproxy copied to clipboard

Simple zero copy TCP proxy

Results 4 eproxy issues
Sort by recently updated
recently updated
newest added

==20381== Process terminating with default action of signal 11 (SIGSEGV) ==20381== Access not within mapped region at address 0x100108 ==20381== at 0x404BB6: __list_del (list.h:91) ==20381== by 0x404BEC: list_del (list.h:97)

因为每次都会讲conn和other添加至全局链表,在关闭过程中遍历链表,此处不应释放两次 ```c void closeconn(int efd, struct conn *conn) { if (conn->other) delconn(efd, conn->other); delconn(efd, conn); } ``` 应该为: ```c void closeconn(int efd, struct conn *conn) { delconn(efd, conn); } ```

```c if (nfds < 0) { perror("epoll"); continue; } ``` 应该改为`if (nfds

Seriously looking at your code, harvesting a lot, About defining EpollOut, Whether the performance is affected.