commit: r1820 - neon/branches/0.29.x/src

joe at manyfish.co.uk joe at manyfish.co.uk
Sat Oct 9 12:07:17 EDT 2010


Author: joe
Date: Sat Oct  9 16:07:17 2010
New Revision: 1820

Modified:
   neon/branches/0.29.x/src/ne_socket.c

Log:
Merge r1819 from trunk:

* src/ne_socket.c (ne_sock_connect_ssl): Ignore TLS warnings
  during handshake (Bryan Cain).



Modified: neon/branches/0.29.x/src/ne_socket.c
==============================================================================
--- neon/branches/0.29.x/src/ne_socket.c	(original)
+++ neon/branches/0.29.x/src/ne_socket.c	Sat Oct  9 16:07:17 2010
@@ -1789,7 +1789,9 @@
     }
     sock->ops = &iofns_ssl;
 
-    ret = gnutls_handshake(sock->ssl);
+    do {
+        ret = gnutls_handshake(sock->ssl);
+    } while (RETRY_GNUTLS(sock, ret));
     if (ret < 0) {
 	error_gnutls(sock, ret);
         return NE_SOCK_ERROR;



More information about the neon-commits mailing list