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 stop reading socket interface in class TcpConnection. #170

Merged
merged 4 commits into from Nov 11, 2015

Conversation

jakoo
Copy link
Contributor

@jakoo jakoo commented Nov 10, 2015

I'm learning muduo recently, and i try to build a simple proxy with muduo.
I'm going to stop reading socket connected with client while HighWaterMark happen in TcpConnection connected with server. And restart reading socket while WriteCompelete.
But I found that there is no interface in class TcpConnection to stop reading from socket. So I added those interfaces. Hope can get your advice.

chenshuo added a commit that referenced this pull request Nov 11, 2015
Add stop reading socket interface in class TcpConnection.
@chenshuo chenshuo merged commit f3adb2d into chenshuo:master Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants