curl-users
Re: curl chunk option?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 15 Jul 2009 22:30:26 +0200 (CEST)
Date: Wed, 15 Jul 2009 22:30:26 +0200 (CEST)
On Wed, 15 Jul 2009, Chris Cross wrote:
> I'm using curl to test my server application's performance with very large
> messages, ie, messages > 1GB. Is there an option to use chunked encoding so
> curl doesn't buffer the entire message?
I assume you mean you're sending data over HTTP, and then no the curl tool
will not do that with -d, but you can use -F or HTTP PUT with -T. Or you write
your own test tool using libcurl or a libcurl binding to do exactly what you
want.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-07-15