On Thu, Sep 19, 2013 at 12:10:51PM -0700, Igor Korot wrote:
> Is it possible to get the directory of the remote machine?
For ftp, Yes. Just request a URL of the directory with a trailing backslash,
or use the CURLOPT_DIRLISTONLY option.
> What I'm looking for is the procedure to check for an upda
On Fri, Sep 20, 2013 at 11:45:07AM -0700, Prasanna Viswakumar wrote:
> Is it possible to get this ported to Java with the use of any of the Apache
> HTTP client libraries ?
There is a libcurl binding for Java available at
http://curl.haxx.se/libcurl/java/
>>> Dan
On Thu, Sep 19, 2013 at 12:54:47PM -0700, Igor Korot wrote:
> On Thu, Sep 19, 2013 at 12:24 PM, Dan Fandrich
> wrote:
> CURLOPT_TIMECONDITION
Actually, you'll want CURLOPT_TIMEVALUE as well.
>
> I googled a little and I guess this is what I will use as it is easi
On Tue, Sep 24, 2013 at 11:09:10PM -0400, Jeffrey Walton wrote:
> How do I have `make check` display its output?
>
> test 001...OK (1 out of 835, remaining: 88:44)
> test 002...OK (2 out of 835, remaining: 55:24)
> test 003...OK (3 out of 835, remaining: 43:59)
> test 004...OK (4 out of 83
On Tue, Oct 08, 2013 at 03:38:26PM -0400, Jeffrey Walton wrote:
> Is there a hardening guide available for libcurl?
>
> I'm interested in two aspects: (1) how to configure and build the
> library in a secure manner; and (2) how to use the library in a safe
> and secure manner.
There's a guide for
On Sat, Oct 12, 2013 at 01:53:49PM -0400, Kyle L. Huff wrote:
> I did however notice while I was poking around that the option
> '--bearer' might be slightly ambiguous in name. It doesn't create any
> conflict that I am aware of at the moment, however, OAUTH v2 is not
> the only authentication mech
On Sat, Oct 12, 2013 at 08:26:37PM -0400, Jeffrey Walton wrote:
> I'd like to disable Valgrind during self tests. Is there a switch to do so?
The easiest way is to run them with "make test TEST_Q='-a -s -n'"
>>> Dan
---
List admin: h
On Tue, Oct 15, 2013 at 03:26:40PM +0200, Christian Grothoff wrote:
> Here's an improved patch that makes this (presumably) SSL-backend
> independent. I only tested it with GnuTLS though, and some SSL
> backends are not supported by the patch. The patch would need to
> be applied on top of the 2n
On Tue, Oct 22, 2013 at 03:34:20PM +0200, Gisle Vanem wrote:
> Patch docs/examples/httpput.c for MSVC since it's missing :
>
> --- Git-latest/docs/examples/httpput.c 2013-01-28 15:48:38 +
> +++ docs/examples/httpput.c2013-10-09 11:54:26 +
> @@ -22,7 +22,9 @@
> #include
> #include
> #
On Thu, Oct 24, 2013 at 03:21:16PM +0200, Gisle Vanem wrote:
> Okay. I've tested the following with MSVC and MingW. htttput.c now
> simply uses stat():
Looks good to me!
>>> Dan
---
List admin: http://cool.haxx.se/list/listinfo/curl-
On Fri, Oct 25, 2013 at 04:29:35PM +0900, Sunil Chandrasekharan wrote:
> I am using libcurl for perfirming HTTP request and response to my webpage.
> But when getting response, i am not getting the complete server response. the
> response lines get truncated at one point ..and then nothing happens.
On Sat, Oct 26, 2013 at 11:29:22AM +1000, Mark Hessling wrote:
> I've been trying to use libcurl to read email on GMail via imap using
> Rexx/CURL. Under Linux this works without problems, however under
> Windows it fails.
>
> The curl executable exhibits the same behaviour as Rexx/CURL so I'm
>
On Sun, Oct 27, 2013 at 01:36:39PM +0100, Daniel Stenberg wrote:
> I think we should instead do one of these:
>
> 1) add a new type that would return a pointer to an object where the
> object would be option-specific. So in this case it'd return a
> pointer to a curl_tlsinfo struct (and that stru
On Thu, Nov 14, 2013 at 05:25:09PM +0100, Olivier Austina wrote:
> I try to use libcurl in C++ with the DBpedia Spotlight examples. this is the
> code following this example. But there is no result. I don't have an
> annotation.
> char *txt="http://spotlight.dbpedia.org/rest/spot/?text=President O
On Thu, Nov 14, 2013 at 01:00:03PM -0800, Dheeraj Sangamkar wrote:
> Is the curl_easy_perform supposed to return when the read callback function
> returns CURL_READFUNC_PAUSE?
No.
> If yes, how to get around the problem?
CURL_READFUNC_PAUSE is usually only useful when using the multi interface,
On Tue, Nov 19, 2013 at 12:46:20AM +0100, Christian Grothoff wrote:
> > If we went down this route, then I can see a reason for having the backend
> > as a member variable but I would still recommend that we have a lightweight
> > CURLINFO_SSL_BACKEND option so an application can easily find out wh
On Fri, Nov 22, 2013 at 05:03:03PM +0800, Badri Narayanan wrote:
> Hi,
> I'm trying to grab the URL that my CPE is being re-directed to from the server
> using the function
> "CURLINFO_REDIRECTED_URL". However it returns a null value for me. Please help
> me out.
Can you show us the headers ret
On Sat, Dec 07, 2013 at 03:12:36PM -0800, Nacho Man wrote:
> I have a question. When I use polarssl-1.2.8 instead of polarssl-1.3.2, it
> builds fine. No errors. Could the problem have something to do with me
> including the and header files?
> Maybe something of the older functions aren't ge
On Wed, Dec 11, 2013 at 12:27:43PM +0100, Gisle Vanem wrote:
> "刘英伟" <506017...@qq.com> wrote:
>
> >headerlist = curl_slist_append(headerlist, "rm abc.c");
> >result = curl_easy_setopt(curl, CURLOPT_POSTQUOTE, headerlist);
>
> Maybe the command should be "dele abc.c" under this SFTP-server.
No,
On Tue, Dec 17, 2013 at 01:58:38PM -0600, Marco A. Cruz Quevedo wrote:
> I am using libcurl
Then you should really be using the curl-library mailing list.
> .dll through FoxPro
Although, that list doesn't cover any binding in particular besides the
canonical C one. If there's a separate mailin
On Wed, Dec 18, 2013 at 10:55:43AM -0600, Marco A. Cruz Quevedo wrote:
> How do I set a file to receive any output as result of curl_easy_perform()
> function?
Did you try my suggestion in my reply? Did it work?
>>> Dan
---
List admi
On Wed, Dec 18, 2013 at 10:02:30AM +0800, 刘英伟 wrote:
> I use the curl_easy_getinfo() to get something about a file , but it does not
> work .
>
> res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
> res is 0 but filetime is a initial value.
>
> how to get information of a file on th
On Wed, Dec 18, 2013 at 01:17:36PM -0600, Marco A. Cruz Quevedo wrote:
> Thank you very much for your suggestion. The fact is that, in order to
> use CURLOPT_WRITEFUNCTION, I cannot find a way to pass a pointer to a
> function
> ( as documentation indicates) from visual FoxPro, so I have to use t
On Sat, Dec 21, 2013 at 02:22:06PM -0800, Nacho Man wrote:
> On Saturday, December 21, 2013 3:46 PM, Kublo Enter wrote:
>
> I have undefined reference to `_imp__curl_easy_init'.
>
> I combined various settings: CURL_STATIC, compiler search path
> curl-7.33.0-devel-mingw32\include\curl, but alwa
On Tue, Dec 31, 2013 at 08:45:50AM -0500, Kerry Loux wrote:
> I'm not sure if the examples are actively maintained, but it might be a good
They are.
> idea to add "curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);" to the example here
> (and perhaps others?): http://curl.haxx.se/libcurl/c/smtp-tls.htm
On Tue, Dec 31, 2013 at 09:23:53AM -0500, Kerry Loux wrote:
> On Tue, Dec 31, 2013 at 9:08 AM, Dan Fandrich wrote:
> On Tue, Dec 31, 2013 at 08:45:50AM -0500, Kerry Loux wrote:
> > I'm not sure if the examples are actively maintained, but it might be a
> go
On Tue, Jan 07, 2014 at 09:43:27AM +0700, Dung Nguyen wrote:
> ok, i was trying build curl + ssl
> at first i download curl src, open ssl src, put all in desktop
> curl
> curl/opt/openssl
>
> i install openssl
> ./config
> sudo make
> sudo make install
>
> trying to configure curl
> ./configure
On Wed, Jan 08, 2014 at 09:57:39AM +0700, Dung Nguyen wrote:
> env PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig ./configure --with-ssl
> env PKG_CONFIG_PATH=/opt/OpenSSL/lib/pkgconfig ./configure --with-ssl
>
> also result in error
>
> checking whether to enable iOS/Mac OS X native SSL/TLS... n
On Wed, Jan 08, 2014 at 05:08:05PM +, Steve Holme wrote:
> On Wed, 8 Jan 2014, Daniel Stenberg wrote:
>
> > Comments from others are most appreciated!
>
> I did wonder when we fixed "connect: Try all addresses in first connection
> attempt" whether we should/would consider an interim release
uess was one of the LDAP libraries (which isn't using
pkg-config to find the dependencies) but the config log shows it's actually
OpenSSL. That means that its pkgconfig file is invalid if it's missing
that library. If you can confirm that, it would be good to report that problem
upstr
On Mon, Jan 13, 2014 at 11:21:41AM -0500, Joshua Kordani wrote:
> This was originally posted to the curl-users group, and I was encouraged to
> post here instead.
>
> http://paste.lisp.org/display/140893
>
> annotation 1 is a single code file listing that should compile, (you just need
> to link
On Tue, Jan 21, 2014 at 11:56:36AM -0200, Gustavo Henrique wrote:
> I'm using libcurl 7.31.0 to do http requests to a server on a machine located
> on local network every 3 seconds. It works fine, but if one connection attempt
> fails ("Couldn't connect to server" error), when, for any reason, the
On Tue, Jan 21, 2014 at 02:57:13PM +0530, leela siva wrote:
> libcurl version -
> curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.3.0 zlib/1.2.3
> libidn/1.18 libssh2/1.4.2
> Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
> Features: GSS-Negotiate IDN IPv6 La
On Thu, Jan 23, 2014 at 11:56:43PM +0100, Daniel Stenberg wrote:
> I think this is a tricky question and I'd love to get more feedback
> on this. The existing (before this patch) features affect headers to
> both the server and the proxy, and since it does that we can't really
> know which of the f
On Mon, Jan 27, 2014 at 02:28:47AM +, Zhao, Fei wrote:
> This is Fei from EchoStar. We are tring to use libcurl in our low-end setbox
> which has memory limitation.
>
> It seems curl_easy_init() will allocate a lot of memory and the memmory can't
> be released after curl_easy_cleanup().
>
On Wed, Jan 29, 2014 at 03:03:00PM +0530, leela siva wrote:
> I verified in wireshark trace it is showing connction reset by peer .
>
> can you help me why curl interface is receiving this error from server.
Probably because the peer reset the connection. And if it's the server doing
it, you'll h
On Thu, Jan 30, 2014 at 11:36:52PM +0100, Daniel Stenberg wrote:
> Subject: [PATCH] CURLINFO_XFER_STATE: export the state of a transfer
[...]
> +(Added in 7.33.0)
This part needs to be updated. And the getinfo.c changes are missing from this
patch.
>>> Dan
---
On Wed, Feb 05, 2014 at 09:30:19PM +0530, ansh kumar wrote:
> strcpy(fileBuf[len++],"To: " TO "\r\n");
> buffer_size += strlen(fileBuf[len-1]) + 1; // 1 for \0
> strcpy(fileBuf[len++],"From: " FROM "\r\n");
> buffer_size += strlen(fileBuf[len-1]) + 1;
> strcpy(fil
On Wed, Feb 05, 2014 at 10:13:35PM +, Steve Holme wrote:
> However, after I pushed three commits [3], [4], and [5] last night, I noticed
> that Test 165 broke - as can be seen in the auto builds from the past 22 hours
> [6].
>
> Unfortunately, as I only compile for Windows, don't run Valgrind,
On Wed, Feb 05, 2014 at 11:14:44PM +, Steve Holme wrote:
> On Wed, 5 Feb 2014, Dan Fandrich wrote:
> > It probably has nothing to do with your changes.
>
> Thanks for taking a look and reproducing it with libidn 1.26 - it was very
> much appreciated.
It turns out that bu
curl 7.35.0 in commit 8ae35102c (the fix for CVE-2014-0015) introduces a
serious regression in handling reuse of FTP connections. The following
example shows the problem:
curl -v --anyauth \
ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/4/i586/VERSION \
ftp://ftp.snt.utwente.nl/pub/os/
On Wed, Feb 12, 2014 at 02:38:07PM +0100, Daniel Stenberg wrote:
> Okay, I think this fix is better and narrows the scope a bit for what
> the 'wantNTLM' variable is used for.
> / daniel.haxx.se
>bool canPipeline = IsPipeliningPossible(data, needle);
> - bool wantNTLM = (data->state.authhost
On Sun, Feb 16, 2014 at 11:27:37AM +0700, Ruslan Gaifulin wrote:
> I download multiple files simultaneously with curl_multi_perform
> How can I detect if connection is lost during the downloading?
http://curl.haxx.se/docs/faq.html#Why_doesn_t_cURL_return_an_error
> When I simulate the lost connec
One of the recent tool changes has broken compiling with the --disable-manual
option, e.g. http://curl.haxx.se/dev/log.cgi?id=20140224014418-32496
Fixing it could be as simple as removing the #define in tool_hugehelp.h
as that macro is redundant with the tool_hugehelp.c stub that's created
in this
On Wed, Feb 12, 2014 at 10:52:48PM +0100, Daniel Stenberg wrote:
> On Wed, 12 Feb 2014, Dan Fandrich wrote:
>
> >> bool canPipeline = IsPipeliningPossible(data, needle);
> >>- bool wantNTLM = (data->state.authhost.want & CURLAUTH_NTLM) ||
> >>-(data
On Mon, Feb 24, 2014 at 09:58:19PM +, Steve Holme wrote:
> Are there any build configurations that don't copy or include the stub file?
> If there are then adding the #ifdef back into the tool_hugehelp.h and adding
> a #ifdef USE_MANUAL around the stub in tool_hugehelp.c.cvs would also fix
> th
On Fri, Feb 28, 2014 at 12:19:49AM +0800, Md Kashif wrote:
> How would application know if download of a chunk was successful or not. Is
> checking for the return value of curl_easy_perform() for each chunk enough?
No, you need to look at the application-level return code as well. You also
need t
On Fri, Feb 28, 2014 at 09:02:35AM -0800, Sunny Khatri wrote:
> Thanks for the response.
>
> Let me clarify the situation a bit more,
>
> What we have is a libcurl client talking and sending data to our server
> (Jetty/
> SOLR). Now as soon as a chunk is posted via curl_easy_perform, SOLR tries
On Sun, Mar 02, 2014 at 08:23:44PM +0900, Tristan Van Berkom wrote:
> I would be interested to know if this bug has been fixed
> in more recent versions of libcurl - the test case should
> be very easy to compile - on linux I can compile it with:
I would also be interested to know--can you try it
On Sun, Mar 02, 2014 at 08:23:44PM +0900, Tristan Van Berkom wrote:
> The bug occurs when curl's CURLOPT_READFUNCTION callback reports
> more than the initial message header in the first callback, the
> bug goes away if I report the initial header separate from the
> following "part" header.
I sho
On Fri, Mar 14, 2014 at 10:10:25PM +0530, san d wrote:
> I have the following code:
>
> curl_easy_setopt(curl, CURLOPT_SSH_AUTH_TYPES, CURLSSH_AUTH_ANY);
> curl_easy_setopt(curl, CURLOPT_USERNAME, userName);
> curl_easy_setopt(curl, CURLOPT_PASSWORD, Passwd);
> curl_easy_setopt(curl, CURLOPT_KEYPA
On Thu, Mar 20, 2014 at 11:14:34AM -0400, chamburg...@aol.com wrote:
> Hello I am trying to use libcurl with c++ in code blocks and I am not able to
> correctly link it to my projects. Is there a tutorial I can view to get a
> better idea of how to make the libcurl library work?
>
> I’ve downloa
On Fri, Mar 21, 2014 at 09:40:59PM +, Steve Holme wrote:
> A few observations, which probably come under your "It's not perfect"
> statement:
"Perfect" refers to things like the drop-down arrow being slightly off-centre
in some browsers; it should be definitely be fully usable.
> a) The drop
On Sat, Mar 22, 2014 at 11:43:39AM +0100, Dan Fandrich wrote:
> It's been a long while since I've built with Kerberos. Can't the K be switched
> to mean Kerberos5? I'm assuming that Krb5 is synonymous with GSS-API.
I've figured this out--it does seem synonymous, a
This is now live on the site. I see three known issues at the moment:
1) Each Options heading has a filter box, but only the first one on the page
works. I'll fix this next week.
2) Removing Kerberos4 support affected the ordering of the options, so only
those builds that occurred after this chan
On Fri, Mar 21, 2014 at 09:40:59PM +, Steve Holme wrote:
> A few observations, which probably come under your "It's not perfect"
> statement:
>
> a) The drop down box in both IE11 and Firefox 27.0.1 appeared fairly small -
> only large enough to display "al" from "all" and "M" from "Memory Tra
On Wed, Mar 26, 2014 at 02:39:21PM +0100, Daniel Stenberg wrote:
> On Wed, 26 Mar 2014, Alessandro Ghedini wrote:
>
> >>Tests 815 and 816 seem to be broken in the new release.
> >>git-bisect points to the commit applying the above patch. A log
> >>capturing the failure is attached.
> >
> >I'm see
On Thu, Mar 27, 2014 at 04:38:47PM -0400, Cody Mack wrote:
> Hi,
>
> The file vs/vc6/lib/vc6libcurl.dsp is present in the released archives
> of curl but seems to be missing from the git repository:
> https://github.com/bagder/curl/tree/master/vs/vc6/lib
>
> Is there a reason for vc6libcurl.dsp t
On Tue, Feb 25, 2014 at 10:49:00PM +0100, Daniel Stenberg wrote:
> On Mon, 24 Feb 2014, Dan Fandrich wrote:
> >It's probably worthwhile updating the security advisory at
> >http://curl.haxx.se/docs/adv_20140129.html as it advocates applying
> >just commit 8ae35102 as a fi
On Sun, Mar 30, 2014 at 03:34:49PM +0200, Alessandro Ghedini wrote:
> I've been trying to backport that patch to curl 7.26.0 (used in Debian
> stable),
> but I've noticed that the connection reuse has changed drastically since then,
> and that patch doesn't seem to be enough to fix the issue (in f
On Sun, Mar 30, 2014 at 10:04:54PM +0200, Dan Fandrich wrote:
> On Sun, Mar 30, 2014 at 03:34:49PM +0200, Alessandro Ghedini wrote:
> > I've been trying to backport that patch to curl 7.26.0 (used in Debian
> > stable),
> > but I've noticed that the connection reus
On Wed, Apr 02, 2014 at 03:56:00PM +, Alona Rossen wrote:
> Our application crashes in libcurl with the following stack:
>
> Segmentation fault in addbyter at 0x22f8a1b8 ($t2)
> 0x22f8a1b8 (addbyter+0x18) 9865 stb r3,0x0(r5)
> (dbx) where
> addbyter() at 0x22f8a1b8
> dprintf_formatf() at 0
On Wed, Apr 02, 2014 at 05:15:26PM +, Alona Rossen wrote:
> Sorry, this is as deep as dbx goes into the stack. Rebuilding libcurl with
> '-g' and specifying source directory to dbx (-I option) does not contribute
> to more informative stack.
Checking the arguments to Curl_failf at the time
On Mon, Apr 07, 2014 at 06:02:03PM +, Alona Rossen wrote:
> I receive “Hostname was NOT found in DNS cache” when connecting to an ftp
> server from a C++ application.
Yes, a host referenced with an empty cache is not going to be in the cache.
> The same code works without any issues with curl
On Fri, Apr 18, 2014 at 01:10:51PM -0400, Mathew Marulla wrote:
> Yeah, I noticed that libcurl is still at 7.22, but when I look at the .so
> files in /usr/local/lib, they have a date/time matching the compile time.
It's probably not using that version, but rather the one in /usr/lib instead.
"ld
On Mon, Apr 21, 2014 at 04:46:38PM +, Alona Rossen wrote:
> I receive the following error when I try to link to static
> libssl.a/libcrypto.a
> on Solaris 10/11 on Intel:
>
> Text relocation remains referenced
>
> against symbol offset in fil
On Mon, Apr 21, 2014 at 09:38:02PM +, Alona Rossen wrote:
> Hello Dan,
>
> Thank you for your response. Unfortunately, it does not work.
> Running configure with the following command still results in the same error:
>
> env PKG_CONFIG_PATH=/export/home/sambuild/INSTALL/ssl_64/lib/pkgconfig
On Tue, Apr 22, 2014 at 10:26:50PM +0530, john gloster wrote:
> Wanted to know whether is there any integrity check done on the file for
> "rename" operation under SFTP? In my setup i see that the file is sometimes
> not
> proper after rename operation in destination.
> Not sure whether it is affe
On Tue, Apr 22, 2014 at 10:34:36PM +0530, san d wrote:
> We use curl with sshlib 1.4.2. The uploaded files under sftp are sometimes
> getting corrupted. How to see the proper error code returned from ssh layer?
libcurl doesn't always log the original libssh2 error code before converting
it to a l
On Sun, May 04, 2014 at 09:32:18AM +0200, Fabian Keil wrote:
> Recently a script [0] I infrequently use stopped working because
> curl had been configured without cookie support and thus the --cookie
> and --cookie-jar options were silently ignored.
>
> Obviously that was my mistake, but I think i
On Mon, May 05, 2014 at 08:47:45AM +0200, Daniel Stenberg wrote:
> On Mon, May 5, 2014 at 4:11 AM, 刘英伟 <506017...@qq.com> wrote:
>
> I list dir with libcurl on ftp.
> I want to get count of files in the dir
> Is there a param of function to record the count of files in dir?
>
>
> Hel
On Wed, May 07, 2014 at 08:19:48AM +0200, Satz Klauer wrote:
> But I could provide the related root-certificate during the request.
> So: how can this be done using libcurl? How should code for a
> HTTPS-POST-request look like when a custom root-certificate is used?
You can provide it with the CUR
On Wed, May 07, 2014 at 09:04:55PM +0100, Steve Holme wrote:
> I fixed up some autobuild failures earlier today but noticed a couple of
> MinGW builds are still failing:
>
> * GetFileSizeEx() as normally declared in winbase.h and used in
> /tests/server/sockfilt.c doesn't appear to be defined [1]
On Wed, May 07, 2014 at 09:29:47PM +0300, Aaro Koskinen wrote:
> Most of LD_LIBRARY_PATH adjustments are already guarded, but not all.
>
> The patch fixes cross-compilation failure when libidn is present.
Good catch! I've committed it--thanks.
>>> Dan
On Wed, May 07, 2014 at 10:13:44PM +0100, Steve Holme wrote:
> On Wed, 07 May 2014, Dan Fandrich wrote:
> > > * GNUTLS_CIPHER_AES_128_GCM Is not declared in
> > > /lib/vtls/gtls.c [2]
> >
> > This is defined in /usr/include/gnutls/gnutls.h in GnuTLS
> >
On Mon, May 19, 2014 at 02:20:25AM -0700, Fabian Frank wrote:
> here is a patch to add ALPN support when curl is being used with PolarSSL.
> Please note that nghttp2’s public test servers have ALPN disabled right now,
> so you have to run your own nghttpd locally to test ALPN negotiation of h2-12
I've just noticed the autobuild stats page at
http://curl.haxx.se/dev/summary.html is blank. It's some time since I looked
at that page, but as I recall it had lists of all the various platforms on which
the autobuilds had been running lately.
On a related note, there are only 5 days worth of aut
On Wed, May 21, 2014 at 08:38:22PM +0100, Steve Holme wrote:
> My understanding is that the SMTP server can validate what you send it but,
> as long as it looks like a domain then the server shouldn't reject it if
> what is mentioned in RFC 1123 section 5.2.5 is correct. It can't, for
> example, pe
On Wed, May 21, 2014 at 07:55:26PM -0700, Fabian Frank wrote:
> Any other concerns or do you guys think we can merge this?
You still missed the extra const. It should be:
+static const char* const protocols[] = ...
You can also eliminate a #ifdef block by moving the definition of this
into the e
On Thu, May 22, 2014 at 08:21:02PM +0100, Steve Holme wrote:
> On Thu, 22 May 2014, GitHub wrote:
>
> > http: Fix a compiler warning when http2 support is disabled
>
> I contemplated this fix but I went with commit c6d5f80d instead which
> defined Curl_http2_setup() as Curl_nop_stmt when http2 is
Unfortunately, this commit not only *detects* nghttp2 by default, but
*requires* nghttp2 by default.
>>> Dan
---
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
On Fri, May 23, 2014 at 05:15:55PM -0700, Fabian Frank wrote:
> On May 22, 2014, at 10:15 AM, Fabian Frank wrote:
> > Previously people pointed out that variable definitions have to be at the
> > top of functions in curl code, which is why I have done it this way. Before
> > that I had them insi
On Sun, May 25, 2014 at 06:20:17PM +0200, Дилян Палаузов wrote:
> This patch reduces the output of ./configure --help by stripping
> options, which have no added value, like --enable-http (as with them
> and without them, ./configure behaves the same).
> @@ -423,8 +419,7 @@ AC_HELP_STRING([--disab
On Mon, May 26, 2014 at 09:52:27AM +0200, Kamil Dudka wrote:
> On Monday, May 26, 2014 08:44:06 Dan Fandrich wrote:
> > On Sun, May 25, 2014 at 06:20:17PM +0200, Дилян Палаузов wrote:
> > > @@ -635,7 +620,6 @@ dnl disable C code generation support
> > >
> > >
On Mon, May 26, 2014 at 03:49:16PM -0500, Lane wrote:
> I have been able to input a file using curl from the command line into
> CouchDB,
> but I’m having an issue adding an attachment to CouchDB using libcurl. This
> command line successfully does what I want. This is what I am trying to
> duplic
On Mon, May 26, 2014 at 07:23:59PM -0500, Lane wrote:
> Let me clarify. What I consider an attachment, or what CouchDB considers an
> attachment is a file to the field. So _attachments is the json objects field,
> and the file would be the data to that field. As in my example, you’ll see the
> comm
On Thu, May 29, 2014 at 06:56:36AM +0200, Michael Wood wrote:
> On 29 May 2014 12:56 AM, "Wagner Patriota" wrote:
> >
> > I can't fsync() a FILE* ... does anybody have any hint on what can be done
> here?
>
> Try flush() or fflush()?
Those don't do the same as fsync; the latter is a kernel call.
On Fri, May 30, 2014 at 01:49:48PM +0530, Rohit Goel wrote:
> I am trying to build curl on Linux platform.
> I want to use OpenSSL but I want the library names for open-ssl to be changed
> from the default.
> Instead of linking to cdscrypto and ssl, I want it to link to mycdscrypto and
> myssl (we
On Sat, May 31, 2014 at 01:31:55PM +0530, Rohit Goel wrote:
> I tried the suggested approach.
> It now links to the renamed SSL libraries as well as the default SSL
> libraries.
Is that a direct link or is it linked through another library, such as libssh2
or libldap?
> This is how I ran config
On Mon, Jun 02, 2014 at 08:50:54AM -0400, Jon Lederman wrote:
> I am trying to mimic the following command line curl request in libcurl
> programatically in C/C++. Instead of reading data from a file though, I want
> to send binary data from a buffer in memory:
> curl "https://website.net:443/Co
1..e..
> => Send data, 06 bytes (0x0006)
> : 31 0d 0a 72 0d 0a 1..r..
> => Send data, 06 bytes (0x0006)
> : 31 0d 0a 76 0d 0a 1..v..
> => Send data, 06 bytes (0
On Mon, Jun 02, 2014 at 06:42:42PM -0400, Jon Lederman wrote:
> I want chunked encoding but with binary as per the following command line curl
> command:
>
> curl "https://website.net:443/Command?appId=XXX&appKey=YYY5&id=ZZZ"; -H
> "Content-Type: AAA;codec=BBB" -H "Accept-Language: ENUS" -H
> "Tr
On Wed, Jun 04, 2014 at 12:29:05PM -0700, Chris Ghormley wrote:
> Here is a patch for axTLS. I don't submit patches very often, so I
> apologize if I'm doing it wrong.
The patch format looks fine, but since you're using git, creating a patch with
git format-patch would be even better.
> This back
On Thu, Jun 05, 2014 at 05:37:18PM -0700, Chris Ghormley wrote:
> On 6/4/2014 15:07, Dan Fandrich wrote:
>
> > The patch format looks fine, but since you're using git, creating a
> > patch with git format-patch would be even better.
> OK, I will resubmit when I
On Sun, Jun 15, 2014 at 09:47:01PM +0800, Woods wrote:
> I use Curl Library C API to request a Https Url, but got an error of "Empty
> reply from server". So I used standard Curl command to request the same Url,
> and get correct result. I noticed that a major difference from the dump out
> informa
On Mon, 16 Jun 2014, Daniel Stenberg wrote:
> Here's a taste of what I have in mind. Here's a separate man page for
> CURLOPT_WRITEFUNCTION:
>
> http://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html
I'll admit I was a bit dubious about the value of splitting these options into
their own man
On Mon, Jun 16, 2014 at 09:53:08PM +0200, Daniel Stenberg wrote:
> I'm thinking one way to fix this problem with this particular header
> file - and get back to a single unified header for all systems, is to
> use the curlbuild.h.dist file and just rename that to curlbuild.h.
> (and remove curlbuil
Commit b46f2959 renamed a couple of options to CURLOPT_DEPRECATEDx, which
caused test 1119 to fail. The test 1119 parser already ignores names
called OBSOLETE, and as I see it, the DEPRECATED name has the same semantics
as the existing OBSOLETE ones. Rather than modifying the script to
ignore DEPRE
On Wed, Jun 18, 2014 at 02:39:34PM +0200, Daniel Stenberg wrote:
> On Wed, 18 Jun 2014, Dan Fandrich wrote:
> >Commit b46f2959 renamed a couple of options to CURLOPT_DEPRECATEDx,
> >which caused test 1119 to fail. The test 1119 parser already
> >ignores names called OBSOLETE,
On Thu, Jun 19, 2014 at 02:24:40PM +0200, Daniel Stenberg wrote:
> Improve
> ===
>
> 2. curl -h output (considered overwhelming to users)
I've thought this for a while as well. My thought was to replace the --help
output with just the basic options, and create new help options based on
catego
1 - 100 of 1040 matches
Mail list logo