Hi,

I set TCP_NODELAY to 0 and it can include several requests in the same TCP 
packets.

Thanks a lot Phil and Daniel for your help!

BR,
Beatriz 

-----Original Message-----
From: curl-library-boun...@cool.haxx.se 
[mailto:curl-library-boun...@cool.haxx.se] On Behalf Of Beatriz Rojo Martin
Sent: martes, 23 de febrero de 2010 16:13
To: libcurl development
Subject: RE: HTTP Pipelining supported in same TCP packet?

Hi,

Thanks a lot, Phil!

Sorry, but I'm newie with libcurl. I'm using pycurl as wrapper...

Is it possible to manipulate the TCP_CORK socket flag from pycurl? I only see 
translation of TCP_NODELAY flag in the pycurl-7.19.0/src/pycurl.c file.

BR,
Beatriz

-----Original Message-----
From: curl-library-boun...@cool.haxx.se 
[mailto:curl-library-boun...@cool.haxx.se] On Behalf Of Phil Blundell
Sent: martes, 23 de febrero de 2010 15:24
To: libcurl development
Subject: Re: HTTP Pipelining supported in same TCP packet?

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
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to