nuttx-apps/netutils/webclient/Kconfig
YAMAMOTO Takashi 276bf42e0d webclient: Fix http -> https redirection
http -> https redirection is rather common. The old code was
just broken in that case.

Also, this commit is a step towards https support.

* Switch to netlib_parseurl
* Fix error propagation in wget_parseheaders
* Bail out on a redirect to a URL with unsupported scheme
2020-05-26 15:38:12 +08:00

27 lines
555 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config NETUTILS_WEBCLIENT
bool "uIP web client"
default n
depends on NET_TCP
select LIBC_NETDB
select NET_SOCKOPTS
select NETUTILS_NETLIB_GENERICURLPARSER
---help---
Enable support for the uIP web client.
if NETUTILS_WEBCLIENT
config NSH_WGET_USERAGENT
string "wget User Agent"
default "NuttX/6.xx.x (; http://www.nuttx.org/)"
config WEBCLIENT_TIMEOUT
int "Request and receive timeouts"
default 10
endif