-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.
Description
- Version: 7.7.2
- Platform: Linux ip-172-31-25-224 4.4.0-53-generic may be it's good idea go tell something about this fork? #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem:
net.Socket.prototype.connect should work fine without callback (connectionListener) according to doc
but it's working like this
> (new net.Socket()).connect({ host:'google.com', port:80 })
TypeError: "listener" argument must be a function
at Socket.once (events.js:307:11)
at Socket.connect (net.js:943:10)
at repl:1:20
at ContextifyScript.Script.runInThisContext (vm.js:23:33)
at REPLServer.defaultEval (repl.js:336:29)
at bound (domain.js:280:14)
at REPLServer.runBound [as eval] (domain.js:293:12)
at REPLServer.onLine (repl.js:533:10)
at emitOne (events.js:101:20)
at REPLServer.emit (events.js:191:7)
related PR: #11667
pkeuter, fcanela, zignd, NatalieWolfe, andenis and 2 more
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.