Commit 4b0e3681 authored by Simen Brekken's avatar Simen Brekken Committed by Ben Noordhuis
Browse files

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.
parent fab68aa1
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