This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

HTTP requests/responses out of sequence

0

Hi,

I was recently looking at HTTP requests/responses made by the default web browser on an HTC Android smartphone and noticed some strange behaviour. When using Follow TCP Stream for HTTP traffic you normally see an HTTP request (e.g. GET) followed by the response repeated many times over. However in this case I'm seeing 2 or 3 GETs together followed later by responses. I thought that HTTP communication on a given connection had to be sequential - a request followed by a response.

Is what I'm seeing a bug/feature of Wireshark attempting to assemble the TCP stream or is this genuinely happening? If it's real, how do responses get matched to the corresponding request?

Thanks in advance,

Colin

asked 16 Jul '12, 01:32

ColinBaker's gravatar image

ColinBaker
6113
accept rate: 0%


One Answer:

1

Your HTC is most likely usingHTTP pipelining, see http://en.wikipedia.org/wiki/HTTP_pipelining.

answered 16 Jul '12, 01:39

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%

Thanks SYN-bit, hadn't heard of that. Looks like the Android browser is one of the first to implement it.

(16 Jul '12, 02:19) ColinBaker