Re: Problems with Windows Binaries

2010-11-24 Thread Dan Fandrich
On Wed, Nov 24, 2010 at 12:25:02PM +0100, Pierre Joye wrote: > Yes, the CryptoAPI is crypto safe (in decent windows versions, xp sp1+ > afair) and is also used by openssl btw. See an example here: > > http://lxr.php.net/opengrok/xref/PHP_5_3/win32/winutil.c#52 If OpenSSL already uses this, then d

Re: LibCurl built with SSL says Unsupported Protocol

2010-11-24 Thread Dan Fandrich
On Wed, Nov 24, 2010 at 04:51:52AM -0500, Brett wrote: > I have built LibCurl with openSSL 8 times over the last few days on Windows > using the Makefiles and the MSVC project files. It has built correctly every > time, but for some reason it is still not recognizing the HTTPS protocol in my > appl

Re: Need urgent help for HTTPS

2010-11-24 Thread Dan Fandrich
On Wed, Nov 24, 2010 at 12:15:40PM -0500, amit paliwal wrote: > Thanks Dan, so if I follow your words can my sequence of operations be like > this: > > 1) DO HTTP GET by setting options and then doing curl_easy_perform(). This > will > send the initial message to server. This will not only send

RE: libcurl-7.19.3-win32-ssl-msvc - release lib file is larger thandebug?

2010-11-24 Thread Jerry W. Rice
Gv, My concern relates to using a binary built by someone else that has an unexplainable size. I will move forward by rebuilding the source myself, so this isn't a major issue. It is my understanding that a debug binary includes many additional bytes of symbol table information that the

Re: Need urgent help for HTTPS

2010-11-24 Thread amit paliwal
Thanks Dan, so if I follow your words can my sequence of operations be like this: 1) DO HTTP GET by setting options and then doing curl_easy_perform(). This will send the initial message to server. 2) Then fetch the socket descriptor using some option and set the option CONNECT_ONLY and do a curl

Re: Need urgent help for HTTPS

2010-11-24 Thread Dan Fandrich
On Wed, Nov 24, 2010 at 11:01:56AM -0500, amit paliwal wrote: > Step 3 and 4 can be achieved if we use server -sent events. These facilitates > the server to send messages asynchronously. Now my question is how can I > achieve it using libcurl, or can I achieve it or not. can it be done by > regist

Re: Need urgent help for HTTPS

2010-11-24 Thread amit paliwal
Step 3 and 4 can be achieved if we use server -sent events. These facilitates the server to send messages asynchronously. Now my question is how can I achieve it using libcurl, or can I achieve it or not. can it be done by registering callbacks for header, read and write functions or do i just need

Re: Need urgent help for HTTPS

2010-11-24 Thread Michael Wood
Please don't top post. http://curl.haxx.se/mail/etiquette.html On 24 November 2010 17:07, amit paliwal wrote: > Hi Dan, > > Thanks for the reply. I appreciate. Well My protocol is definitely on top of > HTTPS. When I was using libcurl for the first time, I am able to send a GET > request to a Se

RE: SMTP authentication fails

2010-11-24 Thread Patrick Monnerat
Amr Oreaba wrote: > 2) To support CRAM-MD5, the server MUST know the clear text password. > I've seen some servers advertising the CRAM-MD5 authentication scheme while not being able to handle it properly. Are you sure you're not in this case ? Try CRAM-MD5 on the same server with another mail cl

Re: Need urgent help for HTTPS

2010-11-24 Thread amit paliwal
Hi Dan, Thanks for the reply. I appreciate. Well My protocol is definitely on top of HTTPS. When I was using libcurl for the first time, I am able to send a GET request to a Server and then when server sends some message then my callback mentioned in writedata gets called, all this happens when I

Re: SMTP authentication fails

2010-11-24 Thread Amr Oreaba
*** BE CAREFUL: you sent base64 data: you have published your SMTP login name to the world. Happily, cram-md5 authentication does not send the password, so there is no need you change it. If it add been a plain authentication, your password add been published too !!! ## Thanks for info > * Authen

Re: Problems with Windows Binaries

2010-11-24 Thread Pierre Joye
hi, Sorry for the late reply, I missed this mail. On Thu, Oct 28, 2010 at 10:25 PM, Dan Fandrich wrote: > On Thu, Oct 28, 2010 at 09:46:22PM +0200, David Graf wrote: >>     The problem occurs actually during the initialization. OpenSsl insists >>     on getting part of the RNG entropy using the

LibCurl built with SSL says Unsupported Protocol

2010-11-24 Thread Brett
I have built LibCurl with openSSL 8 times over the last few days on Windows using the Makefiles and the MSVC project files. It has built correctly every time, but for some reason it is still not recognizing the HTTPS protocol in my application. I am not sure what else I can do, and I have had n

Re: Example C++ code to "read/pull" an FTP file in small chunks

2010-11-24 Thread Dan Fandrich
On Mon, Nov 22, 2010 at 08:41:45PM -0500, Rich Chomiczewski wrote: > I'm looking for some example C++ code to read an FTP file just like any other > file i.e. read/pull the file in variable-length chunks.  Specifically, I need > to implement an interface like this (without having to first download

Re: CURLOPT_WRITEFUNCTION blocking?

2010-11-24 Thread Dan Fandrich
On Mon, Nov 22, 2010 at 06:16:23PM -0600, Randy Schuster wrote: > I'm forking a child that is using CURLOPT_WRITEFUNCTION. > > How do you block or wait until all of the data is written? > > I suspect the children processes are exiting before all the of data > is received. If you're using the eas

Re: Need urgent help for HTTPS

2010-11-24 Thread Dan Fandrich
On Mon, Nov 22, 2010 at 05:37:06PM -0500, amit paliwal wrote: > I am planning to use libcurl for my application. I am developing one > proprietary protocol which will be communicating with server on top of HTTPS. > Now I am not getting how can I make use of libcurl. If your proprietary protocol tr