cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Sending back-to-back HTTP PUTs on same connection?

From: Chris Markle <cmarkle_at_asperasoft.com>
Date: Tue, 18 Dec 2007 13:50:39 -0800

Dan,

> > Can I HTTP PUT streams along the lines of this with CURL? Net-net we
> > send an HTTP put then 128K of data, then get HTTP/1.1.204.No+Content
> > from the server, then send another HTTP PUT then 128K _all_ on the
> > same connection.
>
> Yes. libcurl supports connection reuse when the server supports it.

Thanks! I think maybe I should have been a little more specific
(remembering that cURL is command line, lib, etc.). Is there a way for
me to leverage this connection reuse from the command line version?

Chris
Received on 2007-12-18