[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] engine/context cdist_wrappers.cpp,1.6,1.7
From:       tniu () helixcommunity ! org
Date:       2013-12-17 8:50:07
[Download RAW message or body]

Update of /cvsroot/server/engine/context
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv30304

Modified Files:
	cdist_wrappers.cpp 
Log Message:



Synopsis:
=========
CR: fix a cache content bug.

Branch: SERVER_15_1_0_RN, HEAD

Suggested Reviewers: Anyone

Description:
============
Enable cache content for vhost A, but affect vhost B.

Root cause
===============
"zm_bLicensedSubscriberValid" is static.

Files affected:
===============
server/engine/context/cdist_wrappers.cpp
server/engine/context/pub/cdist_wrappers.cpp

Testing Performed:
================
Unit Tests:
None

Integration Tests:
None

Leak Tests: None
Performance Tests: N/A

Platforms Tested:  
win-x86_64-vc10,

Builds Verified: 
win-x86_64-vc10

QA Hints
========
None.

 

Index: cdist_wrappers.cpp
===================================================================
RCS file: /cvsroot/server/engine/context/cdist_wrappers.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cdist_wrappers.cpp	25 Nov 2013 11:21:45 -0000	1.6
+++ cdist_wrappers.cpp	17 Dec 2013 08:50:02 -0000	1.7
@@ -187,11 +187,6 @@
 
 // Class vars
 
-BOOL			CDistAdviseWrapper::zm_bLicensedSubscriber = FALSE;
-BOOL			CDistAdviseWrapper::zm_bLicensedSubscriberValid = FALSE;
-BOOL			CDistAdviseWrapper::zm_bCDistConfigPresent = FALSE;
-CDistMIIStatistics*	CDistAdviseWrapper::zm_pMIIStats = NULL;
-BOOL			CDistAdviseWrapper::zm_bForceRTSPImport = FALSE;
 
 /*
  * FSManager checks for cdist by invoking IsOK() on this wrapper.
@@ -222,6 +217,11 @@
     , m_pURL(NULL)
     , m_pAdditional(NULL)
     , m_pProc(proc)
+    , zm_bLicensedSubscriber(FALSE)
+    , zm_bLicensedSubscriberValid(FALSE)
+    , zm_bCDistConfigPresent(FALSE)
+    , zm_pMIIStats(NULL)
+    , zm_bForceRTSPImport(FALSE)
 {
     CDPRINTF(D_STATE, ("Constructing CDistAdviseWrapper (%p)\n", this));
 


_______________________________________________
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