diff options
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r-- | src/daemon/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index 0b5450e4..17f2a05c 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -608,6 +608,12 @@ struct MHD_Connection | |||
608 | time_t last_activity; | 608 | time_t last_activity; |
609 | 609 | ||
610 | /** | 610 | /** |
611 | * After how many seconds of inactivity should | ||
612 | * this connection time out? Zero for no timeout. | ||
613 | */ | ||
614 | unsigned int connection_timeout; | ||
615 | |||
616 | /** | ||
611 | * Did we ever call the "default_handler" on this connection? | 617 | * Did we ever call the "default_handler" on this connection? |
612 | * (this flag will determine if we call the 'notify_completed' | 618 | * (this flag will determine if we call the 'notify_completed' |
613 | * handler when the connection closes down). | 619 | * handler when the connection closes down). |