summaryrefslogtreecommitdiff
path: root/ext/zlib
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-02 21:15:47 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-02 21:15:47 +0000
commitcda2bf5568ff81890011433853bd50407abc550e (patch)
treec935d6c696e9a16b3289a7d6f14498fbcffb9ab7 /ext/zlib
parentdb0126b60976987dea24264e7aee44eeac56b65b (diff)
* ext/zlib/zlib.c: Restored the comment explaining the choice of
buffer expansion size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/zlib')
-rw-r--r--ext/zlib/zlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 9e61ca20e5..e73acc1f12 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -554,6 +554,7 @@ struct zstream {
/* I think that more better value should be found,
but I gave up finding it. B) */
#define ZSTREAM_INITIAL_BUFSIZE 1024
+/* Allow a quick return when the thread is interrupted */
#define ZSTREAM_AVAIL_OUT_STEP_MAX 16384
#define ZSTREAM_AVAIL_OUT_STEP_MIN 2048