module Unicorn::Const
Frequently used constants when constructing requests or responses. Many times the constant just refers to a string with the same contents. Using these constants gave about a 3% to 10% performance improvement over using the strings directly. Symbols did not really improve things much compared to constants.
Constants
- CHUNK_SIZE
The basic max request size we'll try to read.
- DEFAULT_HOST
- DEFAULT_LISTEN
- DEFAULT_PORT
- UNICORN_VERSION