Return to fetch.c CVS log | Up to [local] / src / usr.bin / ftp |
version 1.106, 2012/08/14 20:47:08 | version 1.107, 2012/08/18 06:46:46 | ||
---|---|---|---|
|
|
||
auth = NULL; | auth = NULL; | ||
} else | } else | ||
#endif /* SMALL */ | #endif /* SMALL */ | ||
ftp_printf(fin, ssl, "GET /%s %s\r\nHost: ", epath, | ftp_printf(fin, ssl, "GET /%s %s\r\nHost: ", epath, | ||
"HTTP/1.0"); | #ifndef SMALL | ||
restart_point ? "HTTP/1.1\r\nConnection: close" : | |||
#endif /* !SMALL */ | |||
"HTTP/1.0"); | |||
if (strchr(host, ':')) { | if (strchr(host, ':')) { | ||
/* | /* | ||
* strip off scoped address portion, since it's | * strip off scoped address portion, since it's |