FreeBSD Bugzilla – Attachment 6703 Details for
Bug 15000
ftp(1) needs to send HTTP/1.1 Host: header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 895 bytes, created by
mike
on 1999-11-19 22:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mike
Created:
1999-11-19 22:50:00 UTC
Size:
895 bytes
patch
obsolete
>*** fetch.c.orig Tue Dec 16 01:58:15 1997 >--- fetch.c Fri Nov 19 15:35:49 1999 >*************** >*** 236,243 **** > printf("Requesting %s\n", origline); > else > printf("Requesting %s (via %s)\n", origline, proxyenv); >! len = snprintf(buf, sizeof(buf), "GET %s%s HTTP/1.0\r\n\r\n", >! proxy ? "" : "/", path); > if (write(s, buf, len) < len) { > warn("Writing HTTP request"); > goto cleanup_url_get; >--- 236,243 ---- > printf("Requesting %s\n", origline); > else > printf("Requesting %s (via %s)\n", origline, proxyenv); >! len = snprintf(buf, sizeof(buf), "GET %s%s HTTP/1.0\r\nHost: %s\r\n\r\n", >! proxy ? "" : "/", path, host); > if (write(s, buf, len) < len) { > warn("Writing HTTP request"); > goto cleanup_url_get;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15000
: 6703