╭ changed ───────╮ │src/test/ssh.zig│ ╰────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────╮ │409 try proto.writeU32(&pkt, allocator, server_channel_id); │ │410 try cs_cipher.writePacket(io, allocator, cw, pkt.items); │ │411 } │ │412 + │ │413 + // simulate the client's TCP FIN so the server's teardown drain reads EOF│ │414 + // and returns instead of blocking on a packet that never arrives. │ │415 + c2s.close(io); │ │416 │ │417 server_future.await(io); │ │418 try std.testing.expect(server.result == null); │ ╰──────────────────────────────────────────────────────────────────────────────────╯