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
32626284
Commit
32626284
authored
Feb 01, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged requestCloseOnExec fixes to listening sockets
parent
481f123f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
2 deletions
+30
-2
ZServer/FCGIServer.py
ZServer/FCGIServer.py
+3
-0
ZServer/FTPServer.py
ZServer/FTPServer.py
+5
-1
ZServer/HTTPServer.py
ZServer/HTTPServer.py
+4
-0
ZServer/PCGIServer.py
ZServer/PCGIServer.py
+3
-0
lib/python/ZServer/FCGIServer.py
lib/python/ZServer/FCGIServer.py
+3
-0
lib/python/ZServer/FTPServer.py
lib/python/ZServer/FTPServer.py
+5
-1
lib/python/ZServer/HTTPServer.py
lib/python/ZServer/HTTPServer.py
+4
-0
lib/python/ZServer/PCGIServer.py
lib/python/ZServer/PCGIServer.py
+3
-0
No files found.
ZServer/FCGIServer.py
View file @
32626284
...
...
@@ -707,6 +707,9 @@ class FCGIServer(asyncore.dispatcher):
def
writable
(
self
):
return
0
def
create_socket
(
self
,
family
,
type
):
asyncore
.
dispatcher
.
create_socket
(
self
,
family
,
type
)
requestCloseOnExec
(
self
.
socket
)
def
listen
(
self
,
num
):
# override asyncore limits for nt's listen queue size
...
...
ZServer/FTPServer.py
View file @
32626284
...
...
@@ -658,7 +658,11 @@ class FTPServer(ftp_server):
def
log_info
(
self
,
message
,
type
=
'info'
):
if
self
.
shutup
:
return
asyncore
.
dispatcher
.
log_info
(
self
,
message
,
type
)
def
create_socket
(
self
,
family
,
type
):
asyncore
.
dispatcher
.
create_socket
(
self
,
family
,
type
)
requestCloseOnExec
(
self
.
socket
)
def
handle_accept
(
self
):
conn
,
addr
=
self
.
accept
()
self
.
total_sessions
.
increment
()
...
...
ZServer/HTTPServer.py
View file @
32626284
...
...
@@ -401,6 +401,10 @@ class zhttp_server(http_server):
if
self
.
shutup
:
return
dispatcher
.
log_info
(
self
,
message
,
type
)
def
create_socket
(
self
,
family
,
type
):
dispatcher
.
create_socket
(
self
,
family
,
type
)
requestCloseOnExec
(
self
.
socket
)
def
readable
(
self
):
return
self
.
accepting
and
\
len
(
asyncore
.
socket_map
)
<
CONNECTION_LIMIT
...
...
ZServer/PCGIServer.py
View file @
32626284
...
...
@@ -343,6 +343,9 @@ class PCGIServer(asyncore.dispatcher):
)
self
.
listen
(
256
)
def
create_socket
(
self
,
family
,
type
):
asyncore
.
dispatcher
.
create_socket
(
self
,
family
,
type
)
requestCloseOnExec
(
self
.
socket
)
def
read_info
(
self
,
info_file
):
"read configuration information from a PCGI info file"
...
...
lib/python/ZServer/FCGIServer.py
View file @
32626284
...
...
@@ -707,6 +707,9 @@ class FCGIServer(asyncore.dispatcher):
def
writable
(
self
):
return
0
def
create_socket
(
self
,
family
,
type
):
asyncore
.
dispatcher
.
create_socket
(
self
,
family
,
type
)
requestCloseOnExec
(
self
.
socket
)
def
listen
(
self
,
num
):
# override asyncore limits for nt's listen queue size
...
...
lib/python/ZServer/FTPServer.py
View file @
32626284
...
...
@@ -658,7 +658,11 @@ class FTPServer(ftp_server):
def
log_info
(
self
,
message
,
type
=
'info'
):
if
self
.
shutup
:
return
asyncore
.
dispatcher
.
log_info
(
self
,
message
,
type
)
def
create_socket
(
self
,
family
,
type
):
asyncore
.
dispatcher
.
create_socket
(
self
,
family
,
type
)
requestCloseOnExec
(
self
.
socket
)
def
handle_accept
(
self
):
conn
,
addr
=
self
.
accept
()
self
.
total_sessions
.
increment
()
...
...
lib/python/ZServer/HTTPServer.py
View file @
32626284
...
...
@@ -401,6 +401,10 @@ class zhttp_server(http_server):
if
self
.
shutup
:
return
dispatcher
.
log_info
(
self
,
message
,
type
)
def
create_socket
(
self
,
family
,
type
):
dispatcher
.
create_socket
(
self
,
family
,
type
)
requestCloseOnExec
(
self
.
socket
)
def
readable
(
self
):
return
self
.
accepting
and
\
len
(
asyncore
.
socket_map
)
<
CONNECTION_LIMIT
...
...
lib/python/ZServer/PCGIServer.py
View file @
32626284
...
...
@@ -343,6 +343,9 @@ class PCGIServer(asyncore.dispatcher):
)
self
.
listen
(
256
)
def
create_socket
(
self
,
family
,
type
):
asyncore
.
dispatcher
.
create_socket
(
self
,
family
,
type
)
requestCloseOnExec
(
self
.
socket
)
def
read_info
(
self
,
info_file
):
"read configuration information from a PCGI info 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