async-http 0.45.8 → 0.45.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/http/protocol/http2/connection.rb +20 -0
- data/lib/async/http/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db1594d1f164cc3ab8f63d2c4b4b9b75fa1ca13f564ea4a4908b6fa27aabf0b9
|
4
|
+
data.tar.gz: 6df7e3e2c1a82dcdd699ec612bf7d9e7ad293baaba308f7a61935af5966ea7c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a59e18445d9e8d31bb08a577d46d88dec3a758a481f57577a22612dbe435f6ff89ff22ac1a4cff15b56f59774ccdad8ebde939186ecd411102ac03ac944334ea
|
7
|
+
data.tar.gz: 9577d519fd0d5d7207df86243e9ce11842b32113d8ac7a21744d7a4089ee16ffed5aa99fbe8f8e772ea99b3bb81dc4c8569db73ad3c1fcf0aeca72c146fd1a3e
|
@@ -123,6 +123,26 @@ module Async
|
|
123
123
|
def version
|
124
124
|
VERSION
|
125
125
|
end
|
126
|
+
|
127
|
+
def encode_headers(headers, buffer = String.new.b)
|
128
|
+
super.tap do |data|
|
129
|
+
Async.logger.debug(self) do |buffer|
|
130
|
+
buffer.puts "Encode headers: #{headers.inspect}"
|
131
|
+
buffer.puts "-> #{data.inspect}"
|
132
|
+
buffer.puts "@encoder: #{@encoder.inspect}"
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
def decode_headers(data)
|
138
|
+
super.tap do |headers|
|
139
|
+
Async.logger.debug(self) do |buffer|
|
140
|
+
buffer.puts "Decode headers: #{data.inspect}"
|
141
|
+
buffer.puts "-> #{headers.inspect}"
|
142
|
+
buffer.puts "@decoder: #{@decoder.inspect}"
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
126
146
|
end
|
127
147
|
end
|
128
148
|
end
|
data/lib/async/http/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.45.
|
4
|
+
version: 0.45.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|