]> git.ipfire.org Git - thirdparty/suricata-update.git/commit
Add timeout of 30 sec for all GET requests
authorShivani Bhardwaj <shivanib134@gmail.com>
Tue, 22 Jan 2019 15:49:37 +0000 (21:19 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Tue, 26 Mar 2019 18:02:00 +0000 (23:32 +0530)
commit5e6883beb1ec0a6bb6c8ea60f753bdecc1ce351d
tree929d1113a31b6714e2859276ec8cf45c01b1053e
parent3e079634849dc9697aba7633cc1ee50bb9bf5423
Add timeout of 30 sec for all GET requests

suricata-update has been reported to get hung in case the download fails
for a particular source. Add a timeout parameter to urllib to avoid that
and continue further processing after a timeout of 30 seconds.

Closes redmine ticket #2703.
suricata/update/net.py