| 406 | |
| 407 | |
| 408 | void CUpDownClient::ResetSessionUp() |
| 409 | { |
| 410 | m_nCurSessionUp = m_nTransferredUp; |
| 411 | m_addedPayloadQueueSession = 0; |
| 412 | m_nCurQueueSessionPayloadUp = 0; |
| 413 | // If upload was resumed there can be a remaining payload in the socket |
| 414 | // causing (prepared - sent) getting negative. So reset the counter here. |
| 415 | if (m_socket) { |
| 416 | CEMSocket* s = m_socket; |
| 417 | s->GetSentPayloadSinceLastCallAndReset(); |
| 418 | } |
| 419 | } |
| 420 | |
| 421 | |
| 422 | uint32 CUpDownClient::SendBlockData() |
no test coverage detected