kylefarris / clamscan

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

Fixed the issue that the socket is closed too early (#127) #129

Closed kylefarris closed 1 month ago

kylefarris commented 1 month ago

The purpose is to prevent the socket from being closed early before the socket data is coming back, especially it happens between local hosted app and ClamAV server hosted from the local Docker container that can be reproduced every time.

Fixes #127

Thank you @mihui