1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib/puma
Evan Phoenix 6777c771d8 Add separate IO reactor to defeat slow clients
Previously, the app thread would be in charge of reading the request
directly from the client. This resulted in a set of slow clients being
able to completely starve the app thread pool and prevent any further
connections from being handled.

This new organization uses a seperate reactor thread that is in charge
of responding when a client has more data, buffering the data and
attempting to parse the data. When the data represents a fully realized
request, only then is it handed to the app thread pool. This means we
trust apps to not starve the pool, but don't trust clients.
2012-07-23 10:26:52 -07:00
..
app Formatting fix 2012-07-19 16:38:16 -07:00
cli.rb Formatting fix 2012-07-19 16:38:16 -07:00
client.rb Add separate IO reactor to defeat slow clients 2012-07-23 10:26:52 -07:00
compat.rb Use the byte size, not the character size. Fixes #45 2012-03-29 15:29:02 -07:00
configuration.rb Added support for setting RACK_ENV through the CLI and the config file. 2012-07-05 21:38:06 +01:00
const.rb Bump to 1.5.0 2012-07-19 16:39:58 -07:00
control_cli.rb Change YAML.load trick to use File.read instead 2012-01-08 17:46:10 -03:00
events.rb Delegate cli log and error to events 2012-07-02 19:09:35 -03:00
jruby_restart.rb Use FFI on JRuby to perform fast restart 2011-12-06 13:28:54 -08:00
null_io.rb Remove StringIO dependency from NullIO 2012-04-30 14:55:16 -04:00
rack_patch.rb Write a bunch of documentation 2011-12-01 15:23:14 -08:00
reactor.rb Add separate IO reactor to defeat slow clients 2012-07-23 10:26:52 -07:00
server.rb Add separate IO reactor to defeat slow clients 2012-07-23 10:26:52 -07:00
thread_pool.rb Add missing localvars. Accessing localvars is faster than accessing ivars 2012-07-05 16:05:29 -03:00