Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
0c6de141
Commit
0c6de141
authored
Sep 05, 2002
by
Casey Duncan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed startup socket error exception masking in z2.py
parent
27861bb7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
z2.py
z2.py
+6
-0
No files found.
doc/CHANGES.txt
View file @
0c6de141
...
...
@@ -6,6 +6,9 @@ Zope Changes
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
standard_error_message. Plain text error messages are instead added to
the fault string. In debug mode, a full traceback is also included
...
...
z2.py
View file @
0c6de141
...
...
@@ -648,6 +648,7 @@ try:
'socktype'
:
'TCP'
,
'protocol'
:
'HTTP'
,
'switch'
:
'-w'
}
raise
# Handler for a published module. zhttp_handler takes 3 arguments:
# The name of the module to publish, and optionally the URI base
# which is basically the SCRIPT_NAME, and optionally a dictionary
...
...
@@ -681,6 +682,7 @@ try:
'socktype'
:
'TCP'
,
'protocol'
:
'WebDAV source'
,
'switch'
:
'-W'
}
raise
# Handler for a published module. zhttp_handler takes 3 arguments:
# The name of the module to publish, and optionally the URI base
...
...
@@ -723,6 +725,7 @@ try:
'socktype'
:
'TCP'
,
'protocol'
:
'FTP'
,
'switch'
:
'-f'
}
raise
# PCGI Server
if
PCGI_FILE
and
not
READ_ONLY
:
...
...
@@ -757,6 +760,7 @@ try:
'socktype'
:
'TCP'
,
'protocol'
:
'FastCGI'
,
'switch'
:
'-F'
}
raise
# Monitor Server
...
...
@@ -783,6 +787,7 @@ try:
'socktype'
:
'TCP'
,
'protocol'
:
'monitor server'
,
'switch'
:
'-m'
}
raise
if
ICP_PORT
:
if
isinstance
(
ICP_PORT
,
IntType
):
ICP_PORT
=
((
IP_ADDRESS
,
ICP_PORT
),)
...
...
@@ -796,6 +801,7 @@ try:
'socktype'
:
'UDP'
,
'protocol'
:
'ICP'
,
'switch'
:
'--icp'
}
raise
if
not
READ_ONLY
:
if
os
.
path
.
exists
(
PID_FILE
):
os
.
unlink
(
PID_FILE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment