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

fix: https connect timeout #100

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

stefan-guggisberg
Copy link
Contributor

fixes TLS connection timeout handling.

Example:

  const { context } = require('fetch-h2');
  const { fetch } = context({ session: { timeout: 500 } });
  fetch('https://example.com:81/').catch{(err) => console.log(err));
  // prints "connect timed out after 500 ms"

partial (https only) fix for #99

@stefan-guggisberg
Copy link
Contributor Author

@grantila Could you please have a look at this PR and #99 ? It's a serious problem for us.

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