bayserver-docker-fcgi 2.2.2 → 2.3.1

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: c8895dd99f4c38caba69363992f3f9ec0b80df8319cbbc1ee0ef35c52c8d493e
4
+ data.tar.gz: 99467afe60b029a4aea39a4449f4456fc77ce19d1f0ef7171a9526b43563b123
5
5
  SHA512:
6
- metadata.gz: 1a97baaa7c7891cc9accbfabac1ed175cfd2ba13c84ff4e586828699df5c08257d140b1627c57ff429f0652b5e87261476bdabf4720554c9c23e6957a033ea55
7
- data.tar.gz: 60542e54f812e95c8aeaa807d6776422f52c7ef9beda92da2b1395b0b96e4307e110e945a9fc9c84895ac397335e69c6059dc212071a0a5affbd4f7361c092c1
6
+ metadata.gz: e4f16af8654070cf44c0340939c0b6652c5d329b5ad51b1875331749ac96c90ac70cc84ba3de20804145bb9b89468dc9f32f1f189b8ceacd54747bb6b77812d1
7
+ data.tar.gz: c5535d5703b6c909c3bb8ced70382a5eb8592f659e4901a6301b87c99b8837dd2f28098509a0870878b747aa8bbc6886a0d4294f2a108beacfb0085fcc2fa180
@@ -142,7 +142,6 @@ module Baykit
142
142
  BayLog.error(BayMessage.get(:INT_NO_MORE_TOURS))
143
143
  tur = sip.ship.get_tour(cmd.req_id, true)
144
144
  tur.res.send_error(Tour::TOUR_ID_NOCHECK, HttpStatus.SERVICE_UNAVAILABLE, "No available tours")
145
- sip.agent.shutdown(false)
146
145
  return NextSocketAction::CONTINUE
147
146
  end
148
147
 
@@ -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.1
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-12-04 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.1
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.1
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.