ftp: send Host: headers with CONNECT requests when tunneling TLS over an
authorsthen <sthen@openbsd.org>
Tue, 23 Apr 2024 08:50:38 +0000 (08:50 +0000)
committersthen <sthen@openbsd.org>
Tue, 23 Apr 2024 08:50:38 +0000 (08:50 +0000)
commit8cc1b8fa16e27d6a1d25ec2062848ea0c4fb2619
tree67e1ebb9f55dc8e93889710a81e19db89439d1e7
parent26e07adb1d7a1c3f1edc6f44e7cd1beaeff50821
ftp: send Host: headers with CONNECT requests when tunneling TLS over an
HTTP proxy (i.e. for fetching resources over https). This is required by
some proxy servers.

Ftom KUWAZAWA Takuya, ok tb@
usr.bin/ftp/fetch.c