|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-3110991 ] gnutls_handshake() error on Windows
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 17 Nov 2010 20:06:34 +0000
Bugs item #3110991, was opened at 2010-11-17 21:06
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
$ curl -kv https://www.google.com
The last line is then repeated over and over again.
I traced this problem down to this commit from 2006:
https://github.com/bagder/curl/commit/fcccf9aa0d93c666e8ae31ebdde716cddd6b4482
By adding custom pull/push functions this commit also overrides the WSAGetLastError()-to-errno translation GnuTLS does on Windows. This causes the handshake error. When I copy the WSAGetLastError()-to-errno translation from GnuTLS (lib/gnutls_buffers.c _gnutls_read) to the custom pull/push functions then this problem is fixed and curl -kv https://www.google.com works as expected.
Some version information: This is on a Windows XP 32bit system with
$ curl --version
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info