On Fri, Mar 15, 2013 at 12:07:44AM -0400, Anil J wrote:
Just to test a new scenario, I changed the URL to a HTTP web server running on
the same host, but still same error persist. I can fetch the web server from
the firefox browser, but not from the curl program.
Looks like something
On Thu, 14 Mar 2013, cnm marketing wrote:
* error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size too small
Please stop top-posting and full-quoting.
My 3.2 seconds of googling on this topic lead to this:
http://comments.gmane.org/gmane.comp.encryption.openssl.user/43777
--
/
On Wed, 13 Mar 2013, Paras S wrote:
Find the sample program attached which illustrates the problem I am facing.
I am using Mozilla's NSPR: http://www.mozilla.org/projects/nspr/
I don't know nor use NSPR so I can't comment on all subtle details here. But
really, you're using epoll in the
Hi, I attach a patch with some changes and a test case.
In the patch:
-- I copy my 'trailer_headers_buf' into the original buffer and I free
mine at the end.
(no leaks from 'trailer_headers_buf' anymore)
-- I added a bool variable 'done' so as to update 'data-req.upload_done' at its
On Wed, 13 Mar 2013, Matt Kunze wrote:
We have recently integrated libcurl into our application to provide the
underlying HTTP transport (replacing WinINET, which is a huge improvement,
thanks!).
Nice. If you have anything additional to add to
http://curl.haxx.se/libcurl/wininet.html about
On Thu, 14 Mar 2013, jianqiu lv wrote:
Recently I meet a problem the when using select after muti_curl_fdset, the
maxfd is over 1024 in my process, and it is necessary to have such a value.
maxfd over FD_SETSIZE is indeed a problem in the select()-using parts of the
world...
I search in
Chrysovaladis Datsios cdats...@gmail.com wrote:
In the patch:
...
(line 155 in patch):
+ trailer_headers_buf = malloc(headers_buf_size);
+ if(trailer_headers_buf == NULL)
+return CURLE_BAD_FUNCTION_ARGUMENT;
W/o looking at your code in details, why isn't this
W/o looking at your code in details, why isn't this returning
'CURLE_OUT_OF_MEMORY'?
--gv
According to Dan Fandrich:
---
And I'm not sure CURLE_OUT_OF_MEMORY is the
best error code here--the system is technically not out of memory. Maybe
Hello,
starting from the multi-single.c example I try to convert this to something
like this:
curl_easy_setopt(http_handle, CURLOPT_URL, my-url);
while (1) {
..
rest of example code
..
}
Unfortunately I did not get this to work without also calling
curl_multi_init/curl_multi_cleanup
How that can be? Does libcurl also use openssl?
From my code, I only invoke libcurl routines. Again the following
output are the libcurl output by using CURLOPT_VERBOSE and CURLOPT_STDERR.
When setting CURLOPT_SSL_VERIFYHOST to 1, we got the debug1.txt output,
when setting CURLOPT_SSL_VERIFYHOST
I wanted to thank Guenter for answering my questions. After reading his
first reply - I am now using the environment variable approach
I added
#define CURL_WANTS_CA_BUNDLE_ENV
To curl_setup.h
and then set the environment variable (via Control Panel - System -
Advanced - blah blah blah)
I my
On 15-03-13 15:44, cnm marketing wrote:
How that can be? Does libcurl also use openssl?
libcurl is able to use 9 different SSL implementation as its SSL library
for SSL connections. And yes, OpenSSL is one of them.
From my code, I only invoke libcurl routines. Again the following
output are
libcurl is able to use 9 different SSL implementation as its SSL library
for SSL connections. And yes, OpenSSL is one of them.
[cnm] Does libcurl statically link ssl or dynamically load those ssl?
I've never seen the error message
* * error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size
On Fri, 15 Mar 2013, cnm marketing wrote:
[cnm] If you believe this error message is NOT from libcurl itself, then I
believe this error message is from the openssl routines that the libcurl
invokes. The question is why openssl throw this error, and in what
situation (from libcurl code) this
* Dan Fandrich:
It sounds like the API you want doesn't quite match the API libcurl
provides, in which case some amount of code is going to be necessary
to handle the mismatch. It doesn't have to be a lot. Take a look
also at the existing C++ binding (or bindings?) to see if that might
not
What SSL implementation is your libcurl using? How is the SSL stack build
and how did you build libcurl?
[cnm]
1. I am not sure if I understand your first question, we use libcurl, if
libcurl uses ssl, then we use whatever is on the system, in our case, we
use openssl.
2. We use
error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size too small
1. When libcurl uses Diffie-Hellman, does libcurl hardcode the
Diffie-Hellman key and the length?
2. Does libcurl have an option that allow libcurl user to re-set the
Diffie-Hellman key length?
We are still wondering (90%
On Fri, Mar 15, 2013 at 7:59 PM, cnm marketing cnn.market...@gmail.com wrote:
error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size too small
1. When libcurl uses Diffie-Hellman, does libcurl hardcode the
Diffie-Hellman key and the length?
2. Does libcurl have an option that allow
On Fri, Mar 15, 2013 at 02:07:47PM +0200, Chrysovaladis Datsios wrote:
W/o looking at your code in details, why isn't this returning
'CURLE_OUT_OF_MEMORY'?
--gv
According to Dan Fandrich:
---
And I'm not sure CURLE_OUT_OF_MEMORY is the
best error
*error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size too small *
libcurl does not fool around with certificate contents nor keys.
[cnm] libcurl uses openssl, that error message comes from openssl.
The problem is in the certificate you are using which does not have a long
enough
On 15-03-13 21:26, cnm marketing wrote:
/error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size too small /
libcurl does not fool around with certificate contents nor keys.
[cnm] libcurl uses openssl, that error message comes from openssl.
The problem is in the certificate you are using
On Fri, Mar 15, 2013 at 9:26 PM, cnm marketing cnn.market...@gmail.com wrote:
The problem is in the certificate you are using which does not have a long
enough Diffie-Hellman key.
[cnm] I don't understand what you are refering to, please give a bit more
details.
Assuming that the certificate
On 3/14/2013 1:23 PM, Yang Tse wrote:
On Thu, Mar 14, 2013, John E. Malmberg wb8...@qsl.net wrote:
It is more palatable for me the inclusion of source code functions
into lib/setup-vms.h as long as the following are all met:
1) curlbuild.h is just a copy of curlbuild.h.dist or it is a true
Thanks Dan. This worked.
/anil.
On Fri, Mar 15, 2013 at 3:21 AM, Dan Fandrich d...@coneharvesters.comwrote:
On Fri, Mar 15, 2013 at 12:07:44AM -0400, Anil J wrote:
Just to test a new scenario, I changed the URL to a HTTP web server
running on
the same host, but still same error persist.
On Sat, Mar 16, 2013, John E. Malmberg wrote:
The daily tarball that I used earlier did not have a curlbuild.h file in it,
so I had to generate it.
You might have been unfortunate back then fetching a badly broken
daily snapshot. I've just verified that curl-7.30.0-20130314.tar
certainly has
25 matches
Mail list logo