added debug state dictionary

added secure connection request termination codes
secure connections start at MHD_TLS_CONNECTION_INIT
This commit is contained in:
lv-426 committed 2008-07-29 03:13:11 +00:00
1 parent d7f21bfb62
commit a0026eb09e
16 files changed
+664 -116

No files matched your search

+3 -4
View File
@@ -940,10 +940,6 @@ _gnutls_send_handshake (gnutls_session_t session, void *i_data,
if (i_datasize > 0)
memcpy (&data[pos], i_data, i_datasize);
_gnutls_handshake_log ("HSK[%x]: %s was send [%ld bytes]\n",
session, _gnutls_handshake2str (type), datasize);
/* Here we keep the handshake messages in order to hash them...
*/
if (type != GNUTLS_HANDSHAKE_HELLO_REQUEST)
@@ -961,6 +957,9 @@ _gnutls_send_handshake (gnutls_session_t session, void *i_data,
_gnutls_handshake_io_send_int (session, GNUTLS_HANDSHAKE, type,
data, datasize);
_gnutls_handshake_log ("HSK[%x]: %s was sent [%ld bytes]\n",
session, _gnutls_handshake2str (type), datasize);
gnutls_afree (data);
return ret;