mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 03:34:48 +00:00
Don't reuse address
This was a temporary workaround for when I was not cleanly exiting. Now that I am, this is not necessary.
This commit is contained in:
@@ -61,7 +61,7 @@ pub fn start(server: *Server, io: Io, gpa: Allocator) !void {
|
||||
var tcp_server = try IpAddress.listen(try IpAddress.parse(
|
||||
server.info.host,
|
||||
server.info.port,
|
||||
), io, .{ .reuse_address = true });
|
||||
), io, .{});
|
||||
defer tcp_server.deinit(io);
|
||||
log.debug("Server headers: {s}", .{if (server.info.headers) "true" else "false"});
|
||||
log.debug("Server max payload: {d}", .{server.info.max_payload});
|
||||
|
||||
Reference in New Issue
Block a user