Handle server restarts (SIGHUP) cleanly even with Net::Server 0.99
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 20 Apr 2011 05:37:06 +0000 (01:37 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 20 Apr 2011 05:37:06 +0000 (01:37 -0400)
commitca912dd7da426f083100096a009ef5064479d45b
tree6167de86627250080788d3498a7274b4efe005e3
parent50f3e3f7149c3e880f364c07938df61b83abc659
Handle server restarts (SIGHUP) cleanly even with Net::Server 0.99

With Net::Server 0.97, the old code was working.  With Net::Server
0.99, @{ $server->{server}->{sock} }[0]->sockport() was returning
undef() after a HUP.

The simple solution is that we don't try to re-set the port at all
after a SIGHUP.
Crypt/Monkeysphere/MSVA.pm