aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index a6b1af89..0b27d2a7 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2992,11 +2992,6 @@ MHD_get_timeout (struct MHD_Daemon *daemon,
2992 if ( (! have_timeout) || 2992 if ( (! have_timeout) ||
2993 (earliest_deadline > pos->last_activity + pos->connection_timeout) ) 2993 (earliest_deadline > pos->last_activity + pos->connection_timeout) )
2994 earliest_deadline = pos->last_activity + pos->connection_timeout; 2994 earliest_deadline = pos->last_activity + pos->connection_timeout;
2995#ifdef HTTPS_SUPPORT
2996 if ( (0 != (daemon->options & MHD_USE_TLS)) &&
2997 (0 != gnutls_record_check_pending (pos->tls_session)) )
2998 earliest_deadline = 0;
2999#endif /* HTTPS_SUPPORT */
3000 have_timeout = MHD_YES; 2995 have_timeout = MHD_YES;
3001 } 2996 }
3002 } 2997 }
@@ -3008,11 +3003,6 @@ MHD_get_timeout (struct MHD_Daemon *daemon,
3008 if ( (! have_timeout) || 3003 if ( (! have_timeout) ||
3009 (earliest_deadline > pos->last_activity + pos->connection_timeout) ) 3004 (earliest_deadline > pos->last_activity + pos->connection_timeout) )
3010 earliest_deadline = pos->last_activity + pos->connection_timeout; 3005 earliest_deadline = pos->last_activity + pos->connection_timeout;
3011#ifdef HTTPS_SUPPORT
3012 if ( (0 != (daemon->options & MHD_USE_TLS)) &&
3013 (0 != gnutls_record_check_pending (pos->tls_session)) )
3014 earliest_deadline = 0;
3015#endif /* HTTPS_SUPPORT */
3016 have_timeout = MHD_YES; 3006 have_timeout = MHD_YES;
3017 } 3007 }
3018 3008