Re: List available curl options

2014-12-11 Thread Dan Fandrich
On Wed, Dec 10, 2014 at 10:52:46PM -0800, Jeroen Ooms wrote: I'm writing some bindings to libcurl for a scripting language. I was wondering if there is an API call or some other method to list the options (CURLOPT_* values and their integer) that the linked version of libcurl supports? That

long timeout after a lost connection (curl 7.39, windows)

2014-12-11 Thread чи дер
Hi,  I've come across the following curl problem, which can be easily reproduced on Windows (XP SP3 to be precise):  1. connect to a remote host  2. POST some data  3. unplug the network cable (sometimes this happens when the server closes connection due to keep-alive settings, but unplugging

SF bug 1456 and associated commits

2014-12-11 Thread Patrick Monnerat
I'm about to commit a fix for SF bug 1456, but first, I request your opinion. Forgive me Steve: you introduced CURLOPT_CRLF handling for the SMTP protocol, but I think the standards make this conversion mandatory (RFC 5321, 2.3.8). Thus the fix also reverts this handling and forces the LF

Re: Multi interface and DNS load balancing

2014-12-11 Thread Seppo Heikkilä
DNS load balancing is quite common so this should work quite easily. It isn't easy. getaddrinfo() returns the addresses in a prio order and we go through the addresses in that order. How are you suggesting we change this without overriding the users' /etc/gai.conf, RFC 3484 and whatever more

RE: SF bug 1456 and associated commits

2014-12-11 Thread Steve Holme
On Thu, 11 Dec 2014, Patrick Monnerat wrote: I'm about to commit a fix for SF bug 1456, but first, I request your opinion. Please note there are two bugs listed in this bug report: a) That curl doesn't handle LF to CRLF conversion b) That dot stuffing doesn't work The fixes I pushed for a)

Curl and GXS SFTP

2014-12-11 Thread Marc Renault
Hi, I'm running into the same problem as a couple of posts: http://curl.haxx.se/mail/lib-2014-09/0199.html http://curl.haxx.se/mail/lib-2012-06/0156.html http://curl.haxx.se/mail/lib-2012-03/0245.html http://curl.haxx.se/mail/archive-2009-01/0114.html Like the previous posts I'm trying to

Re: SF bug 1456 and associated commits

2014-12-11 Thread Dan Fandrich
On Thu, Dec 11, 2014 at 07:39:54PM +, Steve Holme wrote: My only objection is that we are then taking away the ability to allow the user to purposely send LF characters to the mail server for whatever reason - they may have a non RFC compliant mail server that requires the line ending to