Skip to content
New issue

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

Add and expose enableRead()/disableRead(), startRead()/stopRead() functions #233

Open
gonwan opened this issue Nov 7, 2022 · 0 comments

Comments

@gonwan
Copy link

gonwan commented Nov 7, 2022

Just tried to use and implement simple tcp proxy server: https://github.com/gonwan/toys/tree/master/webframework-benchmark/trantor-proxy
The trantor library is super fast, and one api issue. For applications like proxy(tunnel, replay etc...), it's better to have the control of socket readability, which is supported by moduo: https://github.com/chenshuo/muduo/blob/a55abc2158d381fced580d7a6c66be06b771c5da/examples/socks4a/tcprelay.cc#L21 . Please add/expose these functions if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants