lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: R: [lwip-users] httpd question


From: Jonathan Larmour
Subject: Re: R: [lwip-users] httpd question
Date: Tue, 19 Aug 2008 19:22:09 +0100
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515)

Marek Matej wrote:
Ok, connection seems to be estabilished correctly in both cases.
Differences start after GET is received.
Attached are pcap files of FF and IE communication.
Please take a look, if You see some fundamental differences.

The traffic and data sent appears to be the same. I think the difference is how FF and IE respond to spurious data: there are bogus hex 9 (tab) characters floating around in the data beside CRLFs. Look at this bit:

13:57:42.966190 IP 192.168.5.250.http > 192.168.5.74.3479: P 1:257(256) ack 257 win 1024
        0x0000:  4500 0128 0007 0000 ff06 2e34 c0a8 05fa  E..(.......4....
        0x0010:  c0a8 054a 0050 0d97 0000 19a1 f65d 074a  ...J.P.......].J
        0x0020:  5018 0400 6740 0000 4854 5450 2f31 2e30  address@hidden/1.0
        0x0030:  2032 3030 204f 4b0d 0a09 436f 6e74 656e  .200.OK...Conten
        0x0040:  742d 7479 7065 3a20 7465 7874 2f68 746d  t-type:.text/htm
        0x0050:  6c0d 0a09 0d0a 093c 6874 6d6c 3e20 093c  l......<html>..<

See bytes 0x39, 0x53, 0x56, 0x5e.

Most important I suspect is the one at 0x53 which should be an empty CRLF to indicate the end of HTTP headers but is in fact TAB, CR, LF. I suspect FF doesn't like that, and MSIE lazily accepts it.

Jifl
--
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------      Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]