bayserver-docker-fcgi 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9384e36f5e9d4ad999f2b7375fd0ef44ad405d89d3ed88da280ca97b7e9e18bd
4
- data.tar.gz: 46e335e75802c72f8f8f85051af0d19cb8534162c9eb99bfdea6ecf3bc100f96
3
+ metadata.gz: accd0224674d22e4c01cb412c3edb138b065e01b2137ffab28edd8493c2ff641
4
+ data.tar.gz: a71af01e856985267ae28bc5ee6b194b8045cd649c9e731dfd4e8db26b050c26
5
5
  SHA512:
6
- metadata.gz: a572870058b0feed8183f474177ef6c3c7ca8e07c3ac3506db4c4c09b8fe5314fcfac483d70f0ec76ae7291a3b5b5ffdd5fb5f33b1cb21a5bdaa704e573ab71e
7
- data.tar.gz: e99d9345433e0c707e7d89397dd4a5b6f7ba6877d1af33f5b4d2ea110cc8850194e91be9eeda8c7e69611e8a5d28b0c77c1c49756806ac05d9dd4e651444d1f5
6
+ metadata.gz: f7a37e818469a53289d5f8f6e94d7bc0a796b007418a4748ed4fc6c5e902f800e3b29c18d4ed41c71fa20fe396b553c346e9f477c867f9b5cf647c5c04cae71b
7
+ data.tar.gz: 8c4b866a0ee80464a1ff58234cba1bdf5feebcdb6c6991054583f64a41bf92b0e7a7b2e25ce6fb397c7db94ee097778ebb28523960d9a95a72e486b049fc88fc
data/README.md CHANGED
@@ -1,2 +1,3 @@
1
- BayServer for Ruby
2
- https://baykit.yokohama/about-bayserver/
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
- send_stdin(tur, nil, 0, 0)
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
- @command_packer.post(@ship, cmd, &callback)
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
- @command_packer.post(@ship, cmd)
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
- @command_packer.post(@ship, cmd)
317
+ @ship.post(cmd)
315
318
 
316
319
  cmd_params_end = CmdParams.new(WarpData.get(tur).warp_id)
317
- @command_packer.post(@ship, cmd_params_end)
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.2.1
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-08-30 00:00:00.000000000 Z
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.2.1
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.2.1
27
- description: AJP docker of BayServer
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: []