[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-filesystem-cvs
Subject: [Filesystem-cvs] httplite httpfileobj.cpp,1.7.2.2.2.1,1.7.2.2.2.2
From: acolwell () helixcommunity ! org
Date: 2004-03-19 8:23:30
[Download RAW message or body]
Update of /cvsroot/filesystem/httplite
In directory cvs.internal.helixcommunity.org:/tmp/cvs-serv28944
Modified Files:
Tag: hxclient_1_4_1_neptunex
httpfileobj.cpp
Log Message:
Fix Read() so it reports the EOF error via a ReadDone() callback.
Index: httpfileobj.cpp
===================================================================
RCS file: /cvsroot/filesystem/httplite/httpfileobj.cpp,v
retrieving revision 1.7.2.2.2.1
retrieving revision 1.7.2.2.2.2
diff -C2 -d -r1.7.2.2.2.1 -r1.7.2.2.2.2
*** httpfileobj.cpp 18 Mar 2004 23:58:42 -0000 1.7.2.2.2.1
--- httpfileobj.cpp 19 Mar 2004 08:23:27 -0000 1.7.2.2.2.2
***************
*** 402,406 ****
if(m_ulCurrentReadOffset == m_ulFileLength)
{
! return HXR_FAIL;
}
--- 402,414 ----
if(m_ulCurrentReadOffset == m_ulFileLength)
{
! HX_RESULT res = HXR_FAIL;
!
! if (m_pFileResponse)
! {
! m_pFileResponse->ReadDone(HXR_FAIL, 0);
! res = HXR_OK;
! }
!
! return res;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic