[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-server-cvs
Subject: [Server-cvs] protocol/http/pub httpprot.h,1.40,1.41
From: svaidhya () helixcommunity ! org
Date: 2010-02-28 3:43:39
Message-ID: 201002280343.o1S3he4p021928 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/server/protocol/http/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv16961
Modified Files:
httpprot.h
Log Message:
Synopsis
========
CR: Bug 258865: Connected_time always increments for proxy connections with \
LoggingStyle 8
Branch : SERVER_14_0_RN, HEAD
Suggested Reviewer: Anyone
Description
===========
With cached mode on proxy, when a file is first requested (not in cache), the proxy \
creates Session with the server and calls ClientSession::begin to download each \
chunk. Every time ::begin is called, the SessionStartTime is reset. Hence the \
connected_time, calculated on ClipDone, as CurrentTime - SessionStartTime, is wrongly \
calculated from the last time ::begin was called instead of first.
Fix: Don.t re-iniliaze SessionStartTime if already initialized.
Files Changed:
============
./server/emgine/session/clientsession.cpp
Testing Performed
=================
Unit Tests:
- None
Integration Tests:
-
Leak Tests:
- None.
Performance Tests:
- None
Build verified: win32-i386-vc7
Platform tested : win32-i386-vc7
Index: httpprot.h
===================================================================
RCS file: /cvsroot/server/protocol/http/pub/httpprot.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- httpprot.h 19 Feb 2010 23:25:32 -0000 1.40
+++ httpprot.h 28 Feb 2010 03:43:36 -0000 1.41
@@ -155,6 +155,7 @@
int handleMsg(HTTPTraceMessage* pMsg);
int handleMsg(HTTPMoveMessage* pMsg);
int handleMsg(HTTPCopyMessage* pMsg);
+ void SetSessionLogEntry();
#endif
#ifdef HELIX_FEATURE_SERVER_HTTP_ALLOW
HXBOOL UseAllowancePlugins(Client* pClient);
@@ -220,13 +221,15 @@
UINT32 m_ulClipTimeOffset;
UINT32 m_ulClipStart;
UINT32 m_ulSessionStart;
- HXBOOL m_bFirstRequest;
+ HXBOOL m_bFirstRequest;
UINT32 m_ulBankedTime;
UINT32 m_ulInitTime;
+ HXBOOL m_bPersistantConnIDAdded;
#ifdef HELIX_FEATURE_SERVER_HTTP11
HTTPRange* m_pRange;
HTTPMobileCheck* m_pMobileCheck;
- HXBOOL m_bUseChunkedEncoding;
+ HXBOOL m_bUseChunkedEncoding;
+ HXBOOL m_bSessionLogSet;
#endif
UINT32 m_ulByteRangeIndex;
UINT32 m_ulBytesSentPerRange;
_______________________________________________
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