# Unicorn 4.5.0 - Rack HTTP server for fast clients and Unix

**URL:** <https://www.ruby-forum.com/t/unicorn-4-5-0-rack-http-server-for-fast-clients-and-unix/225038>\
**Category:** Ruby\
**Created:** [December 8, 2012, 1:20am UTC](https://www.ruby-forum.com/t/unicorn-4-5-0-rack-http-server-for-fast-clients-and-unix/225038 "2012-12-08T01:20:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [December 8, 2012, 1:20am UTC](https://www.ruby-forum.com/t/unicorn-4-5-0-rack-http-server-for-fast-clients-and-unix/225038/1 "2012-12-08T01:20:22Z")

</div>

Unicorn is an HTTP server for Rack applications designed to only serve  
fast clients on low-latency, high-bandwidth connections and take  
advantage of features in Unix/Unix-like kernels. Slow clients should  
only be served by placing a reverse proxy capable of fully buffering  
both the the request and response in between \Unicorn and slow clients.

- [http://unicorn.bogomips.org/](http://unicorn.bogomips.org/)
- removed\_email\_address@domain.invalid
- git://bogomips.org/unicorn.git
- [unicorn news](http://unicorn.bogomips.org/NEWS.atom.xml)

Changes:

unicorn 4.5.0 - check\_client\_connection option

The new check\_client\_connection option allows unicorn to detect  
most disconnected local 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

```

This feature only works when nginx (or any other HTTP/1.0+  
client) is on the same machine as unicorn.

A huge thanks to Tom Burns for implementing and testing this  
change in production with real traffic (including mitigating  
an unexpected DoS attack).

ref:  
[http://mid.gmane.org/removed\_email\_address@domain.invalid](http://mid.gmane.org/removed_email_address@domain.invalid)

This release fixes broken Rainbows! compatibility in 4.5.0pre1.
