Fix reconnection

Was failing to reconnect due to trying to reuse the same socket that
already had a BPF filter on it.
This commit is contained in:
2026-01-24 19:19:00 -05:00
parent c3b17f8267
commit 09152377ed
5 changed files with 20 additions and 15 deletions

View File

@@ -12,10 +12,6 @@ pub fn init(socket: RawSocket, headers: EthIpUdp, connection: SaprusMessage) Con
};
}
pub fn deinit(self: *Connection) void {
self.socket.deinit();
}
pub fn next(self: Connection, io: Io, buf: []u8) ![]const u8 {
_ = io;
log.debug("Awaiting connection message", .{});