[syslinux] lpxelinux.0 does not set the port number in the http Host: header

Gene Cumm gene.cumm at gmail.com
Sat Oct 10 07:02:04 PDT 2015


On Thu, Oct 8, 2015 at 10:47 PM, Michael DeCandia via Syslinux
<syslinux at zytor.com> wrote:
> Hello all,
>
> I think I may have found a bug with the way lpxelinux.0 sends http
> requests.  Specifically when I trace the requests I notice that the
> Host: header does not contain the port that was used to make the
> request.

> A packet trace shows the following headers when fetching
> http://foo.example.com:5550/autoprov/tftpboot/pxelinux.cfg/01-00-0f-53-27-22-e0.
>
> GET //autoprov/tftpboot/pxelinux.cfg/01-00-0f-53-27-22-e0 HTTP/1.0
> Host: foo.example.com

core/fs/pxe/http.c line 214 is to blame.  Commit ID d04e8b2 (
d04e8b2ffd982e58111e03e413136f3b7ec4b9dc ) "core/http: Append port
number to Host field if needed".

-- 
-Gene


More information about the Syslinux mailing list