From a6778ed6bf02bc95d5da124b671880e5a1fd5df3 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 1 Oct 2004 20:20:41 +0000 Subject: Send NOOPs to the server during slow connections to prevent timeouts. Bug #134 --- common/smtppass.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/smtppass.h') 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; -- cgit v1.2.3