diff options
author | Stef Walter <stef@memberwebs.com> | 2004-10-01 20:20:41 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-10-01 20:20:41 +0000 |
commit | 854196b9645097bac7dc806d1a3a08c1ef379a3b (patch) | |
tree | 8e311f4ce59b9a15b7e93db1f08c3a05484eb11c /common/smtppass.h | |
parent | 2a32d4becef9c2614be1ef574ba28d50ad8ec3f9 (diff) |
Send NOOPs to the server during slow connections to prevent timeouts. Bug #134
Diffstat (limited to 'common/smtppass.h')
-rw-r--r-- | common/smtppass.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/smtppass.h b/common/smtppass.h index aebace1..e7fc780 100644 --- a/common/smtppass.h +++ b/common/smtppass.h @@ -66,6 +66,7 @@ typedef struct spio { int fd; /* The file descriptor wrapped */ const char* name; /* The name for logging */ + time_t last_action; /* Time of last action on descriptor */ /* Internal use only */ char line[SP_LINE_LENGTH]; @@ -124,6 +125,7 @@ typedef struct spctx int _crlf; /* Private data */ char _l1[SP_LINE_LENGTH]; char _l2[SP_LINE_LENGTH]; + time_t _tm; } spctx_t; |