[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-server-cvs
Subject: [Server-cvs] engine/dataflow http.cpp,1.21.14.2,1.21.14.2.2.1
From: ckarusala () helixcommunity ! org
Date: 2009-06-30 18:40:23
Message-ID: 200906301946.n5UJkRV4015042 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/server/engine/dataflow
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv22515
Modified Files:
Tag: SERVER_13_0
http.cpp
Log Message:
This CR adds HTTP byte range support for server.
Reviewed by: Jamie & Dean
Index: http.cpp
===================================================================
RCS file: /cvsroot/server/engine/dataflow/http.cpp,v
retrieving revision 1.21.14.2
retrieving revision 1.21.14.2.2.1
diff -u -d -r1.21.14.2 -r1.21.14.2.2.1
--- http.cpp 14 Oct 2008 23:57:51 -0000 1.21.14.2
+++ http.cpp 30 Jun 2009 18:40:20 -0000 1.21.14.2.2.1
@@ -286,6 +286,11 @@
if (m_bDefunct)
return HXR_FAIL;
+ if (m_pHTTP && m_pHTTP->m_pProtocol)
+ {
+ m_pHTTP->m_pProtocol->handleSeekDone(status);
+ }
+
return HXR_OK;
}
@@ -828,6 +833,17 @@
return bOK;
}
+HX_RESULT
+HTTP::http_start_seek(UINT32 ulSeekPoint)
+{
+ if (m_pFileObject)
+ {
+ return m_pFileObject->Seek(ulSeekPoint, FALSE);
+ }
+
+ return HXR_OK;
+}
+
STDMETHODIMP
HTTPFileSystemManagerResponse::QueryInterface(REFIID riid, void** ppvObj)
{
_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic