Skip to content

Commit

Permalink
Merge pull request #611 from JuliaWeb/jq/610
Browse files Browse the repository at this point in the history
If server is provided, log correct host/port; fixes #610
  • Loading branch information
quinnj authored Oct 30, 2020
2 parents 70c7aa7 + a5680d8 commit 1e93ac4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Servers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ function listen(f,
inet = getinet(host, port)
if server !== nothing
tcpserver = server
host, port = getsockname(server)
elseif reuseaddr
tcpserver = Sockets.TCPServer(; delay=false)
if Sys.isunix()
Expand Down

0 comments on commit 1e93ac4

Please sign in to comment.