uclient-fetch reports "connection reset" error in case of HTTP 204 response
Username: LGA1150
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2222
~# uclient-fetch -O- https://www.google.com/generate_204 Downloading 'https://www.google.com/generate_204' Connecting to 2404:6800:4005:811::2004:443 Writing to stdout
Connection reset prematurely
~# curl -v https://www.google.com/generate_204
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- TLSv1.3 (IN), TLS handshake, Server hello (2):
- TLSv1.2 (IN), TLS handshake, Certificate (11):
- TLSv1.2 (IN), TLS handshake, Server key exchange (12):
- TLSv1.2 (IN), TLS handshake, Server finished (14):
- TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
- TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
- TLSv1.2 (OUT), TLS handshake, Finished (20):
- TLSv1.2 (IN), TLS handshake, Finished (20):
GET /generate_204 HTTP/1.1 Host: www.google.com User-Agent: curl/7.64.0 Accept: /
< HTTP/1.1 204 No Content < Content-Length: 0 < Date: Thu, 04 Apr 2019 08:11:27 GMT < Alt-Svc: quic=":443"; ma=2592000; v="46,44,43,39" <