summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Saddi <allan@saddi.com>2005-05-18 23:26:01 +0000
committerAllan Saddi <allan@saddi.com>2005-05-18 23:26:01 +0000
commit2d7095a8ae73f3af6e8f05b62c47fa60e6c97bbc (patch)
treecf7399b4f9ae8cca6f6fa96b50f961a453dd1906
parentf3fb00ece0ca38ab13c8ba413e6c7b6e8fa59492 (diff)
downloadflup-2d7095a8ae73f3af6e8f05b62c47fa60e6c97bbc.tar.gz
Update test/example code. (No use binding *:8009 if allowedServers doesn't
allow an external connection.)
-rw-r--r--flup/server/ajp.py2
-rw-r--r--flup/server/ajp_fork.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/flup/server/ajp.py b/flup/server/ajp.py
index ba6c482..71eac0d 100644
--- a/flup/server/ajp.py
+++ b/flup/server/ajp.py
@@ -190,5 +190,5 @@ if __name__ == '__main__':
# Explicitly set bindAddress to *:8009 for testing.
WSGIServer(test_app,
- bindAddress=('', 8009),
+ bindAddress=('', 8009), allowedServers=None,
loggingLevel=logging.DEBUG).run()
diff --git a/flup/server/ajp_fork.py b/flup/server/ajp_fork.py
index 9ce25b1..4ccf9e6 100644
--- a/flup/server/ajp_fork.py
+++ b/flup/server/ajp_fork.py
@@ -188,5 +188,5 @@ if __name__ == '__main__':
# Explicitly set bindAddress to *:8009 for testing.
WSGIServer(test_app,
- bindAddress=('', 8009),
+ bindAddress=('', 8009), allowedServers=None,
loggingLevel=logging.DEBUG).run()