bayserver-docker-fcgi 3.0.3 → 3.3.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1c17f439e98ac27811679751b5e2d2c5692687985e4515d0e6adc320602bf16
|
|
4
|
+
data.tar.gz: 831b8d5a6e2a036d499c53cd198fed9059db11285293d361fa3bf4a5bb28305c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcfbb9a49998081ab2eac49489984543088e9eb952f503b6b20870e57297db051034db23362a45563c4ba9fec5e21aa287c2ff28014697bb0b5ac171eaaa88ac
|
|
7
|
+
data.tar.gz: 22f34820fb394819381c4e146c40fc1f2653eae50274dace1184ba13c792a7a604b77b0f4830c1d9381909cfdc93273e7bade0bccf5e4cb1cdf68725832e8765
|
|
@@ -115,9 +115,10 @@ module Baykit
|
|
|
115
115
|
cmd = CmdEndRequest.new(tur.req.key)
|
|
116
116
|
|
|
117
117
|
ensure_func = lambda do
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
# DO NOT close socket by FCGI server
|
|
119
|
+
#if !keep_alive
|
|
120
|
+
# ship.post_close
|
|
121
|
+
#end
|
|
121
122
|
end
|
|
122
123
|
|
|
123
124
|
begin
|
|
@@ -152,7 +153,7 @@ module Baykit
|
|
|
152
153
|
|
|
153
154
|
check_req_id(cmd.req_id)
|
|
154
155
|
|
|
155
|
-
|
|
156
|
+
#@req_id = cmd.req_id
|
|
156
157
|
BayLog.debug("%s begin_req get_tour req_id=%d", sip, cmd.req_id)
|
|
157
158
|
tur = sip.get_tour(cmd.req_id)
|
|
158
159
|
if tur == nil
|
|
@@ -226,7 +227,7 @@ module Baykit
|
|
|
226
227
|
# Delay send
|
|
227
228
|
change_state(STATE_READ_STDIN)
|
|
228
229
|
tur.error = e
|
|
229
|
-
tur.req.set_content_handler(ReqContentHandler
|
|
230
|
+
tur.req.set_content_handler(ReqContentHandler::DEV_NULL)
|
|
230
231
|
return NextSocketAction::CONTINUE
|
|
231
232
|
end
|
|
232
233
|
end
|
|
@@ -257,6 +258,7 @@ module Baykit
|
|
|
257
258
|
end
|
|
258
259
|
|
|
259
260
|
tur.req.uri = @env["REQUEST_URI"]
|
|
261
|
+
HttpUtil.check_uri(tur.req.uri)
|
|
260
262
|
tur.req.protocol = @env["SERVER_PROTOCOL"]
|
|
261
263
|
tur.req.method = @env["REQUEST_METHOD"]
|
|
262
264
|
|
|
@@ -307,7 +309,7 @@ module Baykit
|
|
|
307
309
|
end
|
|
308
310
|
|
|
309
311
|
rescue HttpException => e
|
|
310
|
-
tur.
|
|
312
|
+
tur.req.abort
|
|
311
313
|
tur.res.send_http_exception(Tour::TOUR_ID_NOCHECK, e)
|
|
312
314
|
reset_state()
|
|
313
315
|
return NextSocketAction::WRITE
|
|
@@ -329,12 +331,12 @@ module Baykit
|
|
|
329
331
|
raise ProtocolException.new("Invalid request id: %d", received_id)
|
|
330
332
|
end
|
|
331
333
|
|
|
332
|
-
if
|
|
334
|
+
if req_id == FcgPacket::FCGI_NULL_REQUEST_ID
|
|
333
335
|
@req_id = received_id
|
|
334
336
|
end
|
|
335
337
|
|
|
336
338
|
if @req_id != received_id
|
|
337
|
-
BayLog.error("%s invalid request id: received=%d reqId=%d",
|
|
339
|
+
BayLog.error("%s invalid request id: received=%d reqId=%d", ship, received_id, @req_id)
|
|
338
340
|
raise ProtocolException.new("Invalid request id: %d", received_id)
|
|
339
341
|
end
|
|
340
342
|
end
|
|
@@ -11,7 +11,6 @@ module Baykit
|
|
|
11
11
|
include Baykit::BayServer::Docker::Fcgi::FcgDocker # implements
|
|
12
12
|
|
|
13
13
|
include Baykit::BayServer::Protocol
|
|
14
|
-
include Baykit::BayServer::WaterCraft
|
|
15
14
|
include Baykit::BayServer::Docker::Base
|
|
16
15
|
|
|
17
16
|
######################################################
|
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: 3.
|
|
4
|
+
version: 3.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michisuke-P
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-02-01 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: 3.
|
|
19
|
+
version: 3.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: 3.
|
|
26
|
+
version: 3.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.
|
|
@@ -62,7 +62,7 @@ homepage: https://baykit.yokohama
|
|
|
62
62
|
licenses:
|
|
63
63
|
- MIT
|
|
64
64
|
metadata: {}
|
|
65
|
-
post_install_message:
|
|
65
|
+
post_install_message:
|
|
66
66
|
rdoc_options: []
|
|
67
67
|
require_paths:
|
|
68
68
|
- lib
|
|
@@ -77,8 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
77
77
|
- !ruby/object:Gem::Version
|
|
78
78
|
version: '0'
|
|
79
79
|
requirements: []
|
|
80
|
-
rubygems_version: 3.
|
|
81
|
-
signing_key:
|
|
80
|
+
rubygems_version: 3.4.19
|
|
81
|
+
signing_key:
|
|
82
82
|
specification_version: 4
|
|
83
83
|
summary: AJP docker of BayServer
|
|
84
84
|
test_files: []
|