NewLionwang / dpkt

Automatically exported from code.google.com/p/dpkt
Other
0 stars 0 forks source link

HTTP response failed to parse invalid header #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Capture the web traffics from www.msnbc.com
2. Use dpkt to parse the traffics
3. dpkt raise an exception, and the response is not parsed.

What is the expected output? What do you see instead?
Parse the entire response, may report invalid headers.

What version of the product are you using? On what operating system?
dpkt 1.6 and 1.7

Please provide any additional information below.
Microsoft-IIS/6.0 returns a response with
dpkt.dpkt.UnpackError: invalid header: 'P3P:CP="BUS CUR CONo FIN IVDo ONL OUR 
PHY SAMo TELo"'

Original issue reported on code.google.com by ls...@google.com on 1 Oct 2010 at 6:42

GoogleCodeExporter commented 8 years ago
Seems this is fixed in the trunk.

Original comment by ls...@google.com on 14 Oct 2010 at 6:27

GoogleCodeExporter commented 8 years ago
fixed in r73

Original comment by dugsong on 6 Jan 2011 at 4:01