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