summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@users.sourceforge.net>2018-10-27 17:45:00 -0400
committerNoam Postavsky <npostavs@users.sourceforge.net>2019-04-02 22:02:32 -0400
commitb36913d803ee22a314f2e0a27523fbadeb60dd2c (patch)
treeb5f8fa4e531198d1c049c42b1b0853a5dd87d72d /etc
parent2bd3e484041b2b7ea47c236b86f59610d971b609 (diff)
downloademacs-b36913d803ee22a314f2e0a27523fbadeb60dd2c.tar.gz
Allow partial decompression (Bug#33133)
* src/decompress.c (Fzlib_decompress_region): Add optional ALLOW-PARTIAL parameter. * lisp/url/url-http.el (url-handle-content-transfer-encoding): Use it. * doc/lispref/text.texi (Decompression): Document it. * etc/NEWS: Announce it.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7f6aeab73f0..2bf2b4972a5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1672,6 +1672,12 @@ are implemented in C using the Jansson library.
and 'flatten' it such that the result is a list of all the terminal
nodes.
++++
+** 'zlib-decompress-region' can partially decompress corrupted data.
+If the new optional ALLOW-PARTIAL argument is passed, then the data
+that was decompressed successfully before failing will be inserted
+into the buffer.
+
** Mailcap
---