bayserver-docker-fcgi 2.2.2 → 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: 9a1723a2ef0019fd300f98f53b769a1ac52430a50bad27fe5e9143a2d75124bf
4
- data.tar.gz: 5e34f1645622d9c77838a17fda99d3d3cae508e5c636ad559f6f8fed82e45657
3
+ metadata.gz: accd0224674d22e4c01cb412c3edb138b065e01b2137ffab28edd8493c2ff641
4
+ data.tar.gz: a71af01e856985267ae28bc5ee6b194b8045cd649c9e731dfd4e8db26b050c26
5
5
  SHA512:
6
- metadata.gz: 1a97baaa7c7891cc9accbfabac1ed175cfd2ba13c84ff4e586828699df5c08257d140b1627c57ff429f0652b5e87261476bdabf4720554c9c23e6957a033ea55
7
- data.tar.gz: 60542e54f812e95c8aeaa807d6776422f52c7ef9beda92da2b1395b0b96e4307e110e945a9fc9c84895ac397335e69c6059dc212071a0a5affbd4f7361c092c1
6
+ metadata.gz: f7a37e818469a53289d5f8f6e94d7bc0a796b007418a4748ed4fc6c5e902f800e3b29c18d4ed41c71fa20fe396b553c346e9f477c867f9b5cf647c5c04cae71b
7
+ data.tar.gz: 8c4b866a0ee80464a1ff58234cba1bdf5feebcdb6c6991054583f64a41bf92b0e7a7b2e25ce6fb397c7db94ee097778ebb28523960d9a95a72e486b049fc88fc
@@ -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.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-09-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,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.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.2.2
26
+ version: 2.3.0
27
27
  description: BayServer is one of the high-speed web servers. It operates as a single-threaded,
28
28
  asynchronous server, which makes it exceptionally fast. It also supports multi-core
29
29
  processors, harnessing the full potential of the CPU's capabilities.