Commit 4c150ca0 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

net: fix listen() regression, revert patches

This commit reverts the following commits (in reverse chronological order):

  74d076ca errnoException must be done immediately
  ddb02b97 net: support Server.listen(Pipe)
  085a0987 cluster: do not use internal server API
  d1388751 net: lazy listen on handler

Commit d1388751 introduced a backwards incompatible change that broke the
simple/test-net-socket-timeout and simple/test-net-lazy-listen tests - it
defers listening on the target port until the `net.Server` instance has at
least one 'connection' event listener.

The other patches had to be reverted in order to revert d1388751.

Fixes #3832.
parent 7b367a93
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment