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

Suggest NetDialTimeout be part of Dialer NOT Global #40

Open
krolaw opened this issue Dec 13, 2018 · 2 comments
Open

Suggest NetDialTimeout be part of Dialer NOT Global #40

krolaw opened this issue Dec 13, 2018 · 2 comments

Comments

@krolaw
Copy link

krolaw commented Dec 13, 2018

For systems like Google's app engine (standard), out going sockets need a context (per incoming http connection). see: https://godoc.org/google.golang.org/appengine/socket
This makes it really hard when the netDialout command is global, since simultaneous requests are coming in. It's much more practical than before though.

@ivy
Copy link

ivy commented Jan 9, 2019

@krolaw Agreed. I would accept a pull request adding a NetDialTimeout field to Dialer and using the global NetDialTimeout as a fallback.

Edit: I see you've already done this in PR #41. I'll review and see if we can get this merged. 😄

@krolaw
Copy link
Author

krolaw commented May 31, 2019

Hi, any movement on this? Thanks.

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

No branches or pull requests

2 participants