cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: CURLE_ABORTED_BY_CALLBACK disconnects FTP session

From: Luís Pinto <luis.pinto_at_avid.com>
Date: Fri, 5 Sep 2014 10:02:44 +0000

> > I've looked loosely at the Curl code, but I guess that it's forcing
> > the disconnection by default (regarding what you said previously)..
> >
> > Having this, it would be theoretically possible for me (to hack it)
> > and to stop that behavior (having some kind of custom option that I
> > could set previously), correct?
>
> Sure. But you won't need an option for it, because if you _can_ leave the
> connection alive fine you should just do it and if you can't you shouldn't.
> I don't think another option will help you!
>
> --
>
> / daniel.haxx.se

Hi Daniel,

Sorry for the posting style!

I will look into curl and will try to figure out a way to not close the connection when an abort is triggered.. If I find a feasible solution I will communicate it here, and post my results (maybe a patch)

Thanks for your help

Luis Pinto

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-05