aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2006-05-05 15:29:37 +0200
committerVincent Richard <[email protected]>2006-05-05 15:29:37 +0200
commit7ab15b35cf0033389b0b338176459f474a69bd43 (patch)
treed0dbd703fa972ac7e0118b3b87cf7d865d33ea95 /src
parentFixed typo in comment. (diff)
downloadvmime-7ab15b35cf0033389b0b338176459f474a69bd43.tar.gz
vmime-7ab15b35cf0033389b0b338176459f474a69bd43.zip
Reset timeout before reading response.
Diffstat (limited to 'src')
-rw-r--r--src/net/smtp/SMTPResponse.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/smtp/SMTPResponse.cpp b/src/net/smtp/SMTPResponse.cpp
index c1608b23..c39774b1 100644
--- a/src/net/smtp/SMTPResponse.cpp
+++ b/src/net/smtp/SMTPResponse.cpp
@@ -108,6 +108,9 @@ const string SMTPResponse::readResponseLine()
{
string currentBuffer = m_responseBuffer;
+ if (m_timeoutHandler)
+ m_timeoutHandler->resetTimeOut();
+
while (true)
{
// Get a line from the response buffer