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

Use more specified context in reading and writing data through network/websocket #18

Merged
merged 4 commits into from
Aug 4, 2020

Conversation

genshen
Copy link
Owner

@genshen genshen commented Aug 4, 2020

No description provided.

…imeout ctx in establish instead

In establish function of ProxyEstablish interface, we donot pass context to establish, instead, we
setup timeout context in establish function for usage.
…client to send data to server

In establish, use cancel context to send establish message to server; in http proxy client, use
cancel context for writing TagNoMore message to server and use background context to copy data
from user side(e.g browser, curl) to server.
@genshen genshen merged commit 1e8e62a into master Aug 4, 2020
@genshen genshen deleted the feature-more-specified-context branch August 4, 2020 11:35
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.

1 participant