Commit 0c6de141 authored by Casey Duncan's avatar Casey Duncan

Fixed startup socket error exception masking in z2.py

parent 27861bb7
...@@ -6,6 +6,9 @@ Zope Changes ...@@ -6,6 +6,9 @@ Zope Changes
Bugs Fixed Bugs Fixed
- Fixed bug in z2.py where it would eat certain socket error exceptions
at startup.
- Collector #550: Exceptions in XML-RPC requests no longer envoke - Collector #550: Exceptions in XML-RPC requests no longer envoke
standard_error_message. Plain text error messages are instead added to standard_error_message. Plain text error messages are instead added to
the fault string. In debug mode, a full traceback is also included the fault string. In debug mode, a full traceback is also included
......
...@@ -648,6 +648,7 @@ try: ...@@ -648,6 +648,7 @@ try:
'socktype':'TCP', 'socktype':'TCP',
'protocol':'HTTP', 'protocol':'HTTP',
'switch':'-w'} 'switch':'-w'}
raise
# Handler for a published module. zhttp_handler takes 3 arguments: # Handler for a published module. zhttp_handler takes 3 arguments:
# The name of the module to publish, and optionally the URI base # The name of the module to publish, and optionally the URI base
# which is basically the SCRIPT_NAME, and optionally a dictionary # which is basically the SCRIPT_NAME, and optionally a dictionary
...@@ -681,6 +682,7 @@ try: ...@@ -681,6 +682,7 @@ try:
'socktype':'TCP', 'socktype':'TCP',
'protocol':'WebDAV source', 'protocol':'WebDAV source',
'switch':'-W'} 'switch':'-W'}
raise
# Handler for a published module. zhttp_handler takes 3 arguments: # Handler for a published module. zhttp_handler takes 3 arguments:
# The name of the module to publish, and optionally the URI base # The name of the module to publish, and optionally the URI base
...@@ -723,6 +725,7 @@ try: ...@@ -723,6 +725,7 @@ try:
'socktype':'TCP', 'socktype':'TCP',
'protocol':'FTP', 'protocol':'FTP',
'switch':'-f'} 'switch':'-f'}
raise
# PCGI Server # PCGI Server
if PCGI_FILE and not READ_ONLY: if PCGI_FILE and not READ_ONLY:
...@@ -757,6 +760,7 @@ try: ...@@ -757,6 +760,7 @@ try:
'socktype':'TCP', 'socktype':'TCP',
'protocol':'FastCGI', 'protocol':'FastCGI',
'switch':'-F'} 'switch':'-F'}
raise
# Monitor Server # Monitor Server
...@@ -783,6 +787,7 @@ try: ...@@ -783,6 +787,7 @@ try:
'socktype':'TCP', 'socktype':'TCP',
'protocol':'monitor server', 'protocol':'monitor server',
'switch':'-m'} 'switch':'-m'}
raise
if ICP_PORT: if ICP_PORT:
if isinstance(ICP_PORT, IntType): ICP_PORT=((IP_ADDRESS, ICP_PORT),) if isinstance(ICP_PORT, IntType): ICP_PORT=((IP_ADDRESS, ICP_PORT),)
...@@ -796,6 +801,7 @@ try: ...@@ -796,6 +801,7 @@ try:
'socktype':'UDP', 'socktype':'UDP',
'protocol':'ICP', 'protocol':'ICP',
'switch':'--icp'} 'switch':'--icp'}
raise
if not READ_ONLY: if not READ_ONLY:
if os.path.exists(PID_FILE): os.unlink(PID_FILE) if os.path.exists(PID_FILE): os.unlink(PID_FILE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment