cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP Pipelining supported in same TCP packet?

From: Phil Blundell <pb_at_reciva.com>
Date: Tue, 23 Feb 2010 14:23:50 +0000

On Tue, 2010-02-23 at 15:07 +0100, Beatriz Rojo Martin wrote:
> I have tested it, but it only allows pipelining in different TCP packets. Is there any way to force to use the same TCP packet to send several HTTP requests? I'm really interested in such scenarios.

Have you tried setting TCP_CORK on the socket in question, and unsetting
it when you're done submitting your requests? This would probably
achieve what you want without requiring any major surgery in libcurl.

p.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-23