Re: Windows Multi-curl https curl request overshadowing http request

2013-02-05 Thread Daniel Stenberg
On Mon, 4 Feb 2013, Vijay Panghal wrote: In Pseudo Form it goes something like this // Read multi_info_read for ant valid handle if ((curlHandle = getAvailableHandleState()) != NULL) { // We found the response, from handle, start using it break; I think I

Re: libcurl: Problem when connect to a shared hosting server over ftp+ssl

2013-02-05 Thread Dan Fandrich
On Tue, Feb 05, 2013 at 02:16:01PM +0700, chu ngoc hung wrote: Here is my log (when disable host/peer): [...] * FTP 0x282dda0 state change from QUOTE to PASV * Connect data stream passively 229 Extended Passive mode OK (|||38012|) *   Trying 69.195.91.50... * Operation timed out *

Re: Windows Multi-curl https curl request overshadowing http request

2013-02-05 Thread Daniel Stenberg
On Tue, 5 Feb 2013, Vijay Panghal wrote: Please don't top-post. It makes reading mail painful. I want to terminate as soon as I get response from either of the url. I do not want to wait for response from other lazy url. Is this semantics not supported with libcurl ? Sorry, yes it is

Re: Windows Multi-curl https curl request overshadowing http request

2013-02-05 Thread Vijay Panghal
I want to terminate as soon as I get response from either of the url. I do not want to wait for response from other lazy url. Is this semantics not supported with libcurl ? On Mon, Feb 4, 2013 at 11:51 PM, Daniel Stenberg dan...@haxx.se wrote: On Mon, 4 Feb 2013, Vijay Panghal wrote: In

Re: [PATCH] Fix CURLMOPT_MAXCONNECTS

2013-02-05 Thread Linus Nielsen Feltzing
On 02/04/2013 11:50 PM, Daniel Stenberg wrote: On Wed, 23 Jan 2013, Linus Nielsen Feltzing wrote: And here is the third version. No more hard coded IP address and port number in the test case. Okay, here's the patch I just created after applying yours and some fiddling. Gzipped to preserve

Re: libcurl: Problem when connect to a shared hosting server over ftp+ssl

2013-02-05 Thread Daniel Stenberg
On Tue, 5 Feb 2013, chu ngoc hung wrote: Please stop top-posting. I tried to connect with --ftp-ssl-ccc option, either passive or active, but i receive the same result (same error). --ftp-port option is always 21 (default). Read the docs: --ftp-port is about using the PORT command that

Re: Slow Upload Performance on High-Bandwidth connections on windows

2013-02-05 Thread Daniel Stenberg
On Tue, 5 Feb 2013, Pierre Joye wrote: But yes, it needs improvements here. I can't think of any better way to solve this than to detect OS level at run-time and only SNDBUF if = windows 2008, so that Vista and later won't get it changed. It is possible to detect at runtime the OS version

Headsup: Lately curl builds fail on AIX, Solaris

2013-02-05 Thread Tor Arntsen
Just to let you know (before the upcoming release..) that there's a problem in libcurl which affects AIX and Solaris. Take a look at the last few days of autobuilds and you'll notice that all test servers are reported as not starting. I've verified that they do start, but curl is unable to connect

Re: Headsup: Lately curl builds fail on AIX, Solaris

2013-02-05 Thread Daniel Stenberg
On Tue, 5 Feb 2013, Tor Arntsen wrote: Just to let you know (before the upcoming release..) that there's a problem in libcurl which affects AIX and Solaris. Take a look at the last few days of autobuilds and you'll notice that all test servers are reported as not starting. I've verified that

Re: Help, before I cry myself to death

2013-02-05 Thread Jesse Nicholson
Ok! Thanks bro! It was indeed Amazon CloudFront lying to me and not really purging the cache on all servers. On Tue, Feb 5, 2013 at 2:49 AM, Daniel Stenberg dan...@haxx.se wrote: On Mon, 4 Feb 2013, Jesse Nicholson wrote: I'm wondering if there is some way that CURL does local caching of

Re: Headsup: Lately curl builds fail on AIX, Solaris

2013-02-05 Thread Tor Arntsen
On Tue, Feb 5, 2013 at 11:38 AM, Daniel Stenberg dan...@haxx.se wrote: Argh. I suspect 56b7c87c74d293 might be the culprit as it modified connect stuff. It might need a little research exactly how the code path goes when it fails. If you change the VCURL variable in runtests.pl to a separate

Re: Slow Upload Performance on High-Bandwidth connections on windows

2013-02-05 Thread Pierre Joye
hi! On Tue, Feb 5, 2013 at 11:05 AM, Daniel Stenberg dan...@haxx.se wrote: On Tue, 5 Feb 2013, Pierre Joye wrote: But yes, it needs improvements here. I can't think of any better way to solve this than to detect OS level at run-time and only SNDBUF if = windows 2008, so that Vista and later

Re: Headsup: Lately curl builds fail on AIX, Solaris

2013-02-05 Thread Tor Arntsen
Here's a fix. singleipconnect() didn't copy back sockfd to *sockp if it reached the end of the function (the no-error case). Had some trouble coming up with a good commit comment! :) Subject: [PATCH] singleipconnect: Update *sockp for all CURLE_OK The 56b7c87c7 change left a case where a good

Re: Slow Upload Performance on High-Bandwidth connections on windows

2013-02-05 Thread Курушин Андрей
Hello According to my investigation at http://sourceforge.net/p/curl/bugs/1188/#ca3a skipping of SO_SNDBUF adjustment does not solve low performance. Thanks Andrei 05.02.2013, в 19:50, Pierre Joye pierre@gmail.com написал(а): hi! On Tue, Feb 5, 2013 at 11:05 AM, Daniel Stenberg

Re: Headsup: Lately curl builds fail on AIX, Solaris

2013-02-05 Thread Daniel Stenberg
On Tue, 5 Feb 2013, Tor Arntsen wrote: Here's a fix. singleipconnect() didn't copy back sockfd to *sockp if it reached the end of the function (the no-error case). You rock Tor! Thanks for that, merged and pushed just now. -- / daniel.haxx.se

Anyone able to build javacurl.dll in win 7 using mingw32

2013-02-05 Thread ALLWIN JEFRED
Hi Curl Users, Has anyone been able to build curl for java binding using the below code http://svwe10.itex.at/curl/curl-java/ I tried it in mingw32 using Win7 32 bit got errors that some of the library files are not found I am trying to build curl with ssl support Do i need to build any other

Re: Slow Upload Performance on High-Bandwidth connections on windows

2013-02-05 Thread Christian Hägele
Курушин Андрей ajax16384 at gmail.com writes: According to my investigation at http://sourceforge.net/p/curl/bugs/1188/#ca3a skipping of SO_SNDBUF adjustment does not solve low performance. I looked at your patch and that solved my issue with slow performance. I did not try to change the

Re: Slow Upload Performance on High-Bandwidth connections on windows

2013-02-05 Thread Курушин Андрей
win2k8r2 settings during previous tests: TCP Global Parameters -- Receive-Side Scaling State : enabled Chimney Offload State : automatic NetDMA State: enabled Direct Cache Acess (DCA):

Re: Slow Upload Performance on High-Bandwidth connections on windows

2013-02-05 Thread Christian Hägele
Thank you for your input. That rules out some misconfiguration in windows. In my opinion CURL_MAX_WRITE_SIZE should not have a big effect on the speed, because the TCP-stack shouldn't care in what chunks the application wants to send data over the TCP-connection. It can have an effect if the

Re: Slow Upload Performance on High-Bandwidth connections on windows

2013-02-05 Thread Daniel Stenberg
On Tue, 5 Feb 2013, Christian Hägele wrote: So i have 2 questions as follow up: Just a quick addition from me as well: stick with comparing plain (unencrypted FTP) to begin with so that we know it is plain and simple socket usage we play with. SFTP is an *entirely* different beast and for

Re: [curl:bugs] #1187 winsspi ssl engine was unable connect through ssl (fwd)

2013-02-05 Thread Marc Hoersken
Hello everyone, 2013/2/4 Daniel Stenberg dan...@haxx.se I need a little help from someone with decent Windows knowledge to comment on and massage this issue! Daniel, thanks for the separate hint on this issue. Otherwise I probably would have overlooked it. winsspi ssl engine was unable

Re: Anyone able to build javacurl.dll in win 7 using mingw32

2013-02-05 Thread Guenter
Hi Allwin, Am 05.02.2013 18:57, schrieb ALLWIN JEFRED: Has anyone been able to build curl for java binding using the below code http://svwe10.itex.at/curl/curl-java/ I tried it in mingw32 using Win7 32 bit got errors that some of the library files are not found I am trying to build curl with

Re: POP3 + DISABLE_CRYPTO_AUTH

2013-02-05 Thread Stanislav Ivochkin
Hello, Sorry for late response. I've just pushed a fix. Thanks a lot. I've done a fair amount of testing here, but since Exchange doesn’t support CRAM-MD5, I would appreciate it if you could give the latest version of the code a go to see if it fixes your scenario. Problem solved, good