Skip to content

Commit

Permalink
fix crash from binding same port
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Jul 15, 2024
1 parent 32cbf73 commit 2cd59bb
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ internal data object ConnectionServer {

socket.bind(socketAddress) {
reuseAddress = true
reusePort = true
}.accept().use { boundSocket ->
suspendCatching {
val readChannel = boundSocket.openReadChannel()
Expand Down

0 comments on commit 2cd59bb

Please sign in to comment.