diff options
author | Frank de Brabander <debrabander@gmail.com> | 2022-10-18 18:37:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-25 13:42:03 +0100 |
commit | 180de83da8ac66c2a66465d739896617056b9d0a (patch) | |
tree | 900a8dd19e88ecdfe848bba3760ae32467e46d7b /LICENSE.MIT | |
parent | ee9db0d1fdb13c333cabe36b94c97bbc19319e1f (diff) | |
download | poky-180de83da8ac66c2a66465d739896617056b9d0a.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: e5f6652854f544106b40d860de2946954de642f3)
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>
Diffstat (limited to 'LICENSE.MIT')
0 files changed, 0 insertions, 0 deletions