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
236 stars 69 forks source link

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

Closed mihui closed 2 months ago

mihui commented 3 months 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.

fix: #127