[Yum-devel] yum sends malformed Host header

Eli Criffield elicriffield at gmail.com
Mon Apr 3 19:58:22 UTC 2006


yum version 2.4.2 and urlgrabber 2.9.6 on sles 9 s390x box.

When i do anything with yum about 1/2 the time it dies requesting the
url because it gets a 'HTTP Error 400' back.

I've isolated the problem down to around line 627 in repos.py where
self.grab.urlgrab gets called, that bombs with '[Errno 4] IOError:
HTTP Error 400: Bad Request'

In the http access logs for the server its trying to hit it says:
[Mon Apr 03 14:41:23 2006] [error] [client 179.26.11.13] Client sent
malformed Host header

This same exact version of yum and urlgrabber is being used on sles 9
x86 boxes with no problems.

Any idea's how to get more debug info, like exactly what headers its sending.

Eli



More information about the Yum-devel mailing list