Commit Graph

1 Commits (70bc2e32af8a0215b5e1e4e83fb1c00a457cf663)

Author SHA1 Message Date
Simen Brekken 4b0e36810a net: register net.Server callback only once
Only register once for listening when passing a callback to Server.listen(),
this prevents servers recycled using close() from invoking the callback when
Server.listen() is called later.
2011-10-13 16:09:14 +02:00