diff options
author | Michael Merickel <michael@merickel.org> | 2019-04-04 00:39:10 -0500 |
---|---|---|
committer | Michael Merickel <michael@merickel.org> | 2019-04-04 00:44:56 -0500 |
commit | e249f234757d31d0955bd37fae7ca2018d4af704 (patch) | |
tree | 88e7181fb06781baf8044d0fbf091cadfaa8d76f /CHANGES.txt | |
parent | 7c0a30889f16d084a3ff3979cd4691f9f3423d14 (diff) | |
download | waitress-e249f234757d31d0955bd37fae7ca2018d4af704.tar.gz |
flush SO_SNDBUF data on every send and deprecate send_bytesso_sndbuf
Diffstat (limited to 'CHANGES.txt')
-rw-r--r-- | CHANGES.txt | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index a0352ba..5a3b0c7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,7 +1,14 @@ unreleased ---------- -Bugfixes +Deprecations +~~~~~~~~~~~~ + +- The ``send_bytes`` adjustment now defaults to ``1`` and is deprecated + pending removal in a future release. + and https://github.com/Pylons/waitress/pull/246 + +Features ~~~~~~~~ - Stop early and close the ``app_iter`` when attempting to write to a closed @@ -11,6 +18,17 @@ Bugfixes and https://github.com/Pylons/waitress/pull/240 and https://github.com/Pylons/waitress/pull/241 +- Adjust the flush to output ``SO_SNDBUF`` bytes instead of whatever was + set in the ``send_bytes`` adjustment. ``send_bytes`` now only controls how + much waitress will buffer internally before flushing to the kernel, whereas + previously it used to also throttle how much data was sent to the kernel. + This change enables a streaming ``app_iter`` containing small chunks to + still be flushed efficiently. + See https://github.com/Pylons/waitress/pull/246 + +Bugfixes +~~~~~~~~ + - When a client closes a socket unexpectedly there was potential for memory leaks in which data was written to the buffers after they were closed, causing them to reopen. |