mirror of https://github.com/lukechilds/node.git
Browse Source
When socket, passed in `tls.connect()` `options` argument is not yet connected to the server, `_handle` gets assigned to a `net.Socket`, instead of `TLSSocket`. When socket is connecting to the remote server (i.e. not yet connected, but already past dns resolve phase), derive `_connecting` property from it, because otherwise `afterConnect()` will throw an assertion. fix #6443v0.11.9-release
2 changed files with 36 additions and 13 deletions
Loading…
Reference in new issue