bayserver-docker-fcgi 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/baykit/bayserver/docker/fcgi/fcg_warp_handler.rb +8 -5
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: accd0224674d22e4c01cb412c3edb138b065e01b2137ffab28edd8493c2ff641
|
4
|
+
data.tar.gz: a71af01e856985267ae28bc5ee6b194b8045cd649c9e731dfd4e8db26b050c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7a37e818469a53289d5f8f6e94d7bc0a796b007418a4748ed4fc6c5e902f800e3b29c18d4ed41c71fa20fe396b553c346e9f477c867f9b5cf647c5c04cae71b
|
7
|
+
data.tar.gz: 8c4b866a0ee80464a1ff58234cba1bdf5feebcdb6c6991054583f64a41bf92b0e7a7b2e25ce6fb397c7db94ee097778ebb28523960d9a95a72e486b049fc88fc
|
data/README.md
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
BayServer
|
2
|
-
|
1
|
+
BayServer is one of the high-speed web servers. It operates as a single-threaded, asynchronous server, which makes it exceptionally fast. It also supports multi-core processors, harnessing the full potential of the CPU's capabilities.
|
2
|
+
|
3
|
+
https://baykit.yokohama
|
@@ -84,7 +84,10 @@ module Baykit
|
|
84
84
|
end
|
85
85
|
|
86
86
|
def post_warp_end(tur)
|
87
|
-
|
87
|
+
callback = lambda do
|
88
|
+
@ship.agent.non_blocking_handler.ask_to_read(@ship.socket)
|
89
|
+
end
|
90
|
+
send_stdin(tur, nil, 0, 0, &callback)
|
88
91
|
end
|
89
92
|
|
90
93
|
def verify_protocol(proto)
|
@@ -255,14 +258,14 @@ module Baykit
|
|
255
258
|
|
256
259
|
def send_stdin(tur, data, ofs, len, &callback)
|
257
260
|
cmd = CmdStdIn.new(WarpData.get(tur).warp_id, data, ofs, len)
|
258
|
-
@
|
261
|
+
@ship.post(cmd, callback)
|
259
262
|
end
|
260
263
|
|
261
264
|
def send_begin_req(tur)
|
262
265
|
cmd = CmdBeginRequest.new(WarpData.get(tur).warp_id)
|
263
266
|
cmd.role = CmdBeginRequest::FCGI_RESPONDER
|
264
267
|
cmd.keep_conn = true
|
265
|
-
@
|
268
|
+
@ship.post(cmd)
|
266
269
|
end
|
267
270
|
|
268
271
|
def send_params(tur)
|
@@ -311,10 +314,10 @@ module Baykit
|
|
311
314
|
end
|
312
315
|
end
|
313
316
|
|
314
|
-
@
|
317
|
+
@ship.post(cmd)
|
315
318
|
|
316
319
|
cmd_params_end = CmdParams.new(WarpData.get(tur).warp_id)
|
317
|
-
@
|
320
|
+
@ship.post(cmd_params_end)
|
318
321
|
end
|
319
322
|
|
320
323
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bayserver-docker-fcgi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michisuke-P
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bayserver-core
|
@@ -16,15 +16,17 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.3.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
27
|
-
description:
|
26
|
+
version: 2.3.0
|
27
|
+
description: BayServer is one of the high-speed web servers. It operates as a single-threaded,
|
28
|
+
asynchronous server, which makes it exceptionally fast. It also supports multi-core
|
29
|
+
processors, harnessing the full potential of the CPU's capabilities.
|
28
30
|
email: michisukep@gmail.com
|
29
31
|
executables: []
|
30
32
|
extensions: []
|