A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
MIT License
230
stars
68
forks
source link
Add check: if server closes the connection before PONG #95
In some scenarios, the server can enter a state where even though it accepts connection, it closes it and doesn't reply with PONG when you send the PING
Specially when clamav has trouble downloading database updates (due to rate-limiting imposed by clam-av)
Working scenario:
Scenario where it breaks:
(connection gets closed prematurely)
In some scenarios, the server can enter a state where even though it accepts connection, it closes it and doesn't reply with
PONG
when you send thePING
Specially when clamav has trouble downloading database updates (due to rate-limiting imposed by clam-av)
Working scenario:![image](https://user-images.githubusercontent.com/8508500/156469300-e6e32838-3ce8-423e-ad77-ed5f46995268.png)
Scenario where it breaks:
(connection gets closed prematurely)