How to obtain detailed SSL diagnostics after a transfer which used OpenSSL?

2012-10-07 Thread William Gallafent
Hi all, I'm interested in determining which compression method has been used for an HTTPS transfer performed using libcurl. I'm aware of the CURLOPT_SSL_CTX_FUNCTION option, which allows me to set a callback which is passed an SSL_CTX* just before a transfer is initiated. First question: is

Re: Making 7.27 problem

2012-10-07 Thread Marc Hoersken
Hi there, 2012/10/7 Jeff McKay jeff.mc...@comaxis.com: Yes, this seems to work. I changed line 109 in MakefileBuild.vc to be: SSL_CFLAGS = /DUSE_SSLEAY /DUSE_OPENSSL /I$(DEVEL_INCLUDE)/openssl could you please give the attached patch a try, too? Since ssluse.c is designed to work without

Re: How to obtain detailed SSL diagnostics after a transfer which used OpenSSL?

2012-10-07 Thread Peter Sylvester
On 10/06/2012 05:47 PM, William Gallafent wrote: Hi all, I'm interested in determining which compression method has been used for an HTTPS transfer performed using libcurl. I'm aware of the CURLOPT_SSL_CTX_FUNCTION option, which allows me to set a callback which is passed an SSL_CTX* just

Re: Handle multiple requests within the same session using cookies

2012-10-07 Thread Angelo Di Iorio
Can you please explain me how should I put the HTTP traffic on the mailing list? Should I copy and paste the traffic sniffed from wireshark (the tool I use) ? Thanks, I appreciate your help! 2012/9/24 Daniel Stenberg dan...@haxx.se: On Sun, 23 Sep 2012, Angelo Di Iorio wrote: My data is a

Re: fflush()ing libcurl's FILE* for the file:// protocol...

2012-10-07 Thread Dan Fandrich
On Sun, Oct 07, 2012 at 01:06:15AM +0200, Sebastian Rasmussen wrote: If it's truly needed, then sync() could always be called in the application's write callback that occurs immediately after the file write. Now I'm not following your reasoning. What write callback? Sorry, I meant the

Re: fflush()ing libcurl's FILE* for the file:// protocol...

2012-10-07 Thread Daniel Stenberg
On Fri, 5 Oct 2012, Sebastian Rasmussen wrote: I personally rather lean on simply changing the output to unbuffered unconditionally and always and instead rather have us rely on the file system layer doing the right thing. That would be completely backwards compatible too! Alright, how

Re: Stream to stdout even using CURL_WRITEFUNCTION

2012-10-07 Thread Daniel Stenberg
On Sun, 7 Oct 2012, Angelo Di Iorio wrote: I have a strange problem. As far as I understand looking on Google, once I set CURL_WRITEFUNCTION I shouldn't get any stream on the stdout at all... but I still have it. What exactly are you saying you get to stdout and what do you get to the write

Re: Handle multiple requests within the same session using cookies

2012-10-07 Thread Daniel Stenberg
On Sun, 7 Oct 2012, Angelo Di Iorio wrote: Can you please explain me how should I put the HTTP traffic on the mailing list? Should I copy and paste the traffic sniffed from wireshark (the tool I use) ? Thanks, I appreciate your help! Please don't top-post. You can get the HTTP traffic using

Re: Stream to stdout even using CURL_WRITEFUNCTION

2012-10-07 Thread Angelo Di Iorio
I got the same content on both sides. Thank you for your help Il giorno 07/ott/2012 23:14, Daniel Stenberg dan...@haxx.se ha scritto: On Sun, 7 Oct 2012, Angelo Di Iorio wrote: I have a strange problem. As far as I understand looking on Google, once I set CURL_WRITEFUNCTION I shouldn't get

Re: Stream to stdout even using CURL_WRITEFUNCTION

2012-10-07 Thread Daniel Stenberg
On Sun, 7 Oct 2012, Angelo Di Iorio wrote: I got the same content on both sides. Really. Please STOP the top-posting. You really can't get the same content on both sides, it is only ever delivered to a single function from within libcurl. The function pointer libcurl uses

Re: Making 7.27 problem

2012-10-07 Thread Jeff McKay
On 10/7/2012 2:55 AM, Marc Hoersken wrote: Hi there, 2012/10/7 Jeff McKay jeff.mc...@comaxis.com: Yes, this seems to work. I changed line 109 in MakefileBuild.vc to be: SSL_CFLAGS = /DUSE_SSLEAY /DUSE_OPENSSL /I$(DEVEL_INCLUDE)/openssl could you please give the attached patch a try, too?