madhuneal / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

Double content-length header warnings #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My recent reorganisation of some of the header parsing code has given rise to a 
silly side effect:

==

2010/06/23 23:27:32| ctx: enter level  0: 
'http://65.55.72.151/att/GetAttachment.aspx?file=<snip>'
2010/06/23 23:27:32| NOTICE: found double content-length header}
2010/06/23 23:27:32| WARNING: unparseable HTTP header field {Content-Length: 
8397196
2010/06/23 23:27:32|  in {
Connection: Keep-Alive
Date: Wed, 23 Jun 2010 15:27:20 GMT
Server: Microsoft-IIS/6.0P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo 
TELo"xxn: 29X-Powered-By: ASP.NET
Content-Length: 8397196
Content-Disposition: attachment; filename="03 Cosmic Castaway.mp3"
Content-Length: 8397196
MSNSERVER: H: SNT132-w29 V: 15.1.3059.405 D: 2010-04-05T22:44:55
Set-Cookie: KVC=15.1.3059.0405; domain=.mail.live.com; path=/Cache-Control: 
private
Content-Type: audio/mpeg

==

Original issue reported on code.google.com by adrian.c...@gmail.com on 23 Jun 2010 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by adrian.c...@gmail.com on 23 Jun 2010 at 3:31

GoogleCodeExporter commented 9 years ago
I seem to have subtly messed up the logging conditions for errors. I'll go and 
figure out how to make it not log double-but-same content-length headers.

Original comment by adrian.c...@gmail.com on 23 Jun 2010 at 3:42

GoogleCodeExporter commented 9 years ago
Fixed in r14718.

Original comment by adrian.c...@gmail.com on 23 Jun 2010 at 4:14