monkeyWie / proxyee

HTTP proxy server,support HTTPS&websocket.MITM impl,intercept and tamper HTTPS traffic.
MIT License
1.51k stars 566 forks source link

Server Bootstrap和Client Bootstrap共用EventLoopGroup #163

Open siwee opened 3 years ago

siwee commented 3 years ago

目前ServerBootstrap和Bootstrap是各自使用单独的EventLoopGroup;这应该可以优化一下,使之公用一个EventLoopGroup,并不会产生性能问题。但是不知道原先如此设计的其他特殊用意了。

monkeyWie commented 3 years ago

我记得之前开发的时候共用一个线程池好像会报错,所以就分开了

siwee commented 3 years ago

哦好吧,那我再尝试一下。有问题再请教哈

siwee commented 3 years ago

重复的问题 #35

monkeyWie commented 3 years ago

嗯 你试试看,可以的话麻烦提交个pr过来