You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are implementing dumping by packetcount based on filter by port. The call to listener.gotPacket(handle.getNextPacketEx()) keeps on listening for packets. There's a readtimeout too, but the call is stuck at listener.gotPacket(handle.getNextPacketEx()). We have already tried putting handle.close() in various places like finally,etc but it never gets closed. If we are sending packet traffic manually through postman at given port, then the packets get dumped and handle & dumper both get closed and work fine. Please suggest how to close the handle when there is no traffic. Again, we have kept readtimeout of 20 seconds but that also doesnt work. Following is the code we have written -
if (dumper.isOpen()) {
listener.gotPacket(handle.getNextPacketEx());
}
The text was updated successfully, but these errors were encountered:
We are implementing dumping by packetcount based on filter by port. The call to listener.gotPacket(handle.getNextPacketEx()) keeps on listening for packets. There's a readtimeout too, but the call is stuck at listener.gotPacket(handle.getNextPacketEx()). We have already tried putting handle.close() in various places like finally,etc but it never gets closed. If we are sending packet traffic manually through postman at given port, then the packets get dumped and handle & dumper both get closed and work fine. Please suggest how to close the handle when there is no traffic. Again, we have kept readtimeout of 20 seconds but that also doesnt work. Following is the code we have written -
The text was updated successfully, but these errors were encountered: