bayserver-docker-ajp 3.0.1 → 3.0.2
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/lib/baykit/bayserver/docker/ajp/ajp_warp_handler.rb +10 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 564d56705d1068e59c2790492950cf89e938642e59d2385aa90e326ca3759f6a
|
4
|
+
data.tar.gz: 34e31f99270772e8f7702f784838b3b620ceceb449e90b773cf8bc98bcccb9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd579e6341dfb1428b524c92c5e1d8ad8cf0f886adbc0012e094a66e1d8601c5718c74c26ac010fd72bd53acdc89c248aedbcc8ca7961a727e83e7f307ecb6d9
|
7
|
+
data.tar.gz: cddc836d012162123c6d6bc41c79c01097e7eb188e586827f272e93a8e084c610e61de482dfef4618af7ffe607393168ac1c71cf5ad15d7d71f6d460bb897a19
|
@@ -110,7 +110,7 @@ module Baykit
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def handle_end_response(cmd)
|
113
|
-
BayLog.debug("%s handle_end_response reuse=%s st=%d",
|
113
|
+
BayLog.debug("%s handle_end_response reuse=%s st=%d", self, cmd.reuse, @state)
|
114
114
|
tur = ship.get_tour(FIXED_WARP_ID)
|
115
115
|
|
116
116
|
if @state == STATE_READ_HEADER
|
@@ -121,6 +121,9 @@ module Baykit
|
|
121
121
|
if cmd.reuse
|
122
122
|
return NextSocketAction::CONTINUE
|
123
123
|
else
|
124
|
+
# Ensure the callback is not invoked when the connection is disconnected, and this instance becomes invalid.
|
125
|
+
tur.res.detach_consume_listener
|
126
|
+
|
124
127
|
return NextSocketAction::CLOSE
|
125
128
|
end
|
126
129
|
|
@@ -131,15 +134,16 @@ module Baykit
|
|
131
134
|
end
|
132
135
|
|
133
136
|
def handle_send_body_chunk(cmd)
|
134
|
-
BayLog.debug("%s handle_send_body_chunk: len=%d st=%d",
|
135
|
-
|
137
|
+
BayLog.debug("%s handle_send_body_chunk: len=%d st=%d", self, cmd.length, @state)
|
138
|
+
wsip = ship
|
139
|
+
tur = wsip.get_tour(FIXED_WARP_ID)
|
136
140
|
|
137
141
|
if @state == STATE_READ_HEADER
|
138
142
|
|
139
|
-
sid =
|
143
|
+
sid = wsip.ship_id
|
140
144
|
tur.res.set_consume_listener do |len, resume|
|
141
145
|
if resume
|
142
|
-
|
146
|
+
wsip.resume_read(sid)
|
143
147
|
end
|
144
148
|
end
|
145
149
|
|
@@ -157,7 +161,7 @@ module Baykit
|
|
157
161
|
end
|
158
162
|
|
159
163
|
def handle_send_headers(cmd)
|
160
|
-
BayLog.debug("%s handle_send_headers",
|
164
|
+
BayLog.debug("%s handle_send_headers", self)
|
161
165
|
|
162
166
|
tur = ship.get_tour(FIXED_WARP_ID)
|
163
167
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bayserver-docker-ajp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michisuke-P
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-17 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.0.
|
19
|
+
version: 3.0.2
|
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.0.
|
26
|
+
version: 3.0.2
|
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.
|