RE: intent to land: CURL_HTTP_VERSION_2TLS

2015-12-13 Thread Michael Wood
antics can have a look :) -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Problem with include files - 32-bit and 64-bit modes are not supported in a "single-set of include files"

2015-11-25 Thread Michael Wood
ding a word. Is > this dynamic/runtime discovery? "Varargs" refers to functions that take a variable number of arguments, like printf: printf("one arg"); printf("%d args", 2); printf("%s (%d) args", "Three", 3); -- Michael Wood -

RE: Odd Issue building curl/libcurl

2015-07-16 Thread Michael Wood
On 17 Jul 2015 1:03 AM, "Cyd Haselton" wrote: > > Anyone? > > I've posted configure parameters, the configure output and the results of make -dn but if more info is needed please let me know. Maybe strace will give you some clues? By the way, please don't top post. I apologise if the quoting is

Re: Detecting HP native C compiler on HP-UX

2015-05-24 Thread Michael Wood
On 24 May 2015 10:17 AM, "Michael Osipov" <1983-01...@gmx.net> wrote: > > Am 2015-05-24 um 08:37 schrieb Michael Wood: >> >> Why does curl need to know it's being >> compiled by the HP native compiler? > > In order ti properly set compiler flags.

Re: Detecting HP native C compiler on HP-UX

2015-05-23 Thread Michael Wood
; > I cannot make any statement on your > concerns because I do not have the > appropriate experience with. Why not check what configure detects with and without the change and see if the differences are relevant? Why does curl need to know it's being compiled by the HP native compiler? -- M

Re: about CURLE_COULDNT_CONNECT

2015-04-02 Thread Michael Wood
ike 7.33.0 or earlier. Have you ruled out the possibility that your code is being linked against an old library by mistake? -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: curl problem on ldap with tls

2015-04-01 Thread Michael Wood
s://xxx.xxx I suspect he meant to use ldaps in his second example. I think he wants to connect to port 389 and upgrade to TLS on that same connection, rather than connecting to port 636 and talking SSL directly. Is this possible with libcurl? -- Michael Wood

Re: CURLE_COULDNT_CONNECT error

2015-03-22 Thread Michael Wood
Hi On 22 Mar 2015 8:49 AM, "兰天" wrote: I'm not sure about your other problems, but maybe setting CURLOPT_VERBOSE will give you more information about what is wrong. > and I wget the whole link ,it comes the error , for example > wget http://xxx.com/psb?/V101gEx91O6JZP/*IWADXgIENCnf3

RE: Ntlm proxy and Http 407 error

2015-02-18 Thread Michael Wood
Hi On 18 Feb 2015 7:03 PM, "Valerio Borsò" wrote: > > Fine, i understand now but still i cant have pass or username to provide. Using command line option i could contact google in either way, SSL or not, giving The -U optional, wich is The similari approach using lib? Try something like: curl -

Re: Need Help Please

2015-01-04 Thread Michael Wood
Hi On 30 Dec 2014 11:41 PM, "Jones, Rick" wrote: > The problem is our proxy, we are using WPAD to get to an external proxy which lets people out. What settings do I need to modify in order to use cURL? I have tried setting http_proxy and https_proxy but I’m still unable to connect. I believe l

RE: SF bug 1456 and associated commits

2014-12-15 Thread Michael Wood
option redundant, but leaving it for backwards compatibility) and providing another option to turn off the conversion. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Building libcurl for android - proposed documentation change

2014-10-04 Thread Michael Wood
Hi On 04 Oct 2014 5:01 AM, "William Grim" wrote: > > I don't recall at all having to be > inside the ndk directory to run that > command. I'm not for this change. I believe what he means is that make-standalone-toolchain can be found in the ndk directory. Not that you have to run it from there.

Re: [PATCH] docs: Update SPNEGO and GSS-API related doc sections

2014-08-03 Thread Michael Wood
On 03 Aug 2014 10:53 AM, "Michael Osipov" <1983-01...@gmx.net> wrote: > > Am 2014-08-03 um 10:27 schrieb Dan Fandrich: > >> On Sat, Aug 02, 2014 at 02:18:29PM +, Michael Osipov wrote: >>> >>> @@ -180,7 +180,8 @@ FOOTNOTES >>> *1 = requires OpenSSL, GnuTLS, NSS, yassl, axTLS, PolarSSL, WinSS

Re: first 94208 bytes corrupted! (Ubuntu 14)

2014-05-28 Thread Michael Wood
On 29 May 2014 12:56 AM, "Wagner Patriota" wrote: > > I can't fsync() a FILE* ... does anybody have any hint on what can be done here? Try flush() or fflush()? > On Wed, May 28, 2014 at 7:36 PM, Wagner Patriota < wagner.patri...@gmail.com> wrote: >> >> hey Daniel / Ray, I think I found the solut

Re: [PATCH] url: use proper default port for HTTP proxy

2014-05-25 Thread Michael Wood
On 25 May 2014 3:16 PM, "Alessandro Ghedini" wrote: > > On dom, mag 25, 2014 at 11:17:25 +, Yehezkel Horowitz wrote: > > >As reported at http://bugs.debian.org/749171, 1080 is the default port for socks (as defined by IANA), but http proxies use 80 as default (which is what e.g. > > wget does)

Re: PHP/cURL: intensive calls send exception without caching connection resource

2014-01-17 Thread Michael Wood
xt that connect() is what fails here, is that true? If it is, the server is on 127.0.0.1 - what is the server's view of life at this point? What does netstat -tn show? -- Michael Wood --- List admin: http://cool.haxx.se/list/li

Re: Reg: FTP file Upload, default and binary mode

2013-12-29 Thread Michael Wood
ary mode was the default. So it does not seem to have anything to do with bug 21. Of course I could have misunderstood the question because it was not explicit and I think open to misinterpretation. -- Michael Wood --- List admi

Re: 答复: Many CLOSE_WAIT when handling lots of URLs

2013-11-01 Thread Michael Wood
peat perhaps? > > The connections that you see in CLOSE_WAIT wrongly, how were they supposed > to be disconnected or not if things had been done correctly? > > -- > > / daniel.haxx.se > -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: curl_multi_wait revent for extra_fd not set

2013-07-16 Thread Michael Wood
y when I get back from my vacation. please consider a > > diff -u output in the mean time... > -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Curl 7.29.0 core dump

2013-04-23 Thread Michael Wood
On 23 April 2013 17:28, Ceri Davies wrote: [...] > I do not use https, just regular http. > mutex callbacks sound interesting, what are they, are they only relevant to > https? The mutex callbacks are only relevant to SSL/TLS (and therefore HTTPS). -- Mic

Re: BUG: NULL pointer dereference in Curl_ssl_getsessionid.

2013-04-19 Thread Michael Wood
Hi On 18 April 2013 19:56, Vuurvlieg wrote: [...] > I build it like this in the MinGW shell: > $ ./buildconf > buildconf: autoconf version 2.68 (BAD) > Unpatched version generates unusable configure script. [...] Is this not perhaps a problem? --

Re: ipv4 coredump in openssl CRYPTO_malloc ... *strange*

2013-04-16 Thread Michael Wood
o eliminate possible stack > corruption? It looks like valgrind does not run on SunOS/Solaris, but maybe it's worth trying the program on Linux under valgrind anyway, even if it seems to work fine there. -- Michael Wood --

Re: Reading URL source

2013-04-15 Thread Michael Wood
ere the Windows packages are. It's also possible to get the libcurl source code and compile it yourself to include/exclude the optional extras (e.g. FTP support, etc.) -- Michael Wood --- List admin: http://cool.haxx.se/list/l

Re: Problem with SMTP using libcurl

2013-03-08 Thread Michael Wood
SET? When the customers say there's no additional software installed, did they think of antivirus? Although the fact that turning on logging changes this implies that something stranger is going on. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Curl reports: "Maximum (50) redirects followed"

2013-03-04 Thread Michael Wood
211374 > GET > /promos../../p/promos/winter-vacation-deals?langid=4105&affcid=network.cj.3211374.11259876.&affcid=cj3211374 > HTTP/1.1 < Location: /promos../../p/promos/winter-vacation-deals?langid=4105&affcid=network.c

Re: HTTP client as new child process

2013-02-19 Thread Michael Wood
On 19 February 2013 14:23, Ajay Tanpure wrote: > Thank for your reply sir. Please read some of these: https://www.google.com/search?q=top+post -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-libr

Re: Curl - Unable to link curl library in Oracle 11g

2013-02-19 Thread Michael Wood
instead. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Converting curl command to a C program

2013-02-18 Thread Michael Wood
k at example.c. > On Mon, Feb 18, 2013 at 4:24 PM, wrote: [...] >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of curl-library digest..." >> >> >> Today's Topics: [...] -- Michael Wood ---

Re: Errors/crashes with FTP using multi interface?

2013-02-14 Thread Michael Wood
I can see: > > - it reuses the connection > - it skips USER, PASS, PWD, CWD > - after getting back the PASV response, it ends up in DO phase complete1, > rather than complete2 > - if skips TYPE > - nothing more happens after the final STOR_TYPE to STOR Not only that, but it outputs "HEADER_OUT - STOR Upload.txt" twice, which seems strange. The working one does this after changing from STOR to STOP: DO_MORE => DO_DONE => WAITPERFORM => PERFORM => DONE The failing case does: DO => DO_MORE, STOR Upload.txt -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Empty error message "Error setting curl:"

2013-02-08 Thread Michael Wood
used in curlftpfs: > $ grep CURLOPT_VERBOSE -rnI -C1 . > ./ftpfs.c-1544- if (ftpfs.verbose) { > ./ftpfs.c:1545:curl_easy_setopt_or_die(easy, CURLOPT_VERBOSE, TRUE); > ./ftpfs.c-1546- } > > Why I not get verbose output if this options in use? I think you'll have t

Re: Patches for better PolarSSL 1.1.x and 1.2.x support

2013-02-01 Thread Michael Wood
Hi On 1 February 2013 10:49, wrote: > HI list, > > Did not get a response on this yet. > > How can we help you guys integrate these patches into the repo? I suspect this message (or something similar) would apply to your patches too: http://curl.haxx.se/mail/lib-2013-02/0005.ht

Re: cert verification problem on curl handle re-use

2013-01-23 Thread Michael Wood
set the option yourself... I think what he is saying is that he ran git bisect and found a commit that fixed curl_easy_resect() to reset the CA cert path, so a workaround for him is to manually set the path after calling curl_easy_reset(), but then he doesn

Re: CURL custom request

2013-01-08 Thread Michael Wood
#x27;t think you can > force libcurl to do such a protocol violation unless you change lib/url.c > and recompile. > > The URL parser stops parsing the path at first newline. I imagine getting curl to accept "Welcome to the server\nHTTP/1.1 200 OK...&qu

Re: curl-library Digest, Vol 88, Issue 39

2012-12-21 Thread Michael Wood
sage. Just quote the bits relevant to your current reply. See the following for more hints: > Etiquette: http://curl.haxx.se/mail/etiquette.html -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-librar

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Michael Wood
t option as suggested. Here is the start of config.log > file: [...] > cc1: Invalid option `-W1,-elf2flt' In your original message you had: "export LDFLAGS=-Wl,-elf2flt" but in config.log it has a 1 instead of a l! Where does that come from? -- Michael Wood --

Re: Issues building with ZLIB and c-ares, Mingw on Win8 x64

2012-12-13 Thread Michael Wood
provide ANY insight into what I'm doing wrong or even better > how to do it right, I'd be eternally grateful. Thanks, I'm not sure, but it might help to get cares building as a DLL first. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Michael Wood
> > As you have already seen, compilation fails due to combined factors > somehow _KERNEL has been defined and additionally statement "#if > ((TRUE != 1) || (FALSE != 0))" is also true. That's an #ifNdef _KERNEL, not #ifdef. So the question is rather what is defining TRUE

Re: New Version of LibLiveCD - DSpace, Koha & Drupal

2012-11-11 Thread Michael Wood
ave anything to do with curl or libcurl. Please don't post irrelevant things to this list. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: error when send email via curl

2012-11-07 Thread Michael Wood
be an SSL problem. It looks like it's doing SSL right from the start instead of doing STARTTLS. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Http Delete request return 400

2012-11-06 Thread Michael Wood
On 7 November 2012 08:59, huancong deng wrote: > > 82 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); > 83 curl_easy_setopt(curl,CURLOPT_CUSTOMREQUEST,"delete"); Use "DELETE" and n

Re: Curl with DER certificates format when verifypeer is enabled

2012-10-09 Thread Michael Wood
8912772/c-and-curl-how-to-get-ssl-error-codes Here are some possible causes: http://blog.techstacks.com/2010/03/3-common-causes-of-unknown-ssl-protocol-errors-with-curl.html -- Michael Wood --- List admin: http://cool.haxx.s

Re: Curl with DER certificates format when verifypeer is enabled

2012-10-08 Thread Michael Wood
l/c/curl_easy_setopt.html#CURLOPTSSLCTXFUNCTION). Just convert them to PEM format. It does not matter what format the server needs. You do not need to convert them on the server. e.g.: http://support.citrix.com/article/CTX106631 http://www.sslshopper.com/arti

Re: memory leak when using zlib lib

2012-10-02 Thread Michael Wood
including zlib and not using CURLOPT_ENCODING, there is > no memory leak problem. > > thank you. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Curl error with openssl for CURLOPT_SSL_VERIFYPEER set to true

2012-09-28 Thread Michael Wood
demand server to use the > specific format . is there some way to add this support . This has nothing to do with how the certs are stored on the server. The server can store them however it wants to. Only your libcurl-based program needs them in PE

Re: SSPI/Schannel Config_Literal voting rules

2012-06-28 Thread Michael Wood
WINDOWS_SSL or ENABLE_WINDOWS_SSL I'm not sure the short form is necessary. There's no --with-ossl or with-gtls etc., but I wouldn't veto it (even if I could :) > We have to apply common sense and the logical restrictions applied by > the environment. > > Best regards, >

SSPI/Schannel Config_Literal voting rules

2012-06-28 Thread Michael Wood
SSL I don't think this proposal contradicts the rules mentioned in your first e-mail, but I suppose even if it does, I'd like to know if you think it makes sense :) -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: SFTP delete file with space

2012-05-18 Thread Michael Wood
uot;rm \"/UserFolder/Test xyz.txt\""; I think you should also be able to use something like this: NSString* fullFilePath = @"sftp://myftpserver.org/";; NSString* filePath = @"rm \"/UserFolder/Test xyz.txt\""; -- Michael Wood --

Re: SFTP delete file with space

2012-05-17 Thread Michael Wood
CURLcode result = curl_easy_perform(curl); > curl_slist_free_all (headerList); > curl_easy_cleanup(curl); > > > Just want to repeat again that the code works fine when there are no > spaces involved in the filename or the full file path. > > Thank you for you help. > >

Re: Is ICMP supportted?

2012-04-24 Thread Michael Wood
On 24 April 2012 16:31, Hendrik Visage wrote: > On Tue, Apr 24, 2012 at 4:17 PM, Woods wrote: >> Hi, >> >> Quick question: if libcurl supports ICMP ping? Thanks. No. > never knew ICMP ping is a data transfer protocol :( Well, it can

Re: SSL/TLS support using Windows SSPI Schannel API

2012-04-15 Thread Michael Wood
. I'm sure someone with the ability to commit your work will let you know if that's necessary, though. :) -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: IMAP and Usernames

2012-03-24 Thread Michael Wood
t;quoted". If you have arbitrary 8-bit characters in your username, it seems you'll need to use a "literal". The password is also an "astring", so the same rules apply. See also section 4 (Data Formats). At least that's my understanding from a brief look at the RFC. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Question on -u in curl

2012-03-03 Thread Michael Wood
gt; bash-3.00$ echo "you owe me \$a dollars" >> you owe me $a dollars > >> So in your case: >> -u "domain\659967:123@#\$ab" Yes, this is a Unix shell thing and has nothing to do with curl. Another way to do this is to use ' instead of " to quote th

Re: Binary HTTP Response Head crashes library

2012-02-23 Thread Michael Wood
r? If not, this does not look like HTTP. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Binary HTTP Response Head crashes library

2012-02-23 Thread Michael Wood
I rather not advice on how to write such code. Is it valid to get any sort of body in response to a HEAD request? -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Question

2012-02-15 Thread Michael Wood
on't mention URL encoding at all. They do mention using domain/user or domain\user as the username, though, implying that you don't need to encode that. I'd just try encoding the lot (except the colon separating them, of course), unless that doesn'

Re: The FTP problem that turns out to be SFTP

2012-01-07 Thread Michael Wood
onnection #1 > curl: (6) Could not resolve host: 6; Host not found > * Closing connection #0 [...] curl thought the extra parameters were more URLs or something. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: curl-library Digest, Vol 77, Issue 7

2012-01-04 Thread Michael Wood
ikely to help. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: [PATCH] POP3: Expanded the supported commands

2011-12-11 Thread Michael Wood
nse must be sent as a quote command (with -Q) instead of > as a custom command (-X). What about CURLOPT_NOBODY? > I haven't really looked at the patch details; when I saw the command- > specific changes to the state machine, I just got the feeling that there > must be a more g

Re: 10-at-a-time.c libcurl example - limitations?

2011-12-01 Thread Michael Wood
it -n 1024 > Is there an obvious reason for this limit either in the example code, or some > aspect of the way libcurl is built? I suspect this is your OS (resource limits) rather than libcurl or the example code. -- Michael Wood --

Re: FTPS Attempt Not Using SSL

2011-10-31 Thread Michael Wood
2 >> and then set the pre-processor directives in that manual.  I assumed that >> would enable SSH support.  Different than his manual, however, I did compile >> it to a series of DLLs, libssh2.dll and libcurl.dll. > > SSH has nothing to do with SSL. Also, sftp is

Re: Question on openldap to curl

2011-10-27 Thread Michael Wood
called openldap-devel*.rpm). Then download the curl source code and compile it with something like: ./configure --enable-ldap make make install -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-li

Re: How to fetch pop3 mail using libcurl

2011-10-21 Thread Michael Wood
de to TLS like they can on port 25. Port 465 is the smtps port, although as far as I know, use of port 465 is discouraged. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: curl fails where netscape succeeds

2011-09-19 Thread Michael Wood
, "version": "2.0", "error": "Invalid API > request"}}u@ubuntu:~$ You could also try: curl 'http://api.discogs.com/artist/John+Coltrane' --libcurl discogs-example.c which will generate a file called discogs-example.c that should do

Re: [PATCH] Curl_gethostname() may or may not return the hostname as a FQDN

2011-09-17 Thread Michael Wood
http://www.fnal.gov/docs/products/ups/ReferenceManual/html/manpages.html -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Need help with replacing cURL generated POST header

2011-09-07 Thread Michael Wood
ld not do this. What you need to do is set CURLOPT_URL to something like: "http://www.example.com/COKE";. Do not set a "header" like you are doing above. "POST /COKE HTTP/1.1" is not a header. -- Michael Wood -

Re: libcurl and https problem

2011-09-02 Thread Michael Wood
On 2 September 2011 08:26, Daan Try wrote: > [...] I have no control and no access to the server > part, so I can probably not figure out what is running there. [...] You can try this to get an idea of what the server is running: curl --head https://theserver.example.com/ -- Michae

Re: can Curl use socket() created by application?

2011-08-19 Thread Michael Wood
e. > > No, not on the same connection. CONNECT_ONLY is a one way street and once > you've taken the socket there's no way to return it to libcurl. I think this idea came from some speculation by Dan Fandrich: http://curl.haxx.se/mail

Re: Converting shell level curl to libcurl (linux)

2011-08-05 Thread Michael Wood
asically the same thing. You can then edit that to neaten it up and add any additional functionality. i.e.: curl -k -d@/home/test/curl/login.req.xml \ -H"SOAPAction:/Serv//Interface/Service.serviceagent/portTypeEndpoint/LogInOp" \ https://10.111.11.20:443/Serv//Interfa

Re: [PATCH] Added AUTH NTLM for SMTP (Part 2)

2011-08-05 Thread Michael Wood
On 5 August 2011 13:14, Steve Holme wrote: > On Fri, 5 Aug 2011, Michael Wood wrote: > >> I've not used TortoiseGit, so I'm not sure exactly what you're doing. >> >> Basically, you should be doing a "git fetch" (or "git fetch origin >&g

Re: [PATCH] Added AUTH NTLM for SMTP (Part 2)

2011-08-05 Thread Michael Wood
t used TortoiseGit, so I'm not sure exactly what you're doing. Basically, you should be doing a "git fetch" (or "git fetch origin master") to update the origin/master remote branch to the latest version. Then you should rebase your current branch onto origin/master.

Re: how to disable logs for ftp delete using curl library

2011-07-29 Thread Michael Wood
mand.c_str()); >          curl_easy_setopt(m_curl, CURLOPT_QUOTE, headerlist); >          res = curl_easy_perform(m_curl); >          curl_slist_free_all (headerlist); Try setting CURLOPT_NOBODY. -- Michael Wood --- List

Re: Access denied error while get/put

2011-07-05 Thread Michael Wood
fault but the slowest behavior." Set CURLOPT_VERBOSE to see what libcurl is actually doing, or use CURLOPT_DEBUGFUNCTION for more details. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: package require TclCurl 7.19.0

2011-06-29 Thread Michael Wood
Linux (RPM or DEB, Sparc, Alpha, ARM, etc., etc., etc.)... -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Reproducible crash in Curl-7.21.7 (on windows)

2011-06-29 Thread Michael Wood
returns Http-code 407 for >> some reason. In that case curl assumes that there is a proxy involved which >> might be wrong. > > It is a fun server response though, as 407 is meant for proxies. Perhaps the server is acti

Re: Accessing the Registry of remote computer through Curl\libcurl

2011-06-19 Thread Michael Wood
s this: http://www.samba-tng.org/docs/tng/htmldocs/rpcclient.8.html -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: [Cross-compiling] "#error "CURL_SIZEOF_LONG definition is missing!""

2011-06-10 Thread Michael Wood
h/to/install/curl-config --cflags` \ >  LDFLAGS=`-static /path/to/install/curl-config --static-libs` I suppose you meant something like this? LDFLAGS="-static `/path/to/install/curl-config --static-libs`" Does this work with a cross-compiled curl, though? (I haven't tried it.) -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Mac OS 32-bit libcurl (was Re: use libcurl source files directly rather than link with library)

2011-05-30 Thread Michael Wood
er? Or is it newly created > with the configure command? Typical configure scripts tend to check the same thing more than once (or at least that's my impression). So you will probably find that closer to the start it says: checking for inttypes.h... yes checking for stdint.h... yes T

Re: Mac OS 32-bit libcurl (was Re: use libcurl source files directly rather than link with library)

2011-05-30 Thread Michael Wood
instead of "set". I haven't used csh in a long time, so I'm not sure if the above will help. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Core dump when authentication fails?

2011-05-27 Thread Michael Wood
ack = 0xff1aa958 = > &`libcurl.so.4.2.0`ssh.c`kbd_callback(const char *name, int name_len, const > char *instruction, int instruction_len, int num_prompts, const > LIBSSH2_USERAUTH_KBDINT_PROMPT *prompts, LIBSSH2_USERAUTH_KBDINT_RESPONSE > *responses, void **abstract)), line 1489 in &

Re: Re: may i change the time of CURLE_OPERATION_TIMEDOUT

2011-05-17 Thread Michael Wood
tively abort the operation, is there any other >> callback i can use to make the curl_easy_perform return immediately when the >> network is broken? > > Use the progress callback or one of the many timeout options. Or CURLOPT_LOW_SPEED_LIMI

Re: error when compiling cUrl in win xp with openssl using winbuild (command line)

2011-05-14 Thread Michael Wood
in32_ascii_to_idn > > who can i get rid of them ? > > Thanks This is the third time in about two weeks that someone has asked what looks to me like basically the same question. Please check the FAQ on http://curl.haxx.se/ and s

Re: curllib_static.lib linking errors

2011-05-12 Thread Michael Wood
curllib_static.lib provided with libcurl-7.19.3-win32-ssl-msvc > package. > > Can anyone kindly guide me to resolve the above issues? See if this helps: http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur -- Michael Wood -

Re: Problems using libcurl in Qt Creator

2011-05-06 Thread Michael Wood
; > In short: > undefined reference to `_imp__curl_easy_init' > using: http://www.gknw.net/mirror/curl/win32/curl-7.21.6-devel-mingw32.zip > my build system: windows 7 x64, qt creator 2.0.1, qt 4.7.0 See if this helps: http://curl.haxx.se/docs/faq.html#Link_err

Re: libcURL application failed to initialize properly

2011-04-26 Thread Michael Wood
;>     curl_easy_setopt(curl, CURLOPT_URL, "www.linux.com"); This should be "https://www.linux.com"; and not just "www.linux.com". -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: libcurl-sftp: upload multiple files

2011-04-26 Thread Michael Wood
On 26 April 2011 09:11, Michael Wood wrote: > On 26 April 2011 02:30, aiooua wrote: >> hello, >> I'm uploading a big bunch of files to an sftp server using libcurl. Can >> someone point me to a sample or general guideline on how multiple FTP >> uploads can be p

Re: libcurl-sftp: upload multiple files

2011-04-26 Thread Michael Wood
t has a command line client similar to an FTP client.) Either way, I don't think there's a way to have one control connection with FTP and multiple data connections. With sftp maybe "master mode" will do what you want. But I susp

Re: Unified asynch name resolving

2011-04-25 Thread Michael Wood
ces the asyn.h header > file that holds the prototypes and structs for the new internal asynch > resolver API. http://translate.google.co.za/#auto|en|asyn :) -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/cu

Re: Buidling Libcurl

2011-03-20 Thread Michael Wood
included with the source code for how to build libcurl from a Git clone. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: EPSV vs PASV

2011-02-05 Thread Michael Wood
g something? (BTW, the same question applies to > choosing between passive and active mode). Indeed :) > I LOVE curl, but obviously I want to understand why I can't achieve > something that other FTP clients can - and if I can achieve this, then what > am I doing w

Re: EPSV vs PASV

2011-01-19 Thread Michael Wood
e an ABOR command would work. But, first try the latest version of libcurl, because it might already do something like this. I have not checked. > * Bad PASV/EPSV response: 425 > * Remembering we are in dir "" > * Connection #0 to host ftp.postmedia.com left intact > curl: (13

Re: Windows CE

2011-01-08 Thread Michael Wood
..] using the Lesser GPL permits use of the library in proprietary programs[...]" Please feel free to ignore my opinion, though :) I am not a lawyer. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: How to configure the library to behave like the command line?

2011-01-07 Thread Michael Wood
quot; on the end of the curl command.) But perhaps the versions of the curl library that you downloaded do not have NTLM support compiled in. You might want to download the source code and compile it yourself with whatever options

Re: TLS security in Curl

2011-01-06 Thread Michael Wood
Hi On 5 January 2011 23:22, amit paliwal wrote: > > On Wed, Jan 5, 2011 at 3:45 PM, amit paliwal > wrote: >> >> On Wed, Jan 5, 2011 at 1:25 PM, Michael Wood wrote: [...] >>> Well, this seems like you need to do a normal request using >>> curl_easy_p

Re: TLS security in Curl

2011-01-05 Thread Michael Wood
On 5 January 2011 19:26, amit paliwal wrote: > > On Wed, Jan 5, 2011 at 12:15 PM, Michael Wood wrote: [...] >> By the way, I am interested if you already have a server that you are >> trying to talk to or if you still need to create the server. > > Yes, I do have the S

Re: TLS security in Curl

2011-01-05 Thread Michael Wood
By the way, I am interested if you already have a server that you are trying to talk to or if you still need to create the server. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: blocking IO through curl_easy_perform()

2010-12-31 Thread Michael Wood
On 31 December 2010 19:26, amit paliwal wrote: > > On Fri, Dec 31, 2010 at 11:32 AM, Michael Wood wrote: [...] >> After reading all of your recent messages I have come to the >> conclusion that you have a fundamental misunderstanding of how HTTP >> works and how "ser

Re: blocking IO through curl_easy_perform()

2010-12-31 Thread Michael Wood
wants to send a different request that it needs an immediate response to (i.e. not a "reply" to a "server-sent event") then it can do that e.g. on a new curl handle and the server must know that that request needs an immediate response. I hope that clarifies things for you. -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: [patch] possible SMTP example

2010-12-16 Thread Michael Wood
n also use an smtps:// URL > here */ >    curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.net."); [...] I believe that if you set it to: smtp://mail.example.net/client.example.net libcurl sends a EHLO (or HELO) command with "

Re: "Unknown SSL protocol" when accessing server from AIX host

2010-12-08 Thread Michael Wood
: $ openssl s_client -starttls smtp -connect smtp.gmail.com:587 -- Michael Wood --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: Need urgent help for HTTPS

2010-11-24 Thread Michael Wood
ly. Steps 1 and 2 sound like HTTP (or HTTPS). > 3) server can send asynchronous messages and I will have to read it. > 4)  I can also send asynchronous messages and reply to the messages coming > from server. These do not so

  1   2   3   >