aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/arp.c
diff options
context:
space:
mode:
authorMalte Starostik <lists@malte.homeip.net>2011-07-15 16:31:56 +0200
committerMichael Brown <mcb30@ipxe.org>2011-07-15 16:46:58 +0100
commit69b7d57265679d76e26581d034e8f8ab5168bb27 (patch)
tree0b8f11582156d520e1bbaf529a5f048fbb937aef /src/net/arp.c
parent5d23fb1bb4adffdf3b497136246c5c924416d32c (diff)
downloadipxe-69b7d57265679d76e26581d034e8f8ab5168bb27.tar.gz
[http] Include port in HTTP Host header as needed
According to section 14.23 of RFC2616, an HTTP Host header without port implies the default port is used. Thus, when fetching from anywhere but port 80 for HTTP or 443 for HTTPS, the port ought to be explicitly given in that header. Otherwise, some servers might fail to associate the request with the correct virtual host or generate incorrect self-referencing URLs. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/arp.c')
0 files changed, 0 insertions, 0 deletions