rainbows 0.94.0 → 0.95.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +1 -0
- data/.manifest +18 -0
- data/ChangeLog +394 -226
- data/GIT-VERSION-FILE +1 -1
- data/GIT-VERSION-GEN +1 -1
- data/GNUmakefile +6 -4
- data/NEWS +18 -0
- data/README +13 -5
- data/Static_Files +71 -0
- data/TODO +12 -0
- data/Test_Suite +1 -1
- data/bin/rainbows +1 -4
- data/lib/rainbows/actor_spawn.rb +1 -1
- data/lib/rainbows/app_pool.rb +1 -1
- data/lib/rainbows/base.rb +79 -89
- data/lib/rainbows/byte_slice.rb +17 -0
- data/lib/rainbows/configurator.rb +46 -0
- data/lib/rainbows/const.rb +2 -2
- data/lib/rainbows/dev_fd_response.rb +52 -44
- data/lib/rainbows/error.rb +1 -0
- data/lib/rainbows/ev_core.rb +3 -2
- data/lib/rainbows/event_machine.rb +26 -24
- data/lib/rainbows/fiber/base.rb +30 -40
- data/lib/rainbows/fiber/body.rb +34 -0
- data/lib/rainbows/fiber/io.rb +28 -8
- data/lib/rainbows/fiber/queue.rb +1 -0
- data/lib/rainbows/fiber/rev.rb +4 -2
- data/lib/rainbows/fiber.rb +1 -0
- data/lib/rainbows/fiber_pool.rb +2 -2
- data/lib/rainbows/fiber_spawn.rb +2 -2
- data/lib/rainbows/http_response.rb +20 -31
- data/lib/rainbows/http_server.rb +3 -4
- data/lib/rainbows/max_body.rb +1 -0
- data/lib/rainbows/never_block/event_machine.rb +2 -0
- data/lib/rainbows/never_block.rb +5 -4
- data/lib/rainbows/queue_pool.rb +1 -0
- data/lib/rainbows/response/body.rb +119 -0
- data/lib/rainbows/response.rb +43 -0
- data/lib/rainbows/rev/client.rb +79 -9
- data/lib/rainbows/rev/core.rb +4 -0
- data/lib/rainbows/rev/deferred_response.rb +1 -44
- data/lib/rainbows/rev/heartbeat.rb +1 -0
- data/lib/rainbows/rev/master.rb +1 -0
- data/lib/rainbows/rev/sendfile.rb +26 -0
- data/lib/rainbows/rev/thread.rb +2 -1
- data/lib/rainbows/rev.rb +2 -0
- data/lib/rainbows/rev_fiber_spawn.rb +3 -1
- data/lib/rainbows/rev_thread_pool.rb +7 -5
- data/lib/rainbows/rev_thread_spawn.rb +2 -2
- data/lib/rainbows/revactor.rb +146 -146
- data/lib/rainbows/sendfile.rb +10 -21
- data/lib/rainbows/server_token.rb +39 -0
- data/lib/rainbows/stream_file.rb +14 -0
- data/lib/rainbows/tee_input.rb +1 -0
- data/lib/rainbows/thread_pool.rb +12 -7
- data/lib/rainbows/thread_spawn.rb +2 -3
- data/lib/rainbows/writer_thread_pool.rb +13 -7
- data/lib/rainbows/writer_thread_spawn.rb +12 -9
- data/lib/rainbows.rb +16 -45
- data/rainbows.gemspec +8 -8
- data/t/.gitignore +1 -1
- data/t/GNUmakefile +26 -16
- data/t/README +1 -1
- data/t/async-response-no-autochunk.ru +0 -1
- data/t/async-response.ru +0 -1
- data/t/cramp/rainsocket.ru +26 -0
- data/t/fork-sleep.ru +0 -1
- data/t/my-tap-lib.sh +3 -2
- data/t/simple-http_ActorSpawn.ru +9 -0
- data/t/t0009-broken-app.sh +1 -1
- data/t/t0009.ru +0 -1
- data/t/t0011-close-on-exec-set.sh +1 -1
- data/t/t0015-working_directory.sh +56 -0
- data/t/t0016-onenine-encoding-is-tricky.sh +28 -0
- data/t/t0016.rb +15 -0
- data/t/t0020-large-sendfile-response.sh +141 -0
- data/t/t0300-async_sinatra.sh +0 -6
- data/t/t0501-cramp-rainsocket.sh +38 -0
- data/t/t9001-sendfile-to-path.sh +5 -4
- data/t/t9002-server-token.sh +37 -0
- data/t/t9002.ru +4 -0
- data/t/test-lib.sh +1 -1
- data/t/test_isolate.rb +14 -11
- metadata +87 -18
data/.document
CHANGED
data/.manifest
CHANGED
@@ -18,6 +18,7 @@ NEWS
|
|
18
18
|
README
|
19
19
|
Rakefile
|
20
20
|
SIGNALS
|
21
|
+
Static_Files
|
21
22
|
Summary
|
22
23
|
TODO
|
23
24
|
TUNING
|
@@ -27,6 +28,8 @@ lib/rainbows.rb
|
|
27
28
|
lib/rainbows/actor_spawn.rb
|
28
29
|
lib/rainbows/app_pool.rb
|
29
30
|
lib/rainbows/base.rb
|
31
|
+
lib/rainbows/byte_slice.rb
|
32
|
+
lib/rainbows/configurator.rb
|
30
33
|
lib/rainbows/const.rb
|
31
34
|
lib/rainbows/dev_fd_response.rb
|
32
35
|
lib/rainbows/error.rb
|
@@ -34,6 +37,7 @@ lib/rainbows/ev_core.rb
|
|
34
37
|
lib/rainbows/event_machine.rb
|
35
38
|
lib/rainbows/fiber.rb
|
36
39
|
lib/rainbows/fiber/base.rb
|
40
|
+
lib/rainbows/fiber/body.rb
|
37
41
|
lib/rainbows/fiber/io.rb
|
38
42
|
lib/rainbows/fiber/queue.rb
|
39
43
|
lib/rainbows/fiber/rev.rb
|
@@ -45,18 +49,23 @@ lib/rainbows/max_body.rb
|
|
45
49
|
lib/rainbows/never_block.rb
|
46
50
|
lib/rainbows/never_block/event_machine.rb
|
47
51
|
lib/rainbows/queue_pool.rb
|
52
|
+
lib/rainbows/response.rb
|
53
|
+
lib/rainbows/response/body.rb
|
48
54
|
lib/rainbows/rev.rb
|
49
55
|
lib/rainbows/rev/client.rb
|
50
56
|
lib/rainbows/rev/core.rb
|
51
57
|
lib/rainbows/rev/deferred_response.rb
|
52
58
|
lib/rainbows/rev/heartbeat.rb
|
53
59
|
lib/rainbows/rev/master.rb
|
60
|
+
lib/rainbows/rev/sendfile.rb
|
54
61
|
lib/rainbows/rev/thread.rb
|
55
62
|
lib/rainbows/rev_fiber_spawn.rb
|
56
63
|
lib/rainbows/rev_thread_pool.rb
|
57
64
|
lib/rainbows/rev_thread_spawn.rb
|
58
65
|
lib/rainbows/revactor.rb
|
59
66
|
lib/rainbows/sendfile.rb
|
67
|
+
lib/rainbows/server_token.rb
|
68
|
+
lib/rainbows/stream_file.rb
|
60
69
|
lib/rainbows/tee_input.rb
|
61
70
|
lib/rainbows/thread_pool.rb
|
62
71
|
lib/rainbows/thread_spawn.rb
|
@@ -82,6 +91,7 @@ t/bin/unused_listen
|
|
82
91
|
t/bin/utee
|
83
92
|
t/content-md5.ru
|
84
93
|
t/cramp/README
|
94
|
+
t/cramp/rainsocket.ru
|
85
95
|
t/cramp/streaming.ru
|
86
96
|
t/env.ru
|
87
97
|
t/env_rack_env.ru
|
@@ -92,6 +102,7 @@ t/my-tap-lib.sh
|
|
92
102
|
t/rack-fiber_pool/app.ru
|
93
103
|
t/sha1-random-size.ru
|
94
104
|
t/sha1.ru
|
105
|
+
t/simple-http_ActorSpawn.ru
|
95
106
|
t/simple-http_Base.ru
|
96
107
|
t/simple-http_EventMachine.ru
|
97
108
|
t/simple-http_FiberPool.ru
|
@@ -125,6 +136,10 @@ t/t0011-close-on-exec-set.sh
|
|
125
136
|
t/t0012-spurious-wakeups-quiet.sh
|
126
137
|
t/t0013-reload-bad-config.sh
|
127
138
|
t/t0014-config-conflict.sh
|
139
|
+
t/t0015-working_directory.sh
|
140
|
+
t/t0016-onenine-encoding-is-tricky.sh
|
141
|
+
t/t0016.rb
|
142
|
+
t/t0020-large-sendfile-response.sh
|
128
143
|
t/t0100-rack-input-hammer-chunked.sh
|
129
144
|
t/t0100-rack-input-hammer-content-length.sh
|
130
145
|
t/t0101-rack-input-trailer.sh
|
@@ -138,12 +153,15 @@ t/t0300-async_sinatra.sh
|
|
138
153
|
t/t0400-em-async-app.sh
|
139
154
|
t/t0401-em-async-tailer.sh
|
140
155
|
t/t0500-cramp-streaming.sh
|
156
|
+
t/t0501-cramp-rainsocket.sh
|
141
157
|
t/t0600-rack-fiber_pool.sh
|
142
158
|
t/t0700-app-deferred.sh
|
143
159
|
t/t9000-rack-app-pool.sh
|
144
160
|
t/t9000.ru
|
145
161
|
t/t9001-sendfile-to-path.sh
|
146
162
|
t/t9001.ru
|
163
|
+
t/t9002-server-token.sh
|
164
|
+
t/t9002.ru
|
147
165
|
t/test-lib.sh
|
148
166
|
t/test_isolate.rb
|
149
167
|
t/worker-follows-master-to-death.ru
|