We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not so important since the expose_tracebacks is not for production, but anyway:
if expose_tracebacks is true and there is non-ascii in exception trace, waitress fails to encode the error body:
class ErrorTask(Task): def execute(self): self.write(tobytes(body))
Socket is left open and client stucks.
waitress 1.4.4, windows
The text was updated successfully, but these errors were encountered:
@jkmnt would you please provide a code sample that reproduces this issue?
Also would you try it against Waitress 2.0.0, assuming your code is for Python 3?
Sorry, something went wrong.
Tried against the waitress 2.0.0, same result. The minimal sample reproducing the problem:
import waitress def application(environ, start_response): body = b'Hello world!\n' status = '200 OK' headers = [('Content-type', 'text/plain')] start_response(status, headers) raise Exception('here we are' + chr(8364)) return [body] waitress.serve(application, port=22222, expose_tracebacks=True)
Successfully merging a pull request may close this issue.
Not so important since the expose_tracebacks is not for production, but anyway:
if expose_tracebacks is true and there is non-ascii in exception trace,
waitress fails to encode the error body:
class ErrorTask(Task): def execute(self): self.write(tobytes(body))
Socket is left open and client stucks.
waitress 1.4.4, windows
The text was updated successfully, but these errors were encountered: