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 | a6778ed6bf02bc95d5da124b671880e5a1fd5df3 (patch) | |
tree | 07e2cdc0bf30683821b6274670cfcae6674a7bad /common/smtppass.h | |
parent | 8f37ccc8081a8a8b53b27069ebc7c518ec6e0632 (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; |