fix read of undefined in http tests

This commit is contained in:
xdBronch 2025-10-04 19:33:26 -04:00 committed by Alex Rønne Petersen
parent 7c87691a61
commit ea9fb3ccfa

View File

@ -1105,8 +1105,8 @@ fn createTestServer(S: type) !*TestServer {
const test_server = try std.testing.allocator.create(TestServer);
test_server.* = .{
.net_server = try address.listen(.{ .reuse_address = true }),
.server_thread = try std.Thread.spawn(.{}, S.run, .{test_server}),
.shutting_down = false,
.server_thread = try std.Thread.spawn(.{}, S.run, .{test_server}),
};
return test_server;
}