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

A try to solve timeouts on TCP sockets #182

Closed
wants to merge 2 commits into from

Conversation

petrpulc
Copy link

If network connection is interrupted, LDAP library hangs up for internal system timeout (70 something seconds) which is too long for interactive applications. This is a possible draft of solution, however now the time bottleneck is on address resolution which hangs after ~10 seconds.

@petrpulc
Copy link
Author

@jch
Copy link
Member

jch commented Dec 22, 2014

@petrpulc thanks for the pull, but @mtodd already has a PR in progress with the same functionality #167. It'd be helpful if you could put another pair of eyes on that to help review.

@jch jch closed this Dec 22, 2014
@mtodd
Copy link
Member

mtodd commented Dec 22, 2014

Thanks for opening this up @petrpulc!

As @jch mentions, I've opened a PR (#164, not #167 though it's related) and would really appreciate another pair of eyes reviewing it. We also need to figure out a testing strategy, so any thoughts you have there would help. Feel free to open a PR against that PR if you have any changes you'd like to incorporate.

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.

3 participants