summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/search.py
diff options
context:
space:
mode:
authorFrank de Brabander <debrabander@gmail.com>2022-10-18 18:37:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-09 17:42:08 +0000
commit1e35d3a86b18c1aff9abf170edbd850b86a8d5cc (patch)
tree90f9115de29dde1e7af6d4fc1a16fb4c12d44cfb /scripts/lib/devtool/search.py
parent94d917219993b45b9d69a87aba1b69a6ca8f4d1e (diff)
downloadpoky-1e35d3a86b18c1aff9abf170edbd850b86a8d5cc.tar.gz
cve-update-db-native: add timeout to urlopen() calls
The urlopen() call can block indefinitely under some circumstances. This can result in the bitbake process to run endlessly because of the 'do_fetch' task of cve-update-bb-native to remain active. This adds a default timeout of 60 seconds to avoid this hang, while being large enough to minimize the risk of unwanted timeouts. (From OE-Core rev: 28497b96346a669ba0ed3873cc40bc3ade611251) Signed-off-by: Frank de Brabander <debrabander@gmail.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e5f6652854f544106b40d860de2946954de642f3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/search.py')
0 files changed, 0 insertions, 0 deletions