mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-02 04:02:18 +03:00
cleanup
This commit is contained in:
1 parent
4a08a776b3
commit
484e65d76e
5 files changed
+44
-12
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user