[ipxe-devel] DEBUG http

Michael Brown mcb30 at ipxe.org
Sun Feb 7 08:39:36 UTC 2016


On 05/02/16 20:29, Sean m wrote:
> It seems like in newer versions of iPXE the DEBUG=http option during the
> make of undionly.kpxe does not do anything. Versions that were older
> than ipxe-15a8800 actually provided output when that option was set, but
> it seems like anything newer than that does not.

You need DEBUG=httpcore, since almost all of the core HTTP functionality 
lives in net/tcp/httpcore.c.  DEBUG=http will enable debug only for 
net/tcp/http.c, which contains only the structure defining "http://" as 
a URI scheme.

For reference: DEBUG=httpcore will show you any HTTP errors. 
DEBUG=httpcore:3 will also show you all transmitted and received 
headers.  If you're debugging optional extra components (such as HTTP 
Basic or Digest authentication) then you'll need to add httpbasic, 
httpdigest, etc.

Michael



More information about the ipxe-devel mailing list