Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Invalid host/port with waitress 1.x #89

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chaussette/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

logger = logging.getLogger('chaussette')

__version__ = '1.3.0'
__version__ = '1.3.1'
1 change: 1 addition & 0 deletions chaussette/backend/_waitress.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def __init__(self, listener, application=None, backlog=2048,
host, port = listener
if host.startswith('fd://'):
self._fd = int(host.split('://')[1])
host = '0.0.0.0'
else:
self._fd = None

Expand Down
8 changes: 7 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Chaussette WSGI Server
.. image:: images/chaussette.png
:align: right

**Chaussette-backport** is a fork of chaussette as chaussette is not working
properly with current waitress & more. See `https://github.com/circus-tent/chaussette/pull/89`

**Chaussette is a hard work, the idea of backporting the project is juste to be able to install
fixed version of the application. Feel free to contact us if you think we should remove this backport
from Pypi.

**Chaussette** is a WSGI server you can use to run your Python WSGI
applications.
Expand Down Expand Up @@ -256,4 +262,4 @@ Useful links
- Repository : https://github.com/circus-tent/chaussette
- Documentation : https://chaussette.readthedocs.io
- Continuous Integration: https://travis-ci.org/circus-tent/chaussette

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
tests_require += ['gevent', 'gevent-websocket', 'eventlet',
'gevent-socketio', 'bjoern']

setup(name='chaussette',
setup(name='chaussette-backport',
version=__version__,
url='https://chaussette.readthedocs.io',
packages=find_packages(exclude=['examples', 'examples.simple_chat']),
Expand Down