On 23 Mar 2010, at 13:10, Daniel Stenberg wrote:
On Tue, 23 Mar 2010, Daniel Stenberg wrote:
I have attached my test program. I don't know of any public FTP
servers, but I have tested it with 3 different ones and the server
does not seem to matter. Simply change the code of the function
initEasyRequest and enter the login details of any FTP server and
it should work (or rather, crash).
Update: I can repeat the problem based on your example app, thanks
a lot. I'm working on trying to understand it properly to make the
accurate fix. Stay tuned!
Here's my suggested fix that makes the test program run fine for me
(and all test cases too). I intend to commit and push to the git
repo within shortly.
Great, thank you very much Daniel! I will try this out later today to
see if this also fixes the problem in our main application.
Hauke
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html