Re: Patches to winbuild for support of c-ares and OpenSSL debug

2015-01-03 Thread Sam
. Perhaps an exercise for my next project. If memory serves me correctly, you couldn't mix the threading models, but I've not used the single threaded libraries for years - are they still available? No, the single threaded libraries are not available any more. Thanks, Sam Schanken

Re: Patches to winbuild for support of c-ares and OpenSSL debug

2014-12-30 Thread Sam
against the debug versions of OpenSSL in the first place. Thanks, Sam --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Patches to winbuild for support of c-ares and OpenSSL debug

2014-12-29 Thread Sam
building a debug version of libcurl. The other adds support for linking against c-ares, and enabling its use through the USE_ARES symbol definition. Thank you! Sam Schanken 0001-winbuild-Add-option-to-build-with-c-ares-using-nmake.patch Description: Binary data 0001-winbuild-Support

Re: FTP upload stall?

2013-05-14 Thread Sam Deane
On 14 May 2013, at 17:18, Daniel Stenberg dan...@haxx.se wrote: We've been getting a problem with our unit tests where FTP uploads using curl_multi were stalling. Multi or easy makes no difference internally these days! Good point. Our layer on top

FTP upload stall?

2013-05-13 Thread Sam Deane
verify in the meantime. Cheers, - Sam - sam deane / @samdeane | elegantchaos.com / @elegantchaoscom | mac and ios software development --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail

Re: Error codes from SFTP

2013-05-13 Thread Sam Deane
these various tests are and what might be failing (I thought each one might be a file in tests/libtest/*.c, but not all of the test numbers seem to correspond to one of these). Any pointers welcome on that front. Cheers. - Sam - sam deane / @samdeane | elegantchaos.com / @elegantchaoscom | mac

Re: ftp upload with absolute paths

2013-04-14 Thread Sam Deane
On 12 Apr 2013, at 21:57, Daniel Stenberg dan...@haxx.se wrote: commit 61d259f95045c was just pushed with a fix for this. Thanks for the report! Cheers Daniel! sam deane / @samdeane | elegantchaos.com / @elegantchaoscom | mac and ios software development

Re: Error codes from SFTP

2013-04-11 Thread Sam Deane
or simplifications - feel free to do so and I'll try to apply them. patch.diff Description: Binary data Haven't updated the docs yet, but I will do so once we're fairly sure it's working. - Sam - sam deane / @samdeane | elegantchaos.com / @elegantchaoscom | mac and ios software development

ftp upload with absolute paths

2013-04-10 Thread Sam Deane
, for example, I upload to ftp://sam:p...@example.com//test.txt Sam's home is: /Users/sam/ The ftp server is configured so that the whole file system is visible, so the root really is /. I'd expect this file to be uploaded to /test.txt (assuming that sam has write permission) What actually

SFTP transcript

2013-04-10 Thread Sam Deane
logging. sam deane / @samdeane | elegantchaos.com / @elegantchaoscom | mac and ios software development --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: SFTP transcript

2013-04-10 Thread Sam Deane
protocol, just tunnelled over ssh. If that's not the case, then I can see the problem :) I'm up for adding the human-readable stuff, but I'll have to have a chat with the guys I'm working with and see if they want me to do it. Cheers. - Sam - sam deane / @samdeane | elegantchaos.com

Error codes from SFTP

2013-04-10 Thread Sam Deane
to be used for anything else with SFTP. Have enclosed a small patch illustrating what I mean. It's probably in the wrong format (sorry), but I can clean it up and send you a proper patch if you think it's a sensible approach. patch.diff Description: Binary data - Sam - sam deane / @samdeane

Re: SFTP transcript

2013-04-10 Thread Sam Deane
On 10 Apr 2013, at 21:13, Daniel Stenberg dan...@haxx.se wrote: On Wed, 10 Apr 2013, Sam Deane wrote: Ah yeah, I guess that makes sense. I was fooled by the existence of the quote commands (chmod/rm/etc) into thinking of it as essentially still a text based protocol, just tunnelled over

Re: Error codes from SFTP

2013-04-10 Thread Sam Deane
On 10 Apr 2013, at 23:30, Dan Fandrich d...@coneharvesters.com wrote: sshc-quote_path2 should be NULL whenever it's not used, and it always needs to be freed whenever it's non-NULL, so you should be able to remove free2 altogether and always call Curl_safefree on it. Ah yes, I was going

Re: Errors/crashes with FTP using multi interface?

2013-04-08 Thread Sam Deane
to have fixed the test case for me (unsurprisingly), and also to have fixed all of our original issues. Many thanks for your help, - Sam - sam deane / @samdeane | elegantchaos.com / @elegantchaoscom | mac and ios software development

Re: Errors/crashes with FTP using multi interface?

2013-03-29 Thread Sam Deane
On 28 Mar 2013, at 22:15, Daniel Stenberg dan...@haxx.se wrote: 1. You didn't eliminate gcd completely. I had to remove a bunch of more uses. I didn't claim to have eliminated GCD. I said I'd eliminated GCD dispatch sources - which had been one of the things we were wondering about, because of

Re: Errors/crashes with FTP using multi interface?

2013-03-28 Thread Sam Deane
On 13 Feb 2013, at 22:51, Daniel Stenberg dan...@haxx.se wrote: You don't need to convert anything to our standard test format, but if you want us to really be able to help you debug this then you must help us repeat the problem. The easiest way to do that is for you to write a new and

Re: Errors/crashes with FTP using multi interface?

2013-03-28 Thread Sam Deane
A follow-up to the message I just sent. I've managed to strip out quite a bit of extraneous stuff from the example I sent earlier. This one is more compact, and still crashes. multi-gcd-crashtest.c Description: Binary data Critical ingredients seem to be: Using FTP. Setting

Re: Errors/crashes with FTP using multi interface?

2013-02-14 Thread Sam Deane
On 13 Feb 2013, at 22:51, Daniel Stenberg dan...@haxx.se wrote: You don't need to convert anything to our standard test format, but if you want us to really be able to help you debug this then you must help us repeat the problem. The easiest way to do that is for you to write a new and

Re: Errors/crashes with FTP using multi interface?

2013-02-14 Thread Sam Deane
On 7 Feb 2013, at 23:07, Nick Zitzmann n...@chronosnet.com wrote: If you get any more stalls with the latest code, could you share a stack trace sample when the stall occurs, or (even better) a sample project that reproduces the problem? I've only noticed one stall recently that wasn't

Re: Errors/crashes with FTP using multi interface?

2013-02-13 Thread Sam Deane
) I'm getting the crash that I described previously, where an incorrect nmemb value is coming through to the callback from Curl_pp_readresp: #4 0x0001007c9d0e in -[CURLHandle curlReceiveDataFrom:size:number:isHeader:] at /Volumes/titan/Users/sam/Work/clients/karelia/ConnectionKit

Re: Errors/crashes with FTP using multi interface?

2013-02-13 Thread Sam Deane
One thing that's a bit weird is that at the point that we get stuck, curl_multi_socket_action seems to return a running count of 1, then of 0, then of 1, and so on... I've realised that this was a red herring - there are two multis alive at that point in the test, and the timer for each

Re: Errors/crashes with FTP using multi interface?

2013-02-07 Thread Sam Deane
was still there. I'm not working on the code this week (it's a contracting job), but I'll look at it again next week, with the latest release version and/or the trunk version. Cheers, - Sam - sam deane / @samdeane | elegantchaos.com / @elegantchaoscom | mac and ios software development

Errors/crashes with FTP using multi interface?

2013-02-04 Thread Sam Deane
that no two operations on the multi should ever occur simultaneously. Easy handles are potentially set up on other threads, but aren't touched once they are handed off to the multi. This problem is a real blocker for us! sam deane / @samdeane | elegantchaos.com / @elegantchaoscom | mac and ios

calling curl_multi_cleanup reusing a detached, cleaned easy handle

2012-09-25 Thread Sam Deane
(or not doing). This is on OS X 10.8 with libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5 sam deane / @samdeane / elegantchaos.com / @elegantchaoscom / mac and ios software development --- List admin: http://cool.haxx.se/list/listinfo/curl