nuttx-apps/netutils/libcurl4nx/Kconfig
Sebastien Lorquet fc7aa92b57 apps/netutils/libcurl4nx: This is an initial comit libcurl4nx. It is not complete yet, but I still wish to commit the unfinished bits to describe the roadmap, and because it is already usable. It will be updated and fixed in the future weeks and months, certainly including POST support and later, SSL.
Some improvements could be made by anyone.  For example, I know the main routine in perform() shall be split into several parts for readability. I apologize in advance for this kind of spaghetti code, but I was short on time to refactor it.  Also chunked HTTP transfer encoding would be a nice contribution from anyone interested. It is detected but not yet supported.
2019-05-03 07:26:13 -06:00

50 lines
1.0 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config NETUTILS_LIBCURL4NX
tristate "cURL4nx HTTP client library"
default n
depends on NET_TCP
select LIBC_NETDB
select NETUTILS_NETLIB_GENERICURLPARSER
---help---
Enable the NuttX cURL like library.
if NETUTILS_LIBCURL4NX
config LIBCURL4NX_MAXHOST
int "Maximum URL host length"
default 128
config LIBCURL4NX_MAXPATH
int "Maximum URL path length"
default 128
config LIBCURL4NX_MAXMETHOD
int "Maximum HTTP method length"
default 16
config LIBCURL4NX_MAXUSERAGENT
int "Maximum HTTP user agent length"
default 64
config LIBCURL4NX_MAXHEADERLINE
int "Maximum receivable header line"
default 128
config LIBCURL4NX_RXBUFLEN
int "Initial RX buffer size"
default 512
config LIBCURL4NX_MINRXBUFLEN
int "Minimum RX buffer size for CURL4NXOPT_BUFFERSIZE"
default 16
config LIBCURL4NX_MAXRXBUFLEN
int "Maximum RX buffer size for CURL4NXOPT_BUFFERSIZE"
default 2048
endif