Re: Help, before I cry myself to death

2013-02-04 Thread Daniel Stenberg
On Mon, 4 Feb 2013, Jesse Nicholson wrote: I'm wondering if there is some way that CURL does local caching of HTTP content? No it doesn't. Ever. -- / daniel.haxx.se --- List admin: http://cool.haxx.se/list/listinfo/curl-library

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

2013-02-04 Thread chu ngoc hung
*Here is my log* (when disable host/peer): * About to connect() to dysoft-mobile.com port 21 (#0) * Trying 69.195.91.50... * connected * Connected to dysoft-mobile.com (69.195.91.50) port 21 (#0) * FTP 0x282dda0 state change from STOP to WAIT220 < 220-- Welcome to Pure-FTPd [privsep] [TL

Re: Help, before I cry myself to death

2013-02-04 Thread Jesse Nicholson
Thanks everyone for the input... I still havnt resolve the issue but it appears that Amazon might be lying when it said it has propagated the cache dump to all servers. At least that's the best sense I can make of it. I'll post back... On Mon, Feb 4, 2013 at 11:33 PM, Alan Wolfe wrote: > No idea

Re: Help, before I cry myself to death

2013-02-04 Thread Alan Wolfe
No idea on this issue specifically (sorry), but a handy little tip... if you ever want to defeat caching (like as a temporary work around...) you can append a random number onto the end of a URL and that basically defeats every single caching mechanism there is. For instance instead of: http://myu

Re: Help, before I cry myself to death

2013-02-04 Thread Ben Greear
On 02/04/2013 08:23 PM, Jesse Nicholson wrote: I'm wondering if there is some way that CURL does local caching of HTTP content? I'm developing an app that fetches up small html files and my server is giving them to CURL through Amazon CloudFront. I had no issue till today, when I realized that

Help, before I cry myself to death

2013-02-04 Thread Jesse Nicholson
I'm wondering if there is some way that CURL does local caching of HTTP content? I'm developing an app that fetches up small html files and my server is giving them to CURL through Amazon CloudFront. I had no issue till today, when I realized that my server wasn't passing along the following in the

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

2013-02-04 Thread Nick Zitzmann
On Feb 4, 2013, at 7:14 PM, chu ngoc hung wrote: > Thanks for your rely, > > Yes, I use to connect to my host only for research purpose, and I've got a > success result for a FTP-SSL connection to connect to my local server > (self-signed certificate). > With current server (dysoft-mobile.com

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

2013-02-04 Thread chu ngoc hung
Thanks for your rely, Yes, I use to connect to my host only for research purpose, and I've got a success result for a FTP-SSL connection to connect to my local server (self-signed certificate). With current server (dysoft-mobile.com) when i disable host or peer verification the connection is alway

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

2013-02-04 Thread Vijay Panghal
In Pseudo Form it goes something like this fetchNextAvailCurlHandle(void) { CurlHandleState* curlHandle = NULL; int32_t numHandles = 0; do { while (curl_multi_perform(multiHandle_, &numHandles) == CURLM_CALL_MULTI_PERFORM); // Read multi_info_read for

Re: Problem linking on mingw

2013-02-04 Thread Yves Arrouye
You probably need to define proper linkage for the function in the header file. It is: int Curl_inet_pton(int, const char *, void *); and you'd want CURL_EXTERN int Curl_inet_pton(int, const char *, void *); so that the symbol is externalized properly. YA ­­­ Learn about GPT se

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

2013-02-04 Thread Daniel Stenberg
On Mon, 4 Feb 2013, Vijay Panghal wrote: We are using libcurl 7.28.1 with OpenSSL and default windows resolver. Ok, great. Can you also show us a complete example source code that repeats this problem if pointed a non-responding HTTPS site and a responding HTTP one? -- / daniel.haxx.se --

Re: [PATCH] Fix CURLMOPT_MAXCONNECTS

2013-02-04 Thread Daniel Stenberg
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 the line endings etc. (A little nit: in commit

Re: Problem linking on mingw

2013-02-04 Thread Ben Greear
On 02/04/2013 02:05 PM, Ben Greear wrote: I patched the curl tool to allow some new commands, some of which required Curl_inet_pton. This links fine on Linux, but when compiling with mingw (on linux), I'm getting the linking problem below. If I manually add: ../lib/.libs/libcurl_la-inet_pton.o

Problem linking on mingw

2013-02-04 Thread Ben Greear
I patched the curl tool to allow some new commands, some of which required Curl_inet_pton. This links fine on Linux, but when compiling with mingw (on linux), I'm getting the linking problem below. If I manually add: ../lib/.libs/libcurl_la-inet_pton.o to the link objects, then it links fine.

Re: pthread_cancel while in curl_easy_perform

2013-02-04 Thread Daniel Stenberg
On Wed, 30 Jan 2013, Rich Gray wrote: It says "[when] you think the transfer is done." Does that mean there's going to be trouble if one removes and cleans up an an easy handle at an arbitrary point in a transfer (aside from possibly being rude to the server at the other end?) Will resources

Re: curl multi pipelining and CURLOPT_CONNECTTIMEOUT

2013-02-04 Thread Daniel Stenberg
On Mon, 4 Feb 2013, Török Edwin wrote: Would you be able to provide a recipe that we can use to repeat the problem? Like source code for a stand-alone app that shows it happening or similar. I've sent a testcase last week, did it get lost? http://curl.haxx.se/mail/lib-2013-01/att-0341/curlte

Re: Windows fixes

2013-02-04 Thread Daniel Stenberg
On Mon, 4 Feb 2013, Sergei Nikulov wrote: Unfortunately cmake build system is poorly maintained (unsupported) for curl. Part of your fix (openssl) was proposed here http://curl.haxx.se/mail/lib-2013-01/0221.html But nobody step up and defend/reject it. Will wait for Daniel's decision. Thanks,

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

2013-02-04 Thread Daniel Stenberg
On Mon, 4 Feb 2013, Christian Hägele wrote: You are right that this is ugly if you were dependent on that workaround. However, I believe that not many people are experience these problems. I don't know when the CURL_MAX_WRITE_SIZE was lowered from 20Kib to 16KiB, but there is a chance that the

Re: curl multi pipelining and CURLOPT_CONNECTTIMEOUT

2013-02-04 Thread Török Edwin
On 02/04/2013 11:17 PM, Daniel Stenberg wrote: > On Tue, 29 Jan 2013, Török Edwin wrote: > I am using the curl multi interface and I see a lot of timeouts on slowish links (all fine on fast links of course). I have concluded that CURLOPT_CONNECTTIMEOUT sets not only the timeout fo

Re: curl multi pipelining and CURLOPT_CONNECTTIMEOUT

2013-02-04 Thread Daniel Stenberg
On Tue, 29 Jan 2013, Török Edwin wrote: I am using the curl multi interface and I see a lot of timeouts on slowish links (all fine on fast links of course). I have concluded that CURLOPT_CONNECTTIMEOUT sets not only the timeout for connect(), but also the timeout for starting to receive a repl

Re: Small bug in build process

2013-02-04 Thread Daniel Stenberg
On Fri, 1 Feb 2013, Joe Pletcher wrote: I think I've found a small bug in the build script for curl, 7.28.1. I'm also fairly sure I know what's wrong, but I'm not sure where to fix it. joe@joe-dell:~/curl-7.28.1$ ./configure --prefix=/home/joe --without-librtmp --disable-ftp --disable-file --

Re: [PATCH] Support for OAuth 2.0 two-legged authorization and the HTTP MAC Internet-Draft

2013-02-04 Thread Daniel Stenberg
On Mon, 4 Feb 2013, Yves Arrouye wrote: (Please don't top-post!) I was also wondering if there was some guidelines for naming #defines/constants in cURL. It seems that there is not one convention, e.g. I can see CURLOPT_PROGRESSDATA (words bunched together) as well as CURLOPT_LOW_SPEED_LIMIT.

Re: [PATCH] Support for OAuth 2.0 two-legged authorization and the HTTP MAC Internet-Draft

2013-02-04 Thread Yves Arrouye
I was also wondering if there was some guidelines for naming #defines/constants in cURL. It seems that there is not one convention, e.g. I can see CURLOPT_PROGRESSDATA (words bunched together) as well as CURLOPT_LOW_SPEED_LIMIT. Is one style more current than another? I went for the second style.

Re: Errors/crashes with FTP using multi interface?

2013-02-04 Thread Nick Zitzmann
On Feb 4, 2013, at 5:28 AM, Sam Deane wrote: > It may be a coincidence, but at some level both problems appear to be caused > by the curl internals getting confused about which response it's supposed to > be processing. This leads me to suspect that the underlying issue may be the > same. >

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

2013-02-04 Thread Nick Zitzmann
On Feb 4, 2013, at 3:48 AM, chu ngoc hung wrote: > Hi guys, > > I'm using libcurl version 7.28.0 - with ssl (openssl) - to connect to server > dysoft-mobile.com hosting by bluehost.com with ftp+ssl connection. I > downloaded certificate from this server and add to my ca path before connect >

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

2013-02-04 Thread Christian Hägele
Am 04.02.2013, 14:09 Uhr, schrieb Daniel Stenberg : As nobody knows the reason for that workaround exactly I would suggest to make an option to set SO_SNDBUF. The problem with that is that nobody would ever know when to set that option or not. You basically would just have to experience th

Re: [curl:bugs] #1186 winbuild chain should include .res to link arguments (fwd)

2013-02-04 Thread Patrick Spendrin
Am 04.02.2013 14:39, schrieb Daniel Stenberg: > Hello friends! > > Anyone with skills in building on Windows care to comment on this? > looks good. regards, Patrick --- List admin: http://cool.haxx.se/list/listinfo/curl-library Et

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

2013-02-04 Thread Daniel Stenberg
On Sun, 3 Feb 2013, Vijay Panghal wrote: I am writing application that can connect to the server over http/httpS. I build these two urls and add it to multi-interface handle. And as soon as I get response from any URL, I process that data and do rest of the cleanup. But what I am finding that

[curl:bugs] #1186 winbuild chain should include .res to link arguments (fwd)

2013-02-04 Thread Daniel Stenberg
Hello friends! Anyone with skills in building on Windows care to comment on this? --- ** [bugs:#1186] winbuild chain should include .res to link arguments** **Status:** open **Labels:** windows build **Created:** Mon Feb 04, 2013 10:34 AM UTC by Andrew Kurushin **Last Updated:** Mon Feb 04, 20

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

2013-02-04 Thread Daniel Stenberg
Hi friends, I need a little help from someone with decent Windows knowledge to comment on and massage this issue! --- ** [bugs:#1187] winsspi ssl engine was unable connect through ssl** **Status:** open **Labels:** ssl winsspi windows **Created:** Mon Feb 04, 2013 10:36 AM UTC by Andrew Kuru

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

2013-02-04 Thread Daniel Stenberg
On Fri, 1 Feb 2013, Christian Hägele wrote: The problem described in http://support.microsoft.com/kb/823764 doesn't seems to apply to Win-Vista. So do you mean Curl_sendbufset() should not be set for Vista/2008 R2? If so, there should be an adaption to the running Windows version. Try it; ref.

Errors/crashes with FTP using multi interface?

2013-02-04 Thread Sam Deane
Hi all, I'm using the multi interface, and I'm seeing two problems when using FTP, which may well be related to each other. I believe, although I'm not certain, that both problems occur more often when using CURLOPT_PREQUOTE or CURLOPT_POSTQUOTE. What seems to be happening is that curl is get