[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-server-cvs
Subject: [Server-cvs] engine/core/pub core_proc.h,1.10.66.1,1.10.66.2
From: svaidhya () helixcommunity ! org
Date: 2008-10-23 0:47:56
Message-ID: 200810230054.m9N0sQcP018980 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/server/engine/core/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv14947
Modified Files:
Tag: SERVER_12_1
core_proc.h
Log Message:
Synopsis
========
Fix for "Server fails to start when FCS, SSPL and FileSys port are same or equal to \
HTTP Port"
Branches: SERVER_CURRENT, SERVER_12_1
Reviewer(s):JJ, Dean
Description
===========
The FCS, SSPL and File System ports may match the port number claimed by either of \
the other two ports listed bove, or by the Helix HTTP port. Since this check is not \
present in the core proc, the server fails to start in cases where the port numbers \
are same, as it tries to create a listening process when there is already one \
listening to that port.
Added a variable to the InitHTTPControl method to specify if the process can share \
the same port. If yes then it will not create another process.
Files Affected
==============
Changed Files
~~~~~~~~~~~~~
/server/engine/core/core_proc.cpp
/server/engine/core/pub/core_proc.h
Testing Performed
=================
Unit Tests:
None.
Integration Tests:
- Tested with same port values for FCS, SSPL, and File System Port
- Tested with port values for FCS, SSPL, and File System Port same as HTTP Port
- Tested with unique port values
Leak Tests:
- None.
Performance Tests:
None.
Platforms Tested: : linux-rhel4-i686
Build verified: linux-rhel4-i686
Index: core_proc.h
===================================================================
RCS file: /cvsroot/server/engine/core/pub/core_proc.h,v
retrieving revision 1.10.66.1
retrieving revision 1.10.66.2
diff -u -d -r1.10.66.1 -r1.10.66.2
--- core_proc.h 1 Oct 2008 21:18:44 -0000 1.10.66.1
+++ core_proc.h 23 Oct 2008 00:47:54 -0000 1.10.66.2
@@ -85,8 +85,8 @@
void InitHTTPControlPort(char* szConfigString,
Process* proc,
Config* config,
- ServerRegistry* registry);
-
+ ServerRegistry* registry,
+ HXBOOL bShareSamePort);
};
class TimeZoneCheckCallback : public IHXCallback
_______________________________________________
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