On Thu, 9 Aug 2012, 黎小辉 wrote:
(I brought back the original and more descriptive subject)
My question is what should I do if 503 return from server in my app?
You need to figure out what in the request that makes the server respond like
this. I would suggest you modify your libcurl request
Hi,
I'm using libcurl 7.27.0 with schannel on windows with MSVC2008,
with https.
My code runs allocates and deallocates handles on demand, and
adds/removes them all to a single multi handle, so always
curl_easy_init()
curl_easy_setopt()...
curl_multi_add_handle()
curl_multi_perform()...
Hi , Daniel StenbergThanks for your reply!Below is the http request of the VLC
player:GET / HTTP/1.1
Host: iptv.tjurk.com:5953
User-Agent: VLC/2.0.3 LibVLC/2.0.3
Range: bytes=0- // my app have no this request
Connection: close // my app
You can add custom headers to your request by creating a list of them with
curl_slist_append and then passing that list to
curl_easy_setopt(CURLOPT_HTTPHEADER). See the example at
http://curl.haxx.se/libcurl/c/curl_slist_append.html.
But looking at this I think the problem is that you're
Frank,
I'm using libcurl 7.27.0 with schannel on windows with MSVC2008, with https.
...
If I then call curl_multi_cleanup() (when shutting down the entire program), I
get accesses to free()d memory in schannel connection cleanup. I don't get
such issues on linux with gnutls.
The attached
Hi,
When using curl to upload files to a pastebin, I noticed that `curl -v
-F file=@/proc/cpuinfo http://...` will send an http request stating
that the file is empty, but it reads the contents anyway and the server
(apache in my case) returns 400 Bad Request because it didn't expect
the content.
On Thu, 9 Aug 2012, Florian Pritz wrote:
When using curl to upload files to a pastebin, I noticed that `curl -v -F
file=@/proc/cpuinfo http://...` will send an http request stating that the
file is empty, but it reads the contents anyway and the server (apache in my
case) returns 400 Bad
On 09.08.2012 22:50, Daniel Stenberg wrote:
On Thu, 9 Aug 2012, Florian Pritz wrote:
When using curl to upload files to a pastebin, I noticed that `curl -v -F
file=@/proc/cpuinfo http://...` will send an http request stating that the
file is empty, but it reads the contents anyway and the
On Thu, Aug 09, 2012 at 11:13:13PM +0200, Florian Pritz wrote:
So far I have only seen this happen for files read from some pseudo file
system like /proc and those tend to be small.
The same thing would happen, for example, on block devices, pipes or
special character devices.
I think you
From: curl-library [curl-library-boun...@cool.haxx.se] on behalf of Florian
Pritz [bluew...@xinu.at]
Sent: Thursday, August 09, 2012 5:13 PM
To: curl-library@cool.haxx.se
Subject: Re: Wrong http request size calculation when uploading /proc/cpuinfo
So far I have only seen this happen for
37. Having more than one connection to the same host when doing NTLM
authentication (with performs multiple passes and authenticates a
connection rather than a HTTP request), and particularly when using the
multi interface, there's a risk that libcurl will re-use a wrong connection
when
Am 10.08.2012 00:08, schrieb Joe Mason:
I think if the OS filesystem is not returning the right value from
stat, that's not curl's problem. I would fix this by capping the
amount of data sent to that returned by stat (and maybe printing a
warning that not all the file data was sent, and why).
Hi,
just saw that Tor's autobuilds are broken:
http://curl.haxx.se/dev/log.cgi?id=2012081140-4441#prob1
probably this
e351972 SSH: added agent based authentication
either needs configure to check for the libssh2 version, or a test for
the struct member?
Gün.
13 matches
Mail list logo