Commit Graph

1 Commits (3b852d7faba82d5ec2367939ecc98c3ab03cb2e6)

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