From 32333a4d233f73f6fc9d904301f97a4406c446fa Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 29 Nov 2012 23:00:45 +0000 Subject: unicorn 4.5.0pre1 - check_client_connection option The new check_client_connection option allows unicorn to detect most disconnected clients before potentially expensive application processing begins. This feature is useful for applications experiencing spikes of traffic leading to undesirable queue times, as clients will disconnect (and perhaps even retry, compounding the problem) before unicorn can even start processing the request. To enable this feature, add the following line to a unicorn config file: check_client_connection true A huge thanks to Tom Burns for implementing and testing this change in production with real traffic (including mitigating an unexpected DoS attack). --- GIT-VERSION-GEN | 2 +- lib/unicorn/const.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 9b8fa58..ddd99e3 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v4.4.0.GIT +DEF_VER=v4.5.0pre1 LF=' ' diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index f0c4c12..60a63b1 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -8,7 +8,7 @@ # improve things much compared to constants. module Unicorn::Const - UNICORN_VERSION = "4.4.0" + UNICORN_VERSION = "4.5.0pre1" # default TCP listen host address (0.0.0.0, all interfaces) DEFAULT_HOST = "0.0.0.0" -- cgit v1.2.3-24-ge0c7