cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to post data several times in a single connection?

From: Chen Bangzhong <bangzhong_at_gmail.com>
Date: Thu, 9 Oct 2008 11:01:28 +0800

if call curl twice, the connection in the first transaction will be
released.

I want to use the first connection.

On Wed, Oct 8, 2008 at 10:39 PM, Dan Fandrich <dan_at_coneharvesters.com>wrote:

> On Wed, Oct 08, 2008 at 11:22:02AM +0200, Daniel Stenberg wrote:
> > On Wed, 8 Oct 2008, Chen Bangzhong wrote:
> >
> >> I want to post data in a single connection. The sequence is as below
> >>
> >> client post data set 1 to server
> >> server reply
> >> client post data set 2 to server
> >> server reply.
> >>
> >> how to use curl to do that?
> >
> > That's not possible to do with the curl tool. Use libcurl from your
> > favourite script language to do that!
>
> Or just call curl twice!
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address
> service
> Let webmasters know that your web site has moved
> -------------------------------------------------------------------
> 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.html
>

-------------------------------------------------------------------
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.html
Received on 2008-10-09