Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CDownloadTransferHTTP Class Reference

#include <DownloadTransferHTTP.h>

Inheritance diagram for CDownloadTransferHTTP:

CDownloadTransfer CTransfer CConnection List of all members.

Public Member Functions

 CDownloadTransferHTTP (CDownloadSource *pSource)
virtual ~CDownloadTransferHTTP ()
virtual BOOL Initiate ()
BOOL AcceptPush (CConnection *pConnection)
virtual void Close (TRISTATE bKeepSource)
virtual void Boost ()
virtual DWORD GetAverageSpeed ()
virtual BOOL SubtractRequested (FF::SimpleFragmentList &ppFragments)
virtual BOOL OnRun ()

Protected Member Functions

BOOL StartNextFragment ()
BOOL SendRequest ()
BOOL ReadResponseLine ()
BOOL ReadContent ()
BOOL ReadTiger ()
BOOL ReadMetadata ()
BOOL ReadFlush ()
virtual BOOL OnConnected ()
virtual BOOL OnRead ()
virtual void OnDropped (BOOL bError)
virtual BOOL OnHeaderLine (CString &strHeader, CString &strValue)
virtual BOOL OnHeadersComplete ()

Protected Attributes

DWORD m_nRequests
DWORD m_tRequest
DWORD m_tContent
BOOL m_bBadResponse
BOOL m_bBusyFault
BOOL m_bRangeFault
BOOL m_bKeepAlive
BOOL m_bHashMatch
CString m_sTigerTree
BOOL m_bTigerFetch
BOOL m_bTigerIgnore
CString m_sMetadata
BOOL m_bMetaFetch
BOOL m_bMetaIgnore
BOOL m_bGotRange
BOOL m_bGotRanges
BOOL m_bQueueFlag
QWORD m_nContentLength
CString m_sContentType
DWORD m_nRetryDelay

Constructor & Destructor Documentation

CDownloadTransferHTTP::CDownloadTransferHTTP CDownloadSource pSource  ) 
 

Definition at line 50 of file DownloadTransferHTTP.cpp.

References CSettings::Downloads, m_bBadResponse, m_bBusyFault, m_bHashMatch, m_bMetaFetch, m_bMetaIgnore, m_bRangeFault, m_bTigerFetch, m_bTigerIgnore, m_nRequests, m_nRetryDelay, m_tContent, CSettings::sDownloads::RetryDelay, and Settings.

CDownloadTransferHTTP::~CDownloadTransferHTTP  )  [virtual]
 

Definition at line 67 of file DownloadTransferHTTP.cpp.


Member Function Documentation

BOOL CDownloadTransferHTTP::AcceptPush CConnection pConnection  ) 
 

Definition at line 100 of file DownloadTransferHTTP.cpp.

References CTransfer::AttachTo(), Downloads, CDownloadWithFile::GetDisplayName(), IDS_DOWNLOAD_PUSHED, CDownload::IsBoosted(), CConnection::m_mInput, CConnection::m_mOutput, CDownloads::m_nLimitGeneric, CDownloadTransfer::m_pDownload, CConnection::m_sAddress, CShareazaApp::Message(), MSG_DEFAULT, TCPBandwidthMeter::pLimit, StartNextFragment(), and theApp.

Referenced by CDownloadWithTransfers::OnAcceptPush().

void CDownloadTransferHTTP::Boost  )  [virtual]
 

Reimplemented from CDownloadTransfer.

Definition at line 138 of file DownloadTransferHTTP.cpp.

References CConnection::m_mInput, CConnection::m_mOutput, NULL, and TCPBandwidthMeter::pLimit.

void CDownloadTransferHTTP::Close TRISTATE  bKeepSource  )  [virtual]
 

Reimplemented from CDownloadTransfer.

Definition at line 118 of file DownloadTransferHTTP.cpp.

References CDownloadSource::AddFragment(), CTransfer::Close(), dtsDownloading, CDownloadTransfer::m_bRecvBackwards, CDownloadTransfer::m_nLength, CDownloadTransfer::m_nOffset, CDownloadTransfer::m_nPosition, CDownloadTransfer::m_nState, CDownloadTransfer::m_pSource, and NULL.

DWORD CDownloadTransferHTTP::GetAverageSpeed  )  [virtual]
 

Reimplemented from CDownloadTransfer.

Definition at line 143 of file DownloadTransferHTTP.cpp.

References dtsDownloading, CDownloadTransfer::m_nPosition, CDownloadSource::m_nSpeed, CDownloadTransfer::m_nState, CDownloadTransfer::m_pSource, and m_tContent.

BOOL CDownloadTransferHTTP::Initiate  )  [virtual]
 

Implements CDownloadTransfer.

Definition at line 74 of file DownloadTransferHTTP.cpp.

References CTransfer::Close(), CTransfer::ConnectTo(), Downloads, dtsConnecting, CDownloadWithFile::GetDisplayName(), IDS_DOWNLOAD_CONNECT_ERROR, IDS_DOWNLOAD_CONNECTING, CDownload::IsBoosted(), CConnection::m_mInput, CConnection::m_mOutput, CDownloads::m_nLimitGeneric, CDownloadSource::m_nPort, CDownloadSource::m_pAddress, CDownloadTransfer::m_pDownload, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CShareazaApp::Message(), MSG_DEFAULT, MSG_ERROR, TCPBandwidthMeter::pLimit, CDownloadTransfer::SetState(), theApp, and TS_UNKNOWN.

BOOL CDownloadTransferHTTP::OnConnected  )  [protected, virtual]
 

Reimplemented from CConnection.

Definition at line 157 of file DownloadTransferHTTP.cpp.

References IDS_DOWNLOAD_CONNECTED, CConnection::m_sAddress, CConnection::m_tConnected, CShareazaApp::Message(), MSG_DEFAULT, StartNextFragment(), and theApp.

void CDownloadTransferHTTP::OnDropped BOOL  bError  )  [protected, virtual]
 

Reimplemented from CConnection.

Definition at line 1283 of file DownloadTransferHTTP.cpp.

References CTransfer::Close(), CSettings::Downloads, dtsBusy, dtsConnecting, dtsDownloading, IDS_DOWNLOAD_BUSY, IDS_DOWNLOAD_CONNECT_ERROR, IDS_DOWNLOAD_DROPPED, m_bBusyFault, m_bQueueFlag, CDownloadTransfer::m_nState, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, NULL, CDownloadSource::PushRequest(), CSettings::sDownloads::RetryDelay, Settings, theApp, TS_TRUE, and TS_UNKNOWN.

BOOL CDownloadTransferHTTP::OnHeaderLine CString &  strHeader,
CString &  strValue
[protected, virtual]
 

Reimplemented from CTransfer.

Definition at line 609 of file DownloadTransferHTTP.cpp.

References _tcsistr(), CDownloadWithSources::AddSourceURLs(), CSettings::sDownloads::AllowBackwards, CDownloadSource::CheckHash(), CTransfer::Close(), Downloads, CSettings::Downloads, detail::List< FragmentT, ContainerT >::empty(), CDownloadWithFile::GetDisplayName(), CDownloadWithFile::GetFragment(), CED2K::HashFromURN(), CTigerNode::HashFromURN(), CSHA::HashFromURN(), IDS_DOWNLOAD_USEFUL_RANGE, IDS_DOWNLOAD_WRONG_HASH, IDS_DOWNLOAD_WRONG_RANGE, IDS_DOWNLOAD_WRONG_SIZE, CConnection::IsAgentBlocked(), CDownloadWithFile::IsPositionEmpty(), CSettings::Library, m_bBadResponse, m_bGotRange, m_bGotRanges, m_bHashMatch, m_bKeepAlive, m_bMetaFetch, m_bMetaIgnore, m_bQueueFlag, CDownloadTransfer::m_bRecvBackwards, m_bTigerFetch, m_bTigerIgnore, m_nContentLength, CDownloadTransfer::m_nLength, CDownloadTransfer::m_nOffset, CDownloadTransfer::m_nQueueLen, CDownloadTransfer::m_nQueuePos, m_nRetryDelay, CDownloadBase::m_nSize, CDownloadSource::m_oAvailable, CDownloadTransfer::m_pDownload, CConnection::m_pHost, CDownloadTransfer::m_pSource, CConnection::m_sAddress, m_sContentType, m_sMetadata, CDownloadSource::m_sNick, CDownloadTransfer::m_sQueueName, CDownloadSource::m_sServer, m_sTigerTree, CConnection::m_sUserAgent, CShareazaApp::Message(), CSettings::sDownloads::Metadata, MSG_DEBUG, MSG_DEFAULT, MSG_ERROR, NULL, CTransfer::OnHeaderLine(), pTiger, Replace(), CDownloadSource::SetAvailableRanges(), CDownloadSource::SetGnutella(), CDownloads::SetPerHostLimit(), Settings, SIZE_UNKNOWN, CSettings::sLibrary::SourceMesh, CConnection::StartsWith(), theApp, TS_FALSE, TS_TRUE, CConnection::URLDecode(), and CSettings::sDownloads::VerifyTiger.

BOOL CDownloadTransferHTTP::OnHeadersComplete  )  [protected, virtual]
 

Reimplemented from CConnection.

Definition at line 904 of file DownloadTransferHTTP.cpp.

References CDownloadSource::CanInitiate(), CTransfer::Close(), CSettings::Downloads, dtsBusy, dtsDownloading, dtsFlushing, dtsMetadata, dtsTiger, CDownloadWithFile::GetDisplayName(), CDownloadWithFile::GetFragment(), IDS_DOWNLOAD_CONTENT, IDS_DOWNLOAD_DISABLED, IDS_DOWNLOAD_METADATA_RECV, IDS_DOWNLOAD_QUEUE_HUGE, IDS_DOWNLOAD_TIGER_RANGE, IDS_DOWNLOAD_TIGER_RECV, IDS_DOWNLOAD_WRONG_RANGE, IDS_DOWNLOAD_WRONG_SIZE, CDownloadWithFile::IsPositionEmpty(), m_bBadResponse, m_bBusyFault, CDownloadSource::m_bCloseConn, m_bGotRange, m_bGotRanges, m_bKeepAlive, m_bMetaFetch, m_bQueueFlag, m_bRangeFault, m_bTigerFetch, CConnection::m_mInput, m_nContentLength, CDownloadTransfer::m_nLength, CDownloadTransfer::m_nOffset, CDownloadTransfer::m_nPosition, CDownloadTransfer::m_nQueuePos, m_nRetryDelay, CDownloadBase::m_nSize, CDownloadTransfer::m_pDownload, CNetwork::m_pHost, CConnection::m_pHost, CDownloadTransfer::m_pSource, CConnection::m_sAddress, m_sContentType, CDownloadSource::m_sServer, CConnection::m_sUserAgent, CDownloadSource::m_tAttempt, m_tContent, m_tRequest, CShareazaApp::Message(), MSG_DEFAULT, MSG_ERROR, Network, NULL, CSettings::sDownloads::QueueLimit, ReadFlush(), ReadMetadata(), ReadTiger(), CDownloadSource::SetAvailableRanges(), CDownloadTransfer::SetState(), Settings, SIZE_UNKNOWN, theApp, TCPBandwidthMeter::tLast, TS_FALSE, and TS_TRUE.

BOOL CDownloadTransferHTTP::OnRead  )  [protected, virtual]
 

Reimplemented from CConnection.

Definition at line 497 of file DownloadTransferHTTP.cpp.

References dtsDownloading, dtsFlushing, dtsHeaders, dtsMetadata, dtsRequesting, dtsTiger, CDownloadTransfer::m_nState, CConnection::OnRead(), ReadContent(), ReadFlush(), CConnection::ReadHeaders(), ReadMetadata(), ReadResponseLine(), and ReadTiger().

BOOL CDownloadTransferHTTP::OnRun  )  [virtual]
 

Reimplemented from CDownloadTransfer.

Definition at line 433 of file DownloadTransferHTTP.cpp.

References CTransfer::Close(), CSettings::Connection, CSettings::Downloads, dtsBusy, dtsConnecting, dtsDownloading, dtsFlushing, dtsHeaders, dtsMetadata, dtsQueued, dtsRequesting, dtsTiger, IDS_CONNECTION_TIMEOUT_CONNECT, IDS_DOWNLOAD_BUSY, IDS_DOWNLOAD_REQUEST_TIMEOUT, IDS_DOWNLOAD_TRAFFIC_TIMEOUT, m_bBusyFault, m_bQueueFlag, CConnection::m_mInput, CDownloadTransfer::m_nState, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CConnection::m_tConnected, m_tRequest, CShareazaApp::Message(), MSG_ERROR, NULL, CDownloadTransfer::OnRun(), CDownloadSource::PushRequest(), CSettings::sDownloads::RetryDelay, Settings, StartNextFragment(), theApp, CSettings::sConnection::TimeoutConnect, CSettings::sConnection::TimeoutHandshake, CSettings::sConnection::TimeoutTraffic, TCPBandwidthMeter::tLast, TS_TRUE, and TS_UNKNOWN.

BOOL CDownloadTransferHTTP::ReadContent  )  [protected]
 

Definition at line 1075 of file DownloadTransferHTTP.cpp.

References CDownloadSource::AddFragment(), CBuffer::Clear(), CTransfer::Close(), IDS_DOWNLOAD_FRAGMENT_OVERLAP, CDownloadWithFile::IsRangeUsefulEnough(), CDownloadTransfer::m_bRecvBackwards, CDownloadTransfer::m_nDownloaded, CDownloadTransfer::m_nLength, CBuffer::m_nLength, CDownloadTransfer::m_nOffset, CDownloadTransfer::m_nPosition, CBuffer::m_pBuffer, CDownloadTransfer::m_pDownload, CConnection::m_pInput, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CShareazaApp::Message(), MSG_DEFAULT, CBuffer::ReverseBuffer(), CDownloadSource::SetValid(), StartNextFragment(), CDownloadWithFile::SubmitData(), theApp, and TS_TRUE.

Referenced by OnRead().

BOOL CDownloadTransferHTTP::ReadFlush  )  [protected]
 

Definition at line 1234 of file DownloadTransferHTTP.cpp.

References CTransfer::Close(), dtsQueued, IDS_DOWNLOAD_416_WITHOUT_RANGE, IDS_DOWNLOAD_QUEUED, m_bGotRanges, m_bQueueFlag, m_bRangeFault, m_nContentLength, CBuffer::m_nLength, CDownloadTransfer::m_nQueueLen, CDownloadTransfer::m_nQueuePos, m_nRequests, m_nRetryDelay, CConnection::m_pInput, CConnection::m_sAddress, CDownloadTransfer::m_sQueueName, m_tRequest, CShareazaApp::Message(), MSG_DEFAULT, MSG_ERROR, CBuffer::Remove(), CDownloadTransfer::SetState(), SIZE_UNKNOWN, StartNextFragment(), theApp, and TS_TRUE.

Referenced by OnHeadersComplete(), and OnRead().

BOOL CDownloadTransferHTTP::ReadMetadata  )  [protected]
 

Definition at line 1129 of file DownloadTransferHTTP.cpp.

References CXMLElement::FromString(), CDownloadTransfer::m_nLength, CBuffer::m_nLength, CDownloadTransfer::m_pDownload, CConnection::m_pInput, CDownloadWithSources::m_pXML, NULL, CBuffer::ReadString(), CBuffer::Remove(), and StartNextFragment().

Referenced by OnHeadersComplete(), and OnRead().

BOOL CDownloadTransferHTTP::ReadResponseLine  )  [protected]
 

Definition at line 531 of file DownloadTransferHTTP.cpp.

References _tcsistr(), CTransfer::Close(), dtsHeaders, IDS_DOWNLOAD_HTTPCODE, IDS_DOWNLOAD_NOHTTP, m_bBadResponse, m_bBusyFault, m_bRangeFault, CTransfer::m_pHeaderName, CTransfer::m_pHeaderValue, CConnection::m_pInput, CConnection::m_sAddress, CShareazaApp::Message(), MSG_DEBUG, MSG_ERROR, NULL, CBuffer::ReadLine(), CDownloadTransfer::SetState(), theApp, and TS_FALSE.

Referenced by OnRead().

BOOL CDownloadTransferHTTP::ReadTiger  )  [protected]
 

Definition at line 1155 of file DownloadTransferHTTP.cpp.

References CBuffer::Clear(), CXMLElement::FromString(), CDownloadTransfer::m_nLength, CBuffer::m_nLength, CDownloadBase::m_nSize, CBuffer::m_pBuffer, CDownloadTransfer::m_pDownload, CConnection::m_pInput, m_sContentType, CShareazaApp::Message(), MSG_DEBUG, CBuffer::ReadDIME(), CBuffer::ReadString(), CBuffer::Remove(), CDownloadWithTiger::SetHashset(), CDownloadWithTiger::SetTigerTree(), StartNextFragment(), and theApp.

Referenced by OnHeadersComplete(), and OnRead().

BOOL CDownloadTransferHTTP::SendRequest  )  [protected]
 

Definition at line 274 of file DownloadTransferHTTP.cpp.

References CSettings::sDownloads::AllowBackwards, CSettings::Downloads, dtsRequesting, CSettings::sGnutella2::EnableToday, CGProfile::GetNick(), CDownloadWithSources::GetSourceURLs(), CSettings::Gnutella2, CSHA::HashToString(), CDownload::IsShared(), CNetwork::IsStable(), CDownload::IsStarted(), CSettings::Library, m_bBusyFault, m_bGotRange, m_bGotRanges, m_bHashMatch, CConnection::m_bInitiated, m_bKeepAlive, m_bMetaFetch, m_bQueueFlag, m_bRangeFault, CDownloadSource::m_bSHA1, m_bTigerFetch, CDownloadTransfer::m_bWantBackwards, m_nContentLength, CDownloadSource::m_nGnutella, CDownloadTransfer::m_nLength, CDownloadTransfer::m_nOffset, CDownloadSource::m_nPort, m_nRequests, CDownloadBase::m_nSize, CDownloadTransfer::m_pDownload, CNetwork::m_pHost, CConnection::m_pOutput, CDownloadBase::m_pSHA1, CDownloadTransfer::m_pSource, CTransfer::m_pSourcesSent, CConnection::m_sAddress, CSourceURL::m_sAddress, m_sContentType, m_sMetadata, CSourceURL::m_sPath, m_sTigerTree, CDownloadSource::m_sURL, m_tRequest, CShareazaApp::Message(), MSG_DEBUG, MyProfile, Network, NULL, CConnection::OnWrite(), CSourceURL::ParseHTTP(), CBuffer::Print(), PROTOCOL_G1, PROTOCOL_HTTP, CSettings::sDownloads::RequestHTTP11, CConnection::SendMyAddress(), CDownloadSource::SetLastSeen(), CDownloadTransfer::SetState(), Settings, SIZE_UNKNOWN, CSettings::SmartAgent(), CSettings::sLibrary::SourceMesh, theApp, TimeToString(), and CConnection::URLEncode().

Referenced by StartNextFragment().

BOOL CDownloadTransferHTTP::StartNextFragment  )  [protected]
 

Definition at line 178 of file DownloadTransferHTTP.cpp.

References CDownloadTransfer::ChunkifyRequest(), CSettings::sDownloads::ChunkSize, CTransfer::Close(), CSettings::Downloads, CDownloadWithFile::GetDisplayName(), CDownloadWithFile::GetFragment(), IDS_DOWNLOAD_CLOSING_EXTRA, IDS_DOWNLOAD_CLOSING_OVERFLOW, IDS_DOWNLOAD_FRAGMENT_END, IDS_DOWNLOAD_FRAGMENT_REQUEST, IDS_DOWNLOAD_METADATA_REQUEST, IDS_DOWNLOAD_TIGER_REQUEST, m_bMetaFetch, m_bMetaIgnore, CDownloadTransfer::m_bRecvBackwards, m_bTigerFetch, m_bTigerIgnore, CDownloadTransfer::m_bWantBackwards, CDownloadTransfer::m_nLength, CBuffer::m_nLength, CDownloadTransfer::m_nOffset, CDownloadTransfer::m_nPosition, m_nRequests, CDownloadBase::m_nSize, CDownloadTransfer::m_pDownload, CConnection::m_pInput, CConnection::m_pOutput, CDownloadTransfer::m_pSource, CDownloadWithSources::m_pXML, CConnection::m_sAddress, m_sMetadata, m_sTigerTree, CShareazaApp::Message(), MSG_DEFAULT, MSG_ERROR, CDownloadWithTiger::NeedTigerTree(), NULL, SendRequest(), CDownloadSource::SetAvailableRanges(), Settings, SIZE_UNKNOWN, theApp, TS_TRUE, and VerifySelection().

Referenced by AcceptPush(), OnConnected(), OnRun(), ReadContent(), ReadFlush(), ReadMetadata(), and ReadTiger().

BOOL CDownloadTransferHTTP::SubtractRequested FF::SimpleFragmentList ppFragments  )  [virtual]
 

Implements CDownloadTransfer.

Definition at line 257 of file DownloadTransferHTTP.cpp.

References dtsDownloading, dtsRequesting, detail::List< FragmentT, ContainerT >::erase(), CDownloadTransfer::m_nLength, CDownloadTransfer::m_nOffset, CDownloadTransfer::m_nState, and SIZE_UNKNOWN.


Member Data Documentation

BOOL CDownloadTransferHTTP::m_bBadResponse [protected]
 

Definition at line 42 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnHeaderLine(), OnHeadersComplete(), and ReadResponseLine().

BOOL CDownloadTransferHTTP::m_bBusyFault [protected]
 

Definition at line 43 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnDropped(), OnHeadersComplete(), OnRun(), ReadResponseLine(), and SendRequest().

BOOL CDownloadTransferHTTP::m_bGotRange [protected]
 

Definition at line 53 of file DownloadTransferHTTP.h.

Referenced by OnHeaderLine(), OnHeadersComplete(), and SendRequest().

BOOL CDownloadTransferHTTP::m_bGotRanges [protected]
 

Definition at line 54 of file DownloadTransferHTTP.h.

Referenced by OnHeaderLine(), OnHeadersComplete(), ReadFlush(), and SendRequest().

BOOL CDownloadTransferHTTP::m_bHashMatch [protected]
 

Definition at line 46 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnHeaderLine(), and SendRequest().

BOOL CDownloadTransferHTTP::m_bKeepAlive [protected]
 

Definition at line 45 of file DownloadTransferHTTP.h.

Referenced by OnHeaderLine(), OnHeadersComplete(), and SendRequest().

BOOL CDownloadTransferHTTP::m_bMetaFetch [protected]
 

Definition at line 51 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnHeaderLine(), OnHeadersComplete(), SendRequest(), and StartNextFragment().

BOOL CDownloadTransferHTTP::m_bMetaIgnore [protected]
 

Definition at line 52 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnHeaderLine(), and StartNextFragment().

BOOL CDownloadTransferHTTP::m_bQueueFlag [protected]
 

Definition at line 55 of file DownloadTransferHTTP.h.

Referenced by OnDropped(), OnHeaderLine(), OnHeadersComplete(), OnRun(), ReadFlush(), and SendRequest().

BOOL CDownloadTransferHTTP::m_bRangeFault [protected]
 

Definition at line 44 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnHeadersComplete(), ReadFlush(), ReadResponseLine(), and SendRequest().

BOOL CDownloadTransferHTTP::m_bTigerFetch [protected]
 

Definition at line 48 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnHeaderLine(), OnHeadersComplete(), SendRequest(), and StartNextFragment().

BOOL CDownloadTransferHTTP::m_bTigerIgnore [protected]
 

Definition at line 49 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnHeaderLine(), and StartNextFragment().

QWORD CDownloadTransferHTTP::m_nContentLength [protected]
 

Definition at line 56 of file DownloadTransferHTTP.h.

Referenced by OnHeaderLine(), OnHeadersComplete(), ReadFlush(), and SendRequest().

DWORD CDownloadTransferHTTP::m_nRequests [protected]
 

Definition at line 39 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), ReadFlush(), SendRequest(), and StartNextFragment().

DWORD CDownloadTransferHTTP::m_nRetryDelay [protected]
 

Definition at line 58 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), OnHeaderLine(), OnHeadersComplete(), and ReadFlush().

CString CDownloadTransferHTTP::m_sContentType [protected]
 

Definition at line 57 of file DownloadTransferHTTP.h.

Referenced by OnHeaderLine(), OnHeadersComplete(), ReadTiger(), and SendRequest().

CString CDownloadTransferHTTP::m_sMetadata [protected]
 

Definition at line 50 of file DownloadTransferHTTP.h.

Referenced by OnHeaderLine(), SendRequest(), and StartNextFragment().

CString CDownloadTransferHTTP::m_sTigerTree [protected]
 

Definition at line 47 of file DownloadTransferHTTP.h.

Referenced by OnHeaderLine(), SendRequest(), and StartNextFragment().

DWORD CDownloadTransferHTTP::m_tContent [protected]
 

Definition at line 41 of file DownloadTransferHTTP.h.

Referenced by CDownloadTransferHTTP(), GetAverageSpeed(), and OnHeadersComplete().

DWORD CDownloadTransferHTTP::m_tRequest [protected]
 

Definition at line 40 of file DownloadTransferHTTP.h.

Referenced by OnHeadersComplete(), OnRun(), ReadFlush(), and SendRequest().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:06 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2