1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
Commit graph

19 commits

Author SHA1 Message Date
Francesco Rodriguez
e7546465d0 Rack handler uses Rack::CommonLogger.
No need to require Puma::CommonLogger.
2016-09-07 21:13:47 +02:00
Evan Phoenix
f600a36812 Move proper requires into rack handler run. Fixes #1076 2016-09-06 13:21:08 -07:00
Prathamesh Sonpatki
c4006b93fa Allow overriding options of Configuration object
- Currently it's not possible to override the default options for
  Puma::Configuration with user provided options.
- I came across this issue while working on fixing server restart for
  Rails.
- Rails can send it's own restart command to Puma and Puma should store
  it in it's configuration object. So that Puma::Launcher can use it.
- After this patch it will be possible as user provided options will be
  taken into account in Configuration object.
2016-03-30 10:56:25 +05:30
Evan Phoenix
90e6e3e011 Treat path-like hosts as unix sockets. Fixes #824 2016-02-25 13:42:29 -08:00
Evan Phoenix
03ed48ca90 Don't log requests by default. Fixes #852 2016-02-25 13:09:02 -08:00
Evan Phoenix
f788af0c8f Continue API cleanup, preparing for 3.0 2016-02-06 19:00:29 -08:00
schneems
36711207e8 Fix Puma with rails server
The "default" thread in the handler was interpreted as canonical and took precedence over the `config/puma.rb` file. Fixed by using defaults already present in `configuration.rb` which is used by the Launcher.

We only advertise `Puma.cli_config` when puma is set via the cli. Not sure why but if `cli.rb` hasn't been loaded then we don't need to run that code.

Moving requires to Launcher so it can be called as a standalone file (otherwise we get require errors).
2016-02-04 16:55:10 -06:00
schneems
8a19a22135 1.8.7 hash 2016-02-04 16:55:10 -06:00
schneems
d6df5cec22 Switch puma rack handler to use Launcher 2016-02-04 16:55:10 -06:00
Andrey Koleshko
fdf69be30b Allow to run puma in silent mode 2015-12-03 05:21:17 +03:00
burningTyger
f6ef2c4a70 fixing for typo mentioned in #803 2015-10-20 14:55:42 +02:00
jc00ke
492001c987 Mongrel::HttpServer hack no longer needed 2014-12-09 22:50:03 -08:00
Larry Marburger
54a357470b Remove unnecessary thread pool size conversions 2013-07-16 20:08:30 -04:00
Evan Phoenix
2280b68d98 Various methods to get newrelic to start. Fixes #128 2012-10-19 23:03:55 -07:00
Darío Javier Cravero
5c6facdec3 Added the ability to set RACK_ENV when Puma is called from a Rack app and not through the CLI 2012-07-05 22:07:45 +01:00
slavic
a022c41972 Add interruption support to Rack Handler 2012-03-26 00:20:11 +03:00
Evan Phoenix
a645b64940 Exclude a logger by default in handler mode. Fixes #22 2011-12-19 14:17:25 -08:00
Evan Phoenix
80eb913b1b Add output when used via rackup 2011-11-22 15:06:51 -08:00
Konstantin Haase
7c41cf7bb7 add Rack handler for Puma 2011-10-04 14:23:51 -07:00