wget: implement -T SEC; rework progress meter to not use signals (it was unsafe)
function old new delta retrieve_file_data 364 450 +86 bb_progress_update 615 682 +67 packed_usage 27406 27422 +16 wget_main 2440 2453 +13 static.wget_longopts 145 155 +10 progress_meter 199 159 -40 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/1 up/down: 192/-40) Total: 152 bytes Signed-off-by: Bradley M. Kuhn <bkuhn@ebb.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
33bbb27e45
commit
c97131c2af
@@ -1012,6 +1012,18 @@ config FEATURE_WGET_LONG_OPTIONS
|
||||
help
|
||||
Support long options for the wget applet.
|
||||
|
||||
config FEATURE_WGET_TIMEOUT
|
||||
bool "Enable timeout options"
|
||||
default n
|
||||
depends on WGET
|
||||
help
|
||||
Supports network read timeout for wget, so that wget will give
|
||||
up and timeout when reading network data, through the -T command
|
||||
line option. Currently only network data read timeout is
|
||||
supported (i.e., timeout is not applied to the DNS nor TCP
|
||||
connection initialization). When FEATURE_WGET_LONG_OPTIONS is
|
||||
also enabled, the --timeout option will work in addition to -T.
|
||||
|
||||
config ZCIP
|
||||
bool "zcip"
|
||||
default y
|
||||
|
Reference in New Issue
Block a user