projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.3.19
[fms.git]
/
src
/
nntp
/
nntpconnection.cpp
diff --git
a/src/nntp/nntpconnection.cpp
b/src/nntp/nntpconnection.cpp
index
6e53237
..
84d07ff
100644
(file)
--- a/
src/nntp/nntpconnection.cpp
+++ b/
src/nntp/nntpconnection.cpp
@@
-1323,6
+1323,14
@@
void NNTPConnection::run()
m_log->error("NNTPConnection::run select returned -1 : "+GetSocketErrorMessage());
\r
}
\r
\r
m_log->error("NNTPConnection::run select returned -1 : "+GetSocketErrorMessage());
\r
}
\r
\r
+ //process all remaining commands in buffer
\r
+ std::vector<char>::size_type rbs=0;
\r
+ while(rbs!=m_receivebuffer.size())
\r
+ {
\r
+ rbs=m_receivebuffer.size();
\r
+ HandleReceivedData();
\r
+ }
\r
+
\r
}while(!Disconnected() && !IsCancelled());
\r
\r
Disconnect();
\r
}while(!Disconnected() && !IsCancelled());
\r
\r
Disconnect();
\r