mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
f31a0f7f61
An IPv6 IP that occurs in the 'Host:' header of an HTTP request must be enclosed in square brackets (RFC3986 section 3.2.2). Searches for ':' in the host string to efficiently determine if the host is an IPv6 IP address.