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
8bfcdd41
Commit
8bfcdd41
authored
Dec 02, 2005
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved FCGI deprecation warning into FCGIServerFactory
parent
ef4a1ea5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
lib/python/ZServer/FCGIServer.py
lib/python/ZServer/FCGIServer.py
+0
-4
lib/python/ZServer/datatypes.py
lib/python/ZServer/datatypes.py
+6
-0
No files found.
lib/python/ZServer/FCGIServer.py
View file @
8bfcdd41
...
...
@@ -48,10 +48,6 @@ import socket, string, os, sys, time
import
thread
from
types
import
StringTypes
import
warnings
warnings
.
warn
(
"Using FastCGI is deprecated. You should use mod_proxy "
+
"to run Zope with Apache"
,
DeprecationWarning
)
tz_for_log
=
compute_timezone_for_log
()
#----------------------------------------------------------------------
...
...
lib/python/ZServer/datatypes.py
View file @
8bfcdd41
...
...
@@ -132,6 +132,12 @@ class PCGIServerFactory(ServerFactory):
class
FCGIServerFactory
(
ServerFactory
):
def
__init__
(
self
,
section
):
import
warnings
warnings
.
warn
(
"Using FastCGI is deprecated. You should use mod_proxy "
+
"to run Zope with Apache"
,
DeprecationWarning
)
import
socket
if
section
.
address
.
family
==
socket
.
AF_INET
:
address
=
section
.
address
.
address
...
...
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