Sergey Shepelev
Sergey Shepelev
Thank you very much. This is a terrific fix, though again, needs a test. I think I can fix caveats: 1) for `None`, I often use `_MISSING = object()` idiom,...
@baszoetekouw patches are always welcome, this one seems to have been battle tested too.
Fix by @baszoetekouw is merged in master caf9f9983a43c537efff5c4c9ff1d543af6e1220 Release is pending in days, after more testing.
Hopefully, this is resolved, feel free to reopen.
> Is this workaround supposed to work with Python 3.10? No, older eventlet version from workaround does not support Python 3.10. This issue/thread/workaround is not related to Python 3.10 support...
@tipabu added bytes to rest of `.resolve` methods, and six.binary_type. Could not quickly figure out how to add regression test to ProxyResolver.
seems working, ready to merge after review
Hello. Thanks for detailed reproduction script. Here's how it works, using eventlet built-in wsgi server: ``` import eventlet, eventlet.wsgi def app(environ, start_response): start_response( '200 OK', [ ('Content-Type', 'text/event-stream'), ('Cache-Control', 'no-cache'),...
Another option is to modify `environ['eventlet.minimum_write_chunk_size']` before calling `start_response`. The reason for this behavior is that Eventlet implements output buffer (4096 bytes by default), to avoid many small writes, which...
It's not `os.environ`, it's WSGI environ, the first argument to WSGI application.