net, net-lwip: wget: suppress console output when called by EFI
authorJerome Forissier <jerome.forissier@linaro.org>
Thu, 17 Apr 2025 13:26:58 +0000 (15:26 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Tue, 20 May 2025 13:43:08 +0000 (15:43 +0200)
commit9349fc2e9c76d042f424edfa69cf421225bf0fcc
tree9fe71bea80e5e8b58cbef8ca0e95bfa15dffbb6e
parentcabe3952c2e684f0e4013ca9ed337f785ec3ec66
net, net-lwip: wget: suppress console output when called by EFI

Functions called from EFI applications should not do console output.
Refactor the wget code to implement this requirement. The wget_http_info
struct is used to hold the boolean that signifies whether the output is
allowed or not.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
doc/usage/cmd/wget.rst
include/net-common.h
lib/efi_loader/efi_net.c
lib/lwip/lwip/src/apps/altcp_tls/altcp_tls_mbedtls.c
net/lwip/wget.c
net/wget.c