Commit b270d19a authored by David Johnson's avatar David Johnson

Set SO_REUSEADDR.

parent a61cbe7b
......@@ -116,7 +116,8 @@ if ($TOKEN eq "") {
# secure enough to be open to the world
#
my $listen_socket = HTTP::Daemon->new(LocalAddr => 'localhost',
LocalPort => $PORT) || die;
LocalPort => $PORT,
ReuseAddr => 1) || die;
print "gitmaild running at: ", $listen_socket->url, "\n";
# This causes children to be auto-reaped
......
Markdown is supported
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