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: allow async createConnection() #4638

Closed
wants to merge 1 commit into from

Commits on Feb 4, 2016

  1. http: allow async createConnection()

    This commit adds support for async createConnection()
    implementations and is still backwards compatible with
    synchronous createConnection() implementations.
    
    This commit also makes the http client more friendly with
    generic stream objects produced by createConnection() by
    checking stream.writable instead of stream.destroyed as the
    latter is currently a net.Socket-ism and not set by the core
    stream implementations.
    mscdex committed Feb 4, 2016
    Configuration menu
    Copy the full SHA
    4518b3a View commit details
    Browse the repository at this point in the history