[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7611 - in libmicrohttpd/src/daemon: . https/tls
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7611 - in libmicrohttpd/src/daemon: . https/tls |
Date: |
Sun, 24 Aug 2008 16:25:08 -0600 (MDT) |
Author: grothoff
Date: 2008-08-24 16:25:08 -0600 (Sun, 24 Aug 2008)
New Revision: 7611
Modified:
libmicrohttpd/src/daemon/connection_https.c
libmicrohttpd/src/daemon/https/tls/gnutls_buffers.c
Log:
cleanup
Modified: libmicrohttpd/src/daemon/connection_https.c
===================================================================
--- libmicrohttpd/src/daemon/connection_https.c 2008-08-24 22:21:34 UTC (rev
7610)
+++ libmicrohttpd/src/daemon/connection_https.c 2008-08-24 22:25:08 UTC (rev
7611)
@@ -204,7 +204,8 @@
return MHD_YES;
/* close connection if necessary */
case MHD_CONNECTION_CLOSED:
- MHD_tls_connection_close (connection);
+ if (connection->socket_fd != -1)
+ MHD_tls_connection_close (connection);
return MHD_NO;
case MHD_TLS_HANDSHAKE_FAILED:
MHD_tls_connection_close_err (connection,
Modified: libmicrohttpd/src/daemon/https/tls/gnutls_buffers.c
===================================================================
--- libmicrohttpd/src/daemon/https/tls/gnutls_buffers.c 2008-08-24 22:21:34 UTC
(rev 7610)
+++ libmicrohttpd/src/daemon/https/tls/gnutls_buffers.c 2008-08-24 22:25:08 UTC
(rev 7611)
@@ -1223,7 +1223,8 @@
if (length != NULL)
*length = session->internals.handshake_hash_buffer.length;
- _gnutls_buffers_log ("BUF[HSK]: Peeked %d bytes of Data\n", *length);
+ _gnutls_buffers_log ("BUF[HSK]: Peeked %d bytes of Data\n",
+ session->internals.handshake_hash_buffer.length)
if (data_ptr != NULL)
*data_ptr = session->internals.handshake_hash_buffer.data;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7611 - in libmicrohttpd/src/daemon: . https/tls,
gnunet <=