Open DeepDiver1975 opened 1 year ago
@jnweiger slightly related:
https://github.com/owncloud/files_antivirus/blob/b01b8691a5d5f5ef17bab33daa78b3ee18088c16/lib/Scanner/ICAPScanner.php#L32-L34
Such implementation will finally put the entire file content into RAM at the OC side. Which is basically a suboptimal approach. onAsyncData method is supposed to send the data to the external scanner immediately instead of storing it.
onAsyncData
_Originally posted by @VicDeo in https://github.com/owncloud/files_antivirus/issues/437#issuecomment-839859084_
https://github.com/owncloud/files_antivirus/blob/b01b8691a5d5f5ef17bab33daa78b3ee18088c16/lib/Scanner/ICAPScanner.php#L32-L34
Such implementation will finally put the entire file content into RAM at the OC side. Which is basically a suboptimal approach.
onAsyncData
method is supposed to send the data to the external scanner immediately instead of storing it._Originally posted by @VicDeo in https://github.com/owncloud/files_antivirus/issues/437#issuecomment-839859084_