Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http: remove redundant code in _deferToConnect
Logic for calling the passed in socket method and/or callback was duplicated. This commit refactors the relevant code to remove the redundancy. PR-URL: #2769 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
- Loading branch information