bayserver-docker-http 2.2.1 → 2.2.2

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: bb3eee2b26cea535b4f8c102d539dd2ba2d821424f81d43e9e6a7576b71bae8d
4
- data.tar.gz: 3717782cfda63cca3f49a199467147019db92299c94b8aecdf75f3450ddcd22d
3
+ metadata.gz: 66bea21713736ec1435ab3b97d084e3c31008c35049caad590f1ddee498992b2
4
+ data.tar.gz: 4d65c94280c2d51a0de39d6a68eebef87ca0a640bea6ec997e47c8abe77c800a
5
5
  SHA512:
6
- metadata.gz: f69b69c5929a62dc970641ae3831869711838d3d10e52aaf8e372494823876df9e452e97c9740f62bbadd56bebdef5115fb853168b19f0242a0ab33695153c9a
7
- data.tar.gz: e04f6224d4b5e580d53bc1eba8423d76cbe673228f352d72a35011355704d20553570ab373504e870512e41cb41f2429e2074af7f06e4f67b50cfb1276a08fa3
6
+ metadata.gz: d0362236b8c1e361bdcb83d073171a4a0442867bbac44f5ac55ff96dc9024a72231076a66c0f185e79108cc531fe5f027d7422cdcc013c15c48d19d6a8eafdaf
7
+ data.tar.gz: 1d9e1596dbe2f162007cd6b3024cb6f0dc58531bc8e11e300cbecca394487afb2ccccc613fd06e059a03261cdcbc105a555106df7c1dc6fa0097eb2ae2fb6b40
@@ -157,7 +157,10 @@ module Baykit
157
157
  end
158
158
 
159
159
  if state == STATE_READ_FIRST_LINE
160
- raise RuntimeError.new("Invalid HTTP header format")
160
+ raise ProtocolException.new(
161
+ BayMessage.get(
162
+ :HTP_INVALID_HEADER_FORMAT,
163
+ pkt.buf[line_start_pos, line_len]))
161
164
  end
162
165
  end
163
166
 
@@ -186,9 +186,6 @@ module Baykit
186
186
  end
187
187
 
188
188
  tur = @ship.get_tour(@cur_req_id)
189
- @cur_tour = tur
190
- @cur_tour_id = tur.id()
191
- @cur_req_id += 1
192
189
 
193
190
  if tur == nil
194
191
  BayLog.error(BayMessage.get(:INT_NO_MORE_TOURS))
@@ -198,6 +195,10 @@ module Baykit
198
195
  return NextSocketAction::CONTINUE
199
196
  end
200
197
 
198
+ @cur_tour = tur
199
+ @cur_tour_id = tur.id()
200
+ @cur_req_id += 1
201
+
201
202
  @ship.keeping = false
202
203
 
203
204
  @http_protocol = protocol
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bayserver-docker-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.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: 2023-08-30 00:00:00.000000000 Z
11
+ date: 2023-09-29 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.1
19
+ version: 2.2.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: 2.2.1
26
+ version: 2.2.2
27
27
  description: AJP docker of BayServer
28
28
  email: michisukep@gmail.com
29
29
  executables: []