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

http: make timeout event work with agent timeout #25488

Closed
wants to merge 1 commit into from

Commits on Jan 21, 2019

  1. http: make timeout event work with agent timeout

    The `'timeout'` event is currently not emitted on the `ClientRequest`
    instance when the socket timeout expires if only the `timeout` option
    of the agent is set. This happens because, under these circumstances,
    `listenSocketTimeout()` is not called.
    
    This commit fixes the issue by calling it also when only the agent
    `timeout` option is set.
    lpinca committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    772c28b View commit details
    Browse the repository at this point in the history