-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved error handling, improved configuration capabilities, added n…
…etwork socket capability to clamav.py
- Loading branch information
1 parent
2495f30
commit 57be530
Showing
4 changed files
with
48 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# Config File # | ||
import os | ||
|
||
upload_size_limit = 104857600 | ||
clamd_host = "localhost" | ||
clamd_port = 3310 | ||
clamd_conn = os.environ.get('CLAMD_CONN', "net") # 'net' or 'socket' | ||
clamd_socket = "/tmp/clamd.socket" | ||
clamd_host = "127.0.0.1" | ||
clamd_port = 3310 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters