Skip to content
Commit f51a6742 authored by Frank de Brabander's avatar Frank de Brabander Committed by Steve Sakoman
Browse files

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.

Signed-off-by: default avatarFrank de Brabander <debrabander@gmail.com>
Signed-off-by: default avatarRoss Burton <ross.burton@arm.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f66528)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent ac4476e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment