unicorn 3.6.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +1 -0
- data/.manifest +13 -0
- data/ChangeLog +783 -1
- data/DESIGN +0 -8
- data/Documentation/GNUmakefile +1 -1
- data/GIT-VERSION-FILE +1 -1
- data/GIT-VERSION-GEN +1 -1
- data/GNUmakefile +2 -2
- data/HACKING +11 -0
- data/KNOWN_ISSUES +2 -2
- data/LATEST +24 -24
- data/Links +53 -0
- data/NEWS +66 -0
- data/PHILOSOPHY +49 -49
- data/Sandbox +13 -4
- data/TODO +0 -2
- data/TUNING +31 -9
- data/bin/unicorn +2 -1
- data/bin/unicorn_rails +2 -1
- data/examples/big_app_gc.rb +2 -33
- data/examples/nginx.conf +17 -4
- data/ext/unicorn_http/ext_help.h +16 -0
- data/ext/unicorn_http/extconf.rb +1 -0
- data/ext/unicorn_http/global_variables.h +9 -3
- data/ext/unicorn_http/unicorn_http.c +357 -259
- data/ext/unicorn_http/unicorn_http.rl +148 -50
- data/lib/unicorn/configurator.rb +36 -8
- data/lib/unicorn/const.rb +5 -3
- data/lib/unicorn/http_request.rb +1 -3
- data/lib/unicorn/http_server.rb +82 -95
- data/lib/unicorn/oob_gc.rb +61 -50
- data/lib/unicorn/socket_helper.rb +23 -8
- data/lib/unicorn/worker.rb +45 -4
- data/lib/unicorn.rb +8 -6
- data/script/isolate_for_tests +4 -2
- data/t/broken-app.ru +12 -0
- data/t/heartbeat-timeout.ru +12 -0
- data/t/oob_gc.ru +21 -0
- data/t/oob_gc_path.ru +21 -0
- data/t/t0001-reload-bad-config.sh +1 -0
- data/t/t0002-parser-error.sh +64 -1
- data/t/t0004-heartbeat-timeout.sh +69 -0
- data/t/t0009-broken-app.sh +56 -0
- data/t/t0019-max_header_len.sh +49 -0
- data/t/t0020-at_exit-handler.sh +49 -0
- data/t/t9001-oob_gc.sh +47 -0
- data/t/t9002-oob_gc-path.sh +75 -0
- data/test/benchmark/stack.ru +8 -0
- data/test/unit/test_droplet.rb +28 -0
- data/test/unit/test_http_parser.rb +60 -4
- data/test/unit/test_http_parser_ng.rb +54 -0
- data/test/unit/test_response.rb +1 -1
- data/test/unit/test_server.rb +1 -1
- data/test/unit/test_signals.rb +1 -1
- data/test/unit/test_socket_helper.rb +8 -0
- data/test/unit/test_upload.rb +1 -1
- data/unicorn.gemspec +3 -2
- metadata +44 -16
data/.document
CHANGED
data/.manifest
CHANGED
@@ -21,6 +21,7 @@ ISSUES
|
|
21
21
|
KNOWN_ISSUES
|
22
22
|
LATEST
|
23
23
|
LICENSE
|
24
|
+
Links
|
24
25
|
NEWS
|
25
26
|
PHILOSOPHY
|
26
27
|
README
|
@@ -82,8 +83,12 @@ t/bin/content-md5-put
|
|
82
83
|
t/bin/sha1sum.rb
|
83
84
|
t/bin/unused_listen
|
84
85
|
t/bin/utee
|
86
|
+
t/broken-app.ru
|
85
87
|
t/env.ru
|
88
|
+
t/heartbeat-timeout.ru
|
86
89
|
t/my-tap-lib.sh
|
90
|
+
t/oob_gc.ru
|
91
|
+
t/oob_gc_path.ru
|
87
92
|
t/pid.ru
|
88
93
|
t/preread_input.ru
|
89
94
|
t/rack-input-tests.ru
|
@@ -123,12 +128,14 @@ t/t0001-reload-bad-config.sh
|
|
123
128
|
t/t0002-config-conflict.sh
|
124
129
|
t/t0002-parser-error.sh
|
125
130
|
t/t0003-working_directory.sh
|
131
|
+
t/t0004-heartbeat-timeout.sh
|
126
132
|
t/t0004-working_directory_broken.sh
|
127
133
|
t/t0005-working_directory_app.rb.sh
|
128
134
|
t/t0006-reopen-logs.sh
|
129
135
|
t/t0006.ru
|
130
136
|
t/t0007-working_directory_no_embed_cli.sh
|
131
137
|
t/t0008-back_out_of_upgrade.sh
|
138
|
+
t/t0009-broken-app.sh
|
132
139
|
t/t0009-winch_ttin.sh
|
133
140
|
t/t0010-reap-logging.sh
|
134
141
|
t/t0011-active-unix-socket.sh
|
@@ -141,6 +148,8 @@ t/t0015-configurator-internals.sh
|
|
141
148
|
t/t0016-trust-x-forwarded-false.sh
|
142
149
|
t/t0017-trust-x-forwarded-true.sh
|
143
150
|
t/t0018-write-on-close.sh
|
151
|
+
t/t0019-max_header_len.sh
|
152
|
+
t/t0020-at_exit-handler.sh
|
144
153
|
t/t0100-rack-input-tests.sh
|
145
154
|
t/t0116-client_body_buffer_size.sh
|
146
155
|
t/t0116.ru
|
@@ -150,12 +159,15 @@ t/t0302-rails3-alt-working_directory.sh
|
|
150
159
|
t/t0303-rails3-alt-working_directory_config.ru.sh
|
151
160
|
t/t0304-rails3-alt-working_directory_no_embed_cli.sh
|
152
161
|
t/t9000-preread-input.sh
|
162
|
+
t/t9001-oob_gc.sh
|
163
|
+
t/t9002-oob_gc-path.sh
|
153
164
|
t/test-lib.sh
|
154
165
|
t/test-rails3.sh
|
155
166
|
t/write-on-close.ru
|
156
167
|
test/aggregate.rb
|
157
168
|
test/benchmark/README
|
158
169
|
test/benchmark/dd.ru
|
170
|
+
test/benchmark/stack.ru
|
159
171
|
test/exec/README
|
160
172
|
test/exec/test_exec.rb
|
161
173
|
test/rails/app-1.2.3/.gitignore
|
@@ -221,6 +233,7 @@ test/rails/app-2.2.2/public/500.html
|
|
221
233
|
test/rails/test_rails.rb
|
222
234
|
test/test_helper.rb
|
223
235
|
test/unit/test_configurator.rb
|
236
|
+
test/unit/test_droplet.rb
|
224
237
|
test/unit/test_http_parser.rb
|
225
238
|
test/unit/test_http_parser_ng.rb
|
226
239
|
test/unit/test_http_parser_xftrust.rb
|