bayserver-docker-ajp 3.0.1 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/baykit/bayserver/docker/ajp/ajp_warp_handler.rb +10 -9
- 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: 881981d8e1d4f0c00296ac24a9131d66f8ee2bf95d38883177dc441e062b5fe7
|
4
|
+
data.tar.gz: 97d26bdd05c25f548787eceb415280832e03776cea4868b578956dc61579100c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29335374e4d23c795a5fe7685179d48075c47ee490f6091eddcc36367f33ff7607b83a83309fbc39d080a77d4f7d7e1648ad749cbf99744937f1faf3fa98fb2d
|
7
|
+
data.tar.gz: 680f4f7953fc9bf8c2fc49133dfea19f084c8fd5c616f61ab3792ca2a7ec1daccc563758fdb4e88fc7fa01ce15620bf75c96574006b48c9b21d8dee090834b3f
|
@@ -110,14 +110,14 @@ 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
|
117
117
|
end_res_header(tur)
|
118
118
|
end
|
119
119
|
|
120
|
-
end_res_content(tur)
|
120
|
+
end_res_content(tur, cmd.reuse)
|
121
121
|
if cmd.reuse
|
122
122
|
return NextSocketAction::CONTINUE
|
123
123
|
else
|
@@ -131,15 +131,16 @@ module Baykit
|
|
131
131
|
end
|
132
132
|
|
133
133
|
def handle_send_body_chunk(cmd)
|
134
|
-
BayLog.debug("%s handle_send_body_chunk: len=%d st=%d",
|
135
|
-
|
134
|
+
BayLog.debug("%s handle_send_body_chunk: len=%d st=%d", self, cmd.length, @state)
|
135
|
+
wsip = ship
|
136
|
+
tur = wsip.get_tour(FIXED_WARP_ID)
|
136
137
|
|
137
138
|
if @state == STATE_READ_HEADER
|
138
139
|
|
139
|
-
sid =
|
140
|
+
sid = wsip.ship_id
|
140
141
|
tur.res.set_consume_listener do |len, resume|
|
141
142
|
if resume
|
142
|
-
|
143
|
+
wsip.resume_read(sid)
|
143
144
|
end
|
144
145
|
end
|
145
146
|
|
@@ -157,7 +158,7 @@ module Baykit
|
|
157
158
|
end
|
158
159
|
|
159
160
|
def handle_send_headers(cmd)
|
160
|
-
BayLog.debug("%s handle_send_headers",
|
161
|
+
BayLog.debug("%s handle_send_headers", self)
|
161
162
|
|
162
163
|
tur = ship.get_tour(FIXED_WARP_ID)
|
163
164
|
|
@@ -205,8 +206,8 @@ module Baykit
|
|
205
206
|
change_state(STATE_READ_CONTENT)
|
206
207
|
end
|
207
208
|
|
208
|
-
def end_res_content(tur)
|
209
|
-
ship.end_warp_tour(tur)
|
209
|
+
def end_res_content(tur, keep)
|
210
|
+
ship.end_warp_tour(tur, keep)
|
210
211
|
tur.res.end_res_content(Tour::TOUR_ID_NOCHECK)
|
211
212
|
reset_state()
|
212
213
|
end
|
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.3
|
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
|
+
date: 2024-12-24 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.3
|
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.3
|
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.
|