about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-31 17:34:07 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-31 17:34:07 -0800
commitd4773fc63a847119004c17a1b8803a815f99d98a (patch)
treec4ddb1790265bcf129486b3d644ea9d7a19efca4
parent8a1fc65c88dee174940735bb46074c72ac47ce61 (diff)
downloadkgio-d4773fc63a847119004c17a1b8803a815f99d98a.tar.gz
TCP_CORK (and presuably TCP_NOPUSH) aren't remotely useful in
Rainbows! without this and there's almost no overhead for MRI,
either.
-rw-r--r--ext/kgio/autopush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/kgio/autopush.c b/ext/kgio/autopush.c
index cc83fdb..a91e019 100644
--- a/ext/kgio/autopush.c
+++ b/ext/kgio/autopush.c
@@ -28,7 +28,7 @@
 
 #ifdef KGIO_NOPUSH
 static ID id_autopush_state;
-static int enabled;
+static int enabled = 1;
 
 enum autopush_state {
         AUTOPUSH_STATE_ACCEPTOR_IGNORE = -1,