Re: Add command line option for Negotiate-Delegate

2011-08-12 Thread Adam Young
On 08/12/2011 05:09 PM, Daniel Stenberg wrote: On Fri, 12 Aug 2011, Adam Young wrote: Can you send me the patch? I tried applying from the web page, but I think it messes up the formatting. Even better, I've just pushed it as commit 5538904d775161d1a0fa. See https://github.com/bagder/curl/c

Re: How to use libcurl for TFTP

2011-08-12 Thread Daniel Stenberg
On Fri, 12 Aug 2011, Ruben BEAUJOLAIS wrote: Could some one give me an example of libcurl usage for TFTP protocol, please? 1. Use http://curl.haxx.se/libcurl/c/simple.html 2. Replace the URL with something like: "tftp://example.com:78/filename"; -- / daniel.haxx.se -

Re: Add command line option for Negotiate-Delegate

2011-08-12 Thread Daniel Stenberg
On Fri, 12 Aug 2011, Adam Young wrote: Can you send me the patch? I tried applying from the web page, but I think it messes up the formatting. Even better, I've just pushed it as commit 5538904d775161d1a0fa. See https://github.com/bagder/curl/commit/5538904d775161d1a0fa3ebb77 I'll follow up

Re: Add command line option for Negotiate-Delegate

2011-08-12 Thread Adam Young
On 08/12/2011 04:37 PM, Daniel Stenberg wrote: On Fri, 12 Aug 2011, Adam Young wrote: Now that libcurl once again has an option for delegating credentials in the GSSAPI, it is possible to re-enable this ability in the command line as well. Just as it the caller must now explicitly set the op

Re: Add command line option for Negotiate-Delegate

2011-08-12 Thread Daniel Stenberg
On Fri, 12 Aug 2011, Adam Young wrote: Now that libcurl once again has an option for delegating credentials in the GSSAPI, it is possible to re-enable this ability in the command line as well. Just as it the caller must now explicitly set the option CURLOPT_GSSAPI_DELEGATION in the call to Cu

Re: [PATCH] Added AUTH NTLM for SMTP

2011-08-12 Thread Yang Tse
Hi Steve, Given that 0001-Moved-ntlm-specific-code-into-separate-curl_ntlm-mod_3.patch still contained portions which were spacing, indentation, capitalization or comment related, I've extracted those parts from it in order to commit that. Additionally I've done some changes to simplify verificat

Re: Re: Problem using static libraries libcurl with OpenSSL, minGW,Eclipse

2011-08-12 Thread Gisle Vanem
"Oleksiy" wrote: g++ -DCURL_STATICLIB -O0 -g3 -Wall -c -fmessage-length=0 -osrc\main.o ..\src\main.cpp g++ -L..\lib -oYTUploader.exe src\main.o -lcurl -lws2_32 -lwldap32 -leay32 -lssleay32 -lz The same thing Try producing a .map file then: g++ -Wl,--print-map,--sort-common,--cref

Add command line option for Negotiate-Delegate

2011-08-12 Thread Adam Young
Now that libcurl once again has an option for delegating credentials in the GSSAPI, it is possible to re-enable this ability in the command line as well. Just as it the caller must now explicitly set the option CURLOPT_GSSAPI_DELEGATION in the call to Curl_gss_init_sec_context, it needs to be

Re: Re: Problem using static libraries libcurl with OpenSSL, minGW, Eclipse

2011-08-12 Thread Oleksiy
g++ -DCURL_STATICLIB -O0 -g3 -Wall -c -fmessage-length=0 -osrc\main.o ..\src\main.cpp g++ -L..\lib -oYTUploader.exe src\main.o -lcurl -lws2_32 -lwldap32 -leay32 -lssleay32 -lz The same thing --- List admin: http://cool.h

Re: Problem using static libraries libcurl with OpenSSL, minGW, Eclipse

2011-08-12 Thread Gisle Vanem
"Oleksiy" wrote: It is compiled with this: g++ -DCURL_STATICLIB -O0 -g3 -Wall -c -fmessage-length=0 -osrc\main.o ..\src\main.cpp g++ -L..\lib -oYTUploader.exe src\main.o -lcurl -lcurldll -lws2_32 -lwldap32 -leay32 -lssleay32 -lz Here you link with both libcurl.a and libcurldll.a. I

How to use libcurl for TFTP

2011-08-12 Thread Ruben BEAUJOLAIS
Hello all, Could some one give me an example of libcurl usage for TFTP protocol, please? I'm writing a C++ program for Windows Embedded 2009 platform.I just want to transfer a file (myfile) to a TFTP server (mytftpserver) using the port number 78. I did not figure out how to do so. Thank you v

Problem using static libraries libcurl with OpenSSL, minGW, Eclipse

2011-08-12 Thread Oleksiy
I downloaded compiled static libs of OpenSSL, from here - http://www.shininglightpro.com/download/Win32OpenSSL-1_0_0d.exe , this link is on the official cUrl site in Download page. I downloaded Zlib and compiled them, then I compiled libcurl with mingw32-make mingw32-ssl-zlib I ch