Re: Polipo pipeline issue

nidhi sachdev <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
Hi Juliusz,

Please find attached the logs for the issue.
In the logs, we can see that for
*Src Port - 35904      GET /script/jquery-1.3.2.min.js HTTP/1.1\r\n*
>>response
*Src Port - 35904      GET /script/jquery.hover.js HTTP/1.1\r\n GET
/script/jquery.tabs.min.js HTTP/1.1\r\n GET /script/superfish.js
HTTP/1.1\r\n (pipelined)*
>>Connection gets closed without any response

*Src Port - 35905      GET /script/jquery-1.3.2.min.js HTTP/1.1\r\n GET
/script/jquery.hover.js HTTP/1.1\r\n GET /script/jquery.tabs.min.js
HTTP/1.1\r\n GET /script/superfish.js HTTP/1.1\r\n (pipelined)*
>>It gets the response for the first, and closes the connection.

*Src Port - 35906      GET /script/jquery.hover.js HTTP/1.1\r\n GET
/script/jquery.tabs.min.js HTTP/1.1\r\n GET /script/superfish.js
HTTP/1.1\r\n (pipelined)*
>>Response for first request is received; and the connection gets closed.

In the next request,
*Src Port - 35907      GET /script/jquery.tabs.min.js HTTP/1.1\r\n GET
/script/superfish.js HTTP/1.1\r\n GET /script/jcarousellite_1.0.1.pack.js
HTTP/1.1\r\n GET /script/jquery.metadata.js HTTP/1.1\r\n (pipelined)*
**
and so on..
In each pipelined request, the response for first request is received and
the connection is closed.

There is another important observation and I have come across is that each
time any pipelined requests are made (in the above scenarios), the requests
are not accomodated in one TCP packet. Therefore , a part of the request is
send in the next packet.
I observed such a thing with other servers also. Everytime, if pipelined
requests >1500, it reads only the first GET request and ignores the rest.
I could not find any explaination/remark on Internet that mentions about
sending pipelined requests in a single TCP packet i.e. size<1500.
Is there any such for pipelining?


Thanks
Nidhi



On Mon, Oct 19, 2009 at 9:22 PM, Juliusz Chroboczek <
[email protected]> wrote:

> > I am facing a problem with Polipo. Polipo pipelines 3 requests to
> HTTP/1.1
> > server. But does not get the reponse and closes the connection. It then
> > tries to pipeline these 3 request with another GET request, i.e. this
> times
> > it pipelines 4 GET requests,(1st - new request and 3 previous requests).
>
> Weird.  I've never seen that.
>
> > How does Polipo find whether a server supports pipelining or it is buggy?
>
> That's not impossible, but I'm not aware of any such bug.  I'll need
> a protocol trace (tcpdump -w).
>
>                                        Juliusz
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users
Polipo-pipeline-issue.zip (application/zip, 297 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.