wendell-puma 2.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/COPYING +55 -0
- data/DEPLOYMENT.md +92 -0
- data/Gemfile +17 -0
- data/History.txt +588 -0
- data/LICENSE +26 -0
- data/Manifest.txt +68 -0
- data/README.md +251 -0
- data/Rakefile +158 -0
- data/bin/puma +10 -0
- data/bin/puma-wild +31 -0
- data/bin/pumactl +12 -0
- data/docs/config.md +0 -0
- data/docs/nginx.md +80 -0
- data/docs/signals.md +43 -0
- data/ext/puma_http11/PumaHttp11Service.java +17 -0
- data/ext/puma_http11/ext_help.h +15 -0
- data/ext/puma_http11/extconf.rb +9 -0
- data/ext/puma_http11/http11_parser.c +1225 -0
- data/ext/puma_http11/http11_parser.h +64 -0
- data/ext/puma_http11/http11_parser.java.rl +161 -0
- data/ext/puma_http11/http11_parser.rl +146 -0
- data/ext/puma_http11/http11_parser_common.rl +54 -0
- data/ext/puma_http11/io_buffer.c +155 -0
- data/ext/puma_http11/mini_ssl.c +198 -0
- data/ext/puma_http11/org/jruby/puma/Http11.java +225 -0
- data/ext/puma_http11/org/jruby/puma/Http11Parser.java +488 -0
- data/ext/puma_http11/org/jruby/puma/MiniSSL.java +391 -0
- data/ext/puma_http11/puma_http11.c +491 -0
- data/lib/puma.rb +14 -0
- data/lib/puma/accept_nonblock.rb +23 -0
- data/lib/puma/app/status.rb +59 -0
- data/lib/puma/binder.rb +298 -0
- data/lib/puma/capistrano.rb +86 -0
- data/lib/puma/cli.rb +606 -0
- data/lib/puma/client.rb +289 -0
- data/lib/puma/cluster.rb +404 -0
- data/lib/puma/compat.rb +18 -0
- data/lib/puma/configuration.rb +377 -0
- data/lib/puma/const.rb +165 -0
- data/lib/puma/control_cli.rb +251 -0
- data/lib/puma/daemon_ext.rb +25 -0
- data/lib/puma/delegation.rb +11 -0
- data/lib/puma/detect.rb +4 -0
- data/lib/puma/events.rb +130 -0
- data/lib/puma/io_buffer.rb +7 -0
- data/lib/puma/java_io_buffer.rb +45 -0
- data/lib/puma/jruby_restart.rb +83 -0
- data/lib/puma/minissl.rb +187 -0
- data/lib/puma/null_io.rb +34 -0
- data/lib/puma/rack_default.rb +7 -0
- data/lib/puma/rack_patch.rb +45 -0
- data/lib/puma/reactor.rb +183 -0
- data/lib/puma/runner.rb +146 -0
- data/lib/puma/server.rb +801 -0
- data/lib/puma/single.rb +102 -0
- data/lib/puma/tcp_logger.rb +32 -0
- data/lib/puma/thread_pool.rb +185 -0
- data/lib/puma/util.rb +9 -0
- data/lib/rack/handler/puma.rb +66 -0
- data/test/test_app_status.rb +92 -0
- data/test/test_cli.rb +173 -0
- data/test/test_config.rb +26 -0
- data/test/test_http10.rb +27 -0
- data/test/test_http11.rb +144 -0
- data/test/test_integration.rb +165 -0
- data/test/test_iobuffer.rb +38 -0
- data/test/test_minissl.rb +29 -0
- data/test/test_null_io.rb +31 -0
- data/test/test_persistent.rb +238 -0
- data/test/test_puma_server.rb +288 -0
- data/test/test_puma_server_ssl.rb +137 -0
- data/test/test_rack_handler.rb +10 -0
- data/test/test_rack_server.rb +141 -0
- data/test/test_tcp_rack.rb +42 -0
- data/test/test_thread_pool.rb +156 -0
- data/test/test_unix_socket.rb +39 -0
- data/test/test_ws.rb +89 -0
- data/tools/jungle/README.md +9 -0
- data/tools/jungle/init.d/README.md +54 -0
- data/tools/jungle/init.d/puma +332 -0
- data/tools/jungle/init.d/run-puma +3 -0
- data/tools/jungle/upstart/README.md +61 -0
- data/tools/jungle/upstart/puma-manager.conf +31 -0
- data/tools/jungle/upstart/puma.conf +63 -0
- data/tools/trickletest.rb +45 -0
- data/wendell-puma.gemspec +55 -0
- metadata +225 -0
@@ -0,0 +1,61 @@
|
|
1
|
+
# Puma as a service using Upstart
|
2
|
+
|
3
|
+
Manage multiple Puma servers as services on the same box using Ubuntu upstart.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
# Copy the scripts to services directory
|
8
|
+
sudo cp puma.conf puma-manager.conf /etc/init
|
9
|
+
|
10
|
+
# Create an empty configuration file
|
11
|
+
sudo touch /etc/puma.conf
|
12
|
+
|
13
|
+
## Managing the jungle
|
14
|
+
|
15
|
+
Puma apps are referenced in /etc/puma.conf by default. Add each app's path as a new line, e.g.:
|
16
|
+
|
17
|
+
```
|
18
|
+
/home/apps/my-cool-ruby-app
|
19
|
+
/home/apps/another-app/current
|
20
|
+
```
|
21
|
+
|
22
|
+
Start the jungle running:
|
23
|
+
|
24
|
+
`sudo start puma-manager`
|
25
|
+
|
26
|
+
This script will run at boot time.
|
27
|
+
|
28
|
+
Start a single puma like this:
|
29
|
+
|
30
|
+
`sudo start puma app=/path/to/app`
|
31
|
+
|
32
|
+
## Logs
|
33
|
+
|
34
|
+
Everything is logged by upstart, defaulting to `/var/log/upstart`.
|
35
|
+
|
36
|
+
Each puma instance is named after its directory, so for an app called `/home/apps/my-app` the log file would be `/var/log/upstart/puma-_home_apps_my-app.log`.
|
37
|
+
|
38
|
+
## Conventions
|
39
|
+
|
40
|
+
* The script expects:
|
41
|
+
* a config file to exist under `config/puma.rb` in your app. E.g.: `/home/apps/my-app/config/puma.rb`.
|
42
|
+
* a temporary folder to put the PID, socket and state files to exist called `tmp/puma`. E.g.: `/home/apps/my-app/tmp/puma`. Puma will take care of the files for you.
|
43
|
+
|
44
|
+
You can always change those defaults by editing the scripts.
|
45
|
+
|
46
|
+
## Here's what a minimal app's config file should have
|
47
|
+
|
48
|
+
```
|
49
|
+
pidfile "/path/to/app/tmp/puma/pid"
|
50
|
+
state_path "/path/to/app/tmp/puma/state"
|
51
|
+
activate_control_app
|
52
|
+
```
|
53
|
+
|
54
|
+
## Before starting...
|
55
|
+
|
56
|
+
You need to customise `puma.conf` to:
|
57
|
+
|
58
|
+
* Set the right user your app should be running on unless you want root to execute it!
|
59
|
+
* Look for `setuid apps` and `setgid apps`, uncomment those lines and replace `apps` to whatever your deployment user is.
|
60
|
+
* Replace `apps` on the paths (or set the right paths to your user's home) everywhere else.
|
61
|
+
* Uncomment the source lines for `rbenv` or `rvm` support unless you use a system wide installation of Ruby.
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# /etc/init/puma-manager.conf - manage a set of Pumas
|
2
|
+
|
3
|
+
# This example config should work with Ubuntu 12.04+. It
|
4
|
+
# allows you to manage multiple Puma instances with
|
5
|
+
# Upstart, Ubuntu's native service management tool.
|
6
|
+
#
|
7
|
+
# See puma.conf for how to manage a single Puma instance.
|
8
|
+
#
|
9
|
+
# Use "stop puma-manager" to stop all Puma instances.
|
10
|
+
# Use "start puma-manager" to start all instances.
|
11
|
+
# Use "restart puma-manager" to restart all instances.
|
12
|
+
# Crazy, right?
|
13
|
+
#
|
14
|
+
|
15
|
+
description "Manages the set of puma processes"
|
16
|
+
|
17
|
+
# This starts upon bootup and stops on shutdown
|
18
|
+
start on runlevel [2345]
|
19
|
+
stop on runlevel [06]
|
20
|
+
|
21
|
+
# Set this to the number of Puma processes you want
|
22
|
+
# to run on this machine
|
23
|
+
env PUMA_CONF="/etc/puma.conf"
|
24
|
+
|
25
|
+
pre-start script
|
26
|
+
for i in `cat $PUMA_CONF`; do
|
27
|
+
app=`echo $i | cut -d , -f 1`
|
28
|
+
logger -t "puma-manager" "Starting $app"
|
29
|
+
start puma app=$app
|
30
|
+
done
|
31
|
+
end script
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# /etc/init/puma.conf - Puma config
|
2
|
+
|
3
|
+
# This example config should work with Ubuntu 12.04+. It
|
4
|
+
# allows you to manage multiple Puma instances with
|
5
|
+
# Upstart, Ubuntu's native service management tool.
|
6
|
+
#
|
7
|
+
# See workers.conf for how to manage all Puma instances at once.
|
8
|
+
#
|
9
|
+
# Save this config as /etc/init/puma.conf then manage puma with:
|
10
|
+
# sudo start puma app=PATH_TO_APP
|
11
|
+
# sudo stop puma app=PATH_TO_APP
|
12
|
+
# sudo status puma app=PATH_TO_APP
|
13
|
+
#
|
14
|
+
# or use the service command:
|
15
|
+
# sudo service puma {start,stop,restart,status}
|
16
|
+
#
|
17
|
+
|
18
|
+
description "Puma Background Worker"
|
19
|
+
|
20
|
+
# no "start on", we don't want to automatically start
|
21
|
+
stop on (stopping puma-manager or runlevel [06])
|
22
|
+
|
23
|
+
# change apps to match your deployment user if you want to use this as a less privileged user (recommended!)
|
24
|
+
setuid apps
|
25
|
+
setgid apps
|
26
|
+
|
27
|
+
respawn
|
28
|
+
respawn limit 3 30
|
29
|
+
|
30
|
+
instance ${app}
|
31
|
+
|
32
|
+
script
|
33
|
+
# this script runs in /bin/sh by default
|
34
|
+
# respawn as bash so we can source in rbenv/rvm
|
35
|
+
# quoted heredoc to tell /bin/sh not to interpret
|
36
|
+
# variables
|
37
|
+
exec /bin/bash <<'EOT'
|
38
|
+
# set HOME to the setuid user's home, there doesn't seem to be a better, portable way
|
39
|
+
export HOME="$(eval echo ~$(id -un))"
|
40
|
+
|
41
|
+
if [ -d "$HOME/.rbenv/bin" ]; then
|
42
|
+
export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"
|
43
|
+
elif [ -f /etc/profile.d/rvm.sh ]; then
|
44
|
+
source /etc/profile.d/rvm.sh
|
45
|
+
elif [ -f /usr/local/rvm/scripts/rvm ]; then
|
46
|
+
source /etc/profile.d/rvm.sh
|
47
|
+
elif [ -f "$HOME/.rvm/scripts/rvm" ]; then
|
48
|
+
source "$HOME/.rvm/scripts/rvm"
|
49
|
+
elif [ -f /usr/local/share/chruby/chruby.sh ]; then
|
50
|
+
source /usr/local/share/chruby/chruby.sh
|
51
|
+
if [ -f /usr/local/share/chruby/auto.sh ]; then
|
52
|
+
source /usr/local/share/chruby/auto.sh
|
53
|
+
fi
|
54
|
+
# if you aren't using auto, set your version here
|
55
|
+
# chruby 2.0.0
|
56
|
+
fi
|
57
|
+
|
58
|
+
cd $app
|
59
|
+
logger -t puma "Starting server: $app"
|
60
|
+
|
61
|
+
exec bundle exec puma -C config/puma.rb
|
62
|
+
EOT
|
63
|
+
end script
|
@@ -0,0 +1,45 @@
|
|
1
|
+
require 'socket'
|
2
|
+
require 'stringio'
|
3
|
+
|
4
|
+
def do_test(st, chunk)
|
5
|
+
s = TCPSocket.new('127.0.0.1',ARGV[0].to_i);
|
6
|
+
req = StringIO.new(st)
|
7
|
+
nout = 0
|
8
|
+
randstop = rand(st.length / 10)
|
9
|
+
STDERR.puts "stopping after: #{randstop}"
|
10
|
+
|
11
|
+
begin
|
12
|
+
while data = req.read(chunk)
|
13
|
+
nout += s.write(data)
|
14
|
+
s.flush
|
15
|
+
sleep 0.1
|
16
|
+
if nout > randstop
|
17
|
+
STDERR.puts "BANG! after #{nout} bytes."
|
18
|
+
break
|
19
|
+
end
|
20
|
+
end
|
21
|
+
rescue Object => e
|
22
|
+
STDERR.puts "ERROR: #{e}"
|
23
|
+
ensure
|
24
|
+
s.close
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
content = "-" * (1024 * 240)
|
29
|
+
st = "GET / HTTP/1.1\r\nHost: www.zedshaw.com\r\nContent-Type: text/plain\r\nContent-Length: #{content.length}\r\n\r\n#{content}"
|
30
|
+
|
31
|
+
puts "length: #{content.length}"
|
32
|
+
|
33
|
+
threads = []
|
34
|
+
ARGV[1].to_i.times do
|
35
|
+
t = Thread.new do
|
36
|
+
size = 100
|
37
|
+
puts ">>>> #{size} sized chunks"
|
38
|
+
do_test(st, size)
|
39
|
+
end
|
40
|
+
|
41
|
+
t.abort_on_exception = true
|
42
|
+
threads << t
|
43
|
+
end
|
44
|
+
|
45
|
+
threads.each {|t| t.join}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
# This is only used when puma is a git dep from Bundler, so it's a little
|
4
|
+
# weird.
|
5
|
+
|
6
|
+
d = File.read(File.expand_path("../lib/puma/const.rb", __FILE__))
|
7
|
+
if d =~ /VERSION = "(\d+\.\d+\.\d+)"/
|
8
|
+
version = $1
|
9
|
+
else
|
10
|
+
version = "0.0.1"
|
11
|
+
end
|
12
|
+
|
13
|
+
Gem::Specification.new do |s|
|
14
|
+
s.name = "wendell-puma"
|
15
|
+
s.version = version
|
16
|
+
|
17
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
18
|
+
s.authors = ["Evan Phoenix"]
|
19
|
+
s.date = `git log --pretty="%ai" -n 1`.split(" ").first
|
20
|
+
s.description = "Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production environments. In order to get the best throughput, it is highly recommended that you use a Ruby implementation with real threads like Rubinius or JRuby."
|
21
|
+
s.email = ["evan@phx.io"]
|
22
|
+
s.executables = ["puma", "pumactl"]
|
23
|
+
s.extensions = ["ext/puma_http11/extconf.rb"]
|
24
|
+
s.files = `git ls-files`.split($/)
|
25
|
+
s.homepage = "http://puma.io"
|
26
|
+
s.license = "BSD-3-Clause"
|
27
|
+
s.rdoc_options = ["--main", "README.md"]
|
28
|
+
s.require_paths = ["lib"]
|
29
|
+
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
30
|
+
s.rubyforge_project = "puma"
|
31
|
+
s.rubygems_version = "1.8.25"
|
32
|
+
s.summary = "Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications"
|
33
|
+
s.test_files = s.files.grep(/^test/)
|
34
|
+
|
35
|
+
if s.respond_to? :specification_version then
|
36
|
+
s.specification_version = 3
|
37
|
+
|
38
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
39
|
+
s.add_runtime_dependency(%q<rack>, ["< 2.0", ">= 1.1"])
|
40
|
+
s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
|
41
|
+
s.add_development_dependency(%q<rake-compiler>, ["~> 0.8.0"])
|
42
|
+
s.add_development_dependency(%q<hoe>, ["~> 3.6"])
|
43
|
+
else
|
44
|
+
s.add_dependency(%q<rack>, ["< 2.0", ">= 1.1"])
|
45
|
+
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
46
|
+
s.add_dependency(%q<rake-compiler>, ["~> 0.8.0"])
|
47
|
+
s.add_dependency(%q<hoe>, ["~> 3.6"])
|
48
|
+
end
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<rack>, ["< 2.0", ">= 1.1"])
|
51
|
+
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
52
|
+
s.add_dependency(%q<rake-compiler>, ["~> 0.8.0"])
|
53
|
+
s.add_dependency(%q<hoe>, ["~> 3.6"])
|
54
|
+
end
|
55
|
+
end
|
metadata
ADDED
@@ -0,0 +1,225 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wendell-puma
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.9.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Evan Phoenix
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-11-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rack
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.1'
|
20
|
+
- - <
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2.0'
|
23
|
+
requirement: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.1'
|
28
|
+
- - <
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '2.0'
|
31
|
+
prerelease: false
|
32
|
+
type: :runtime
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rdoc
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ~>
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '4.0'
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '4.0'
|
45
|
+
prerelease: false
|
46
|
+
type: :development
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake-compiler
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.8'
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0.8'
|
59
|
+
prerelease: false
|
60
|
+
type: :development
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: hoe
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '3.13'
|
68
|
+
requirement: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '3.13'
|
73
|
+
prerelease: false
|
74
|
+
type: :development
|
75
|
+
description: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production environments. In order to get the best throughput, it is highly recommended that you use a Ruby implementation with real threads like Rubinius or JRuby.
|
76
|
+
email:
|
77
|
+
- evan@phx.io
|
78
|
+
executables:
|
79
|
+
- puma
|
80
|
+
- pumactl
|
81
|
+
extensions:
|
82
|
+
- ext/puma_http11/extconf.rb
|
83
|
+
extra_rdoc_files:
|
84
|
+
- DEPLOYMENT.md
|
85
|
+
- History.txt
|
86
|
+
- Manifest.txt
|
87
|
+
- README.md
|
88
|
+
- docs/config.md
|
89
|
+
- docs/nginx.md
|
90
|
+
- docs/signals.md
|
91
|
+
- tools/jungle/README.md
|
92
|
+
- tools/jungle/init.d/README.md
|
93
|
+
- tools/jungle/upstart/README.md
|
94
|
+
files:
|
95
|
+
- COPYING
|
96
|
+
- DEPLOYMENT.md
|
97
|
+
- Gemfile
|
98
|
+
- History.txt
|
99
|
+
- LICENSE
|
100
|
+
- Manifest.txt
|
101
|
+
- README.md
|
102
|
+
- Rakefile
|
103
|
+
- bin/puma
|
104
|
+
- bin/puma-wild
|
105
|
+
- bin/pumactl
|
106
|
+
- docs/config.md
|
107
|
+
- docs/nginx.md
|
108
|
+
- docs/signals.md
|
109
|
+
- ext/puma_http11/PumaHttp11Service.java
|
110
|
+
- ext/puma_http11/ext_help.h
|
111
|
+
- ext/puma_http11/extconf.rb
|
112
|
+
- ext/puma_http11/http11_parser.c
|
113
|
+
- ext/puma_http11/http11_parser.h
|
114
|
+
- ext/puma_http11/http11_parser.java.rl
|
115
|
+
- ext/puma_http11/http11_parser.rl
|
116
|
+
- ext/puma_http11/http11_parser_common.rl
|
117
|
+
- ext/puma_http11/io_buffer.c
|
118
|
+
- ext/puma_http11/mini_ssl.c
|
119
|
+
- ext/puma_http11/org/jruby/puma/Http11.java
|
120
|
+
- ext/puma_http11/org/jruby/puma/Http11Parser.java
|
121
|
+
- ext/puma_http11/org/jruby/puma/MiniSSL.java
|
122
|
+
- ext/puma_http11/puma_http11.c
|
123
|
+
- lib/puma.rb
|
124
|
+
- lib/puma/accept_nonblock.rb
|
125
|
+
- lib/puma/app/status.rb
|
126
|
+
- lib/puma/binder.rb
|
127
|
+
- lib/puma/capistrano.rb
|
128
|
+
- lib/puma/cli.rb
|
129
|
+
- lib/puma/client.rb
|
130
|
+
- lib/puma/cluster.rb
|
131
|
+
- lib/puma/compat.rb
|
132
|
+
- lib/puma/configuration.rb
|
133
|
+
- lib/puma/const.rb
|
134
|
+
- lib/puma/control_cli.rb
|
135
|
+
- lib/puma/daemon_ext.rb
|
136
|
+
- lib/puma/delegation.rb
|
137
|
+
- lib/puma/detect.rb
|
138
|
+
- lib/puma/events.rb
|
139
|
+
- lib/puma/io_buffer.rb
|
140
|
+
- lib/puma/java_io_buffer.rb
|
141
|
+
- lib/puma/jruby_restart.rb
|
142
|
+
- lib/puma/minissl.rb
|
143
|
+
- lib/puma/null_io.rb
|
144
|
+
- lib/puma/rack_default.rb
|
145
|
+
- lib/puma/rack_patch.rb
|
146
|
+
- lib/puma/reactor.rb
|
147
|
+
- lib/puma/runner.rb
|
148
|
+
- lib/puma/server.rb
|
149
|
+
- lib/puma/single.rb
|
150
|
+
- lib/puma/tcp_logger.rb
|
151
|
+
- lib/puma/thread_pool.rb
|
152
|
+
- lib/puma/util.rb
|
153
|
+
- lib/rack/handler/puma.rb
|
154
|
+
- test/test_app_status.rb
|
155
|
+
- test/test_cli.rb
|
156
|
+
- test/test_config.rb
|
157
|
+
- test/test_http10.rb
|
158
|
+
- test/test_http11.rb
|
159
|
+
- test/test_integration.rb
|
160
|
+
- test/test_iobuffer.rb
|
161
|
+
- test/test_minissl.rb
|
162
|
+
- test/test_null_io.rb
|
163
|
+
- test/test_persistent.rb
|
164
|
+
- test/test_puma_server.rb
|
165
|
+
- test/test_puma_server_ssl.rb
|
166
|
+
- test/test_rack_handler.rb
|
167
|
+
- test/test_rack_server.rb
|
168
|
+
- test/test_tcp_rack.rb
|
169
|
+
- test/test_thread_pool.rb
|
170
|
+
- test/test_unix_socket.rb
|
171
|
+
- test/test_ws.rb
|
172
|
+
- tools/jungle/README.md
|
173
|
+
- tools/jungle/init.d/README.md
|
174
|
+
- tools/jungle/init.d/puma
|
175
|
+
- tools/jungle/init.d/run-puma
|
176
|
+
- tools/jungle/upstart/README.md
|
177
|
+
- tools/jungle/upstart/puma-manager.conf
|
178
|
+
- tools/jungle/upstart/puma.conf
|
179
|
+
- tools/trickletest.rb
|
180
|
+
- wendell-puma.gemspec
|
181
|
+
homepage: http://puma.io
|
182
|
+
licenses:
|
183
|
+
- BSD-3-Clause
|
184
|
+
metadata: {}
|
185
|
+
post_install_message:
|
186
|
+
rdoc_options:
|
187
|
+
- --main
|
188
|
+
- README.md
|
189
|
+
require_paths:
|
190
|
+
- lib
|
191
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - '>='
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: 1.8.7
|
196
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - '>='
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
201
|
+
requirements: []
|
202
|
+
rubyforge_project:
|
203
|
+
rubygems_version: 2.2.2
|
204
|
+
signing_key:
|
205
|
+
specification_version: 4
|
206
|
+
summary: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications
|
207
|
+
test_files:
|
208
|
+
- test/test_app_status.rb
|
209
|
+
- test/test_cli.rb
|
210
|
+
- test/test_config.rb
|
211
|
+
- test/test_http10.rb
|
212
|
+
- test/test_http11.rb
|
213
|
+
- test/test_integration.rb
|
214
|
+
- test/test_iobuffer.rb
|
215
|
+
- test/test_minissl.rb
|
216
|
+
- test/test_null_io.rb
|
217
|
+
- test/test_persistent.rb
|
218
|
+
- test/test_puma_server.rb
|
219
|
+
- test/test_puma_server_ssl.rb
|
220
|
+
- test/test_rack_handler.rb
|
221
|
+
- test/test_rack_server.rb
|
222
|
+
- test/test_tcp_rack.rb
|
223
|
+
- test/test_thread_pool.rb
|
224
|
+
- test/test_unix_socket.rb
|
225
|
+
- test/test_ws.rb
|