diff options
author | Bradley M. Kuhn <bkuhn@ebb.org> | 2010-08-08 02:51:20 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-08 02:51:20 +0200 |
commit | c97131c2af832f03e769a12b2a95e4de86c5858f (patch) | |
tree | 6bb49cd582b75953c822431162a94809a9539918 /networking/Config.src | |
parent | 33bbb27e45c7c6a0fecb40b3a5aa36aef69825f9 (diff) | |
download | busybox-w32-c97131c2af832f03e769a12b2a95e4de86c5858f.tar.gz busybox-w32-c97131c2af832f03e769a12b2a95e4de86c5858f.tar.bz2 busybox-w32-c97131c2af832f03e769a12b2a95e4de86c5858f.zip |
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>
Diffstat (limited to 'networking/Config.src')
-rw-r--r-- | networking/Config.src | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/networking/Config.src b/networking/Config.src index 8604c53e9..1d9a33f2b 100644 --- a/networking/Config.src +++ b/networking/Config.src | |||
@@ -1012,6 +1012,18 @@ config FEATURE_WGET_LONG_OPTIONS | |||
1012 | help | 1012 | help |
1013 | Support long options for the wget applet. | 1013 | Support long options for the wget applet. |
1014 | 1014 | ||
1015 | config FEATURE_WGET_TIMEOUT | ||
1016 | bool "Enable timeout options" | ||
1017 | default n | ||
1018 | depends on WGET | ||
1019 | help | ||
1020 | Supports network read timeout for wget, so that wget will give | ||
1021 | up and timeout when reading network data, through the -T command | ||
1022 | line option. Currently only network data read timeout is | ||
1023 | supported (i.e., timeout is not applied to the DNS nor TCP | ||
1024 | connection initialization). When FEATURE_WGET_LONG_OPTIONS is | ||
1025 | also enabled, the --timeout option will work in addition to -T. | ||
1026 | |||
1015 | config ZCIP | 1027 | config ZCIP |
1016 | bool "zcip" | 1028 | bool "zcip" |
1017 | default y | 1029 | default y |