This commit is contained in:
Christian Grothoff committed 2008-08-24 18:02:27 +00:00
1 parent 4a08a776b3
commit 484e65d76e
5 files changed
+44 -12

No files matched your search

+3 -8
View File
@@ -39,11 +39,6 @@
/* TODO #include rm "gnutls_errors.h" */
#include "gnutls_errors.h"
/* forward declarations used when setting secure connection callbacks */
int MHD_connection_handle_read (struct MHD_Connection *connection);
int MHD_connection_handle_write (struct MHD_Connection *connection);
int MHD_connection_handle_idle (struct MHD_Connection *connection);
/**
* Obtain information about the given connection.
*
@@ -175,7 +170,7 @@ MHDS_con_write (struct MHD_Connection *connection)
* @return MHD_YES if we should continue to process the
* connection (not dead yet), MHD_NO if it died
*/
int
static int
MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
{
unsigned int timeout;
@@ -231,7 +226,7 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
* @return MHD_YES if we should continue to process the
* connection (not dead yet), MHD_NO if it died
*/
int
static int
MHD_tls_connection_handle_read (struct MHD_Connection *connection)
{
int ret;
@@ -374,7 +369,7 @@ MHD_tls_connection_handle_read (struct MHD_Connection *connection)
* @return MHD_connection_handle_write() if we should continue to
* process the connection (not dead yet), MHD_NO if it died
*/
int
static int
MHD_tls_connection_handle_write (struct MHD_Connection *connection)
{
connection->last_activity = time (NULL);