This commit is contained in:
Christian Grothoff
2008-08-24 22:25:08 +00:00
parent 72dcf7876e
commit 6868a035a9
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -204,7 +204,8 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
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,
+2 -1
View File
@@ -1223,7 +1223,8 @@ mhd_gtls_handshake_buffer_get_ptr (mhd_gtls_session_t session,
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;