aboutsummaryrefslogtreecommitdiffstats
path: root/lib/plum/stream_utils.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-21 14:58:38 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-21 14:58:38 +0900
commitf5698de3a35cc9c37f4223d301c00b77de83dd01 (patch)
tree8ea94af43760a85e44fcf83e34969a42a1604147 /lib/plum/stream_utils.rb
parenta49c4ae1a4ec6befacf7bcbc428a6279e8c51818 (diff)
downloadplum-f5698de3a35cc9c37f4223d301c00b77de83dd01.tar.gz
avoid verbose warnings
Diffstat (limited to 'lib/plum/stream_utils.rb')
-rw-r--r--lib/plum/stream_utils.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/plum/stream_utils.rb b/lib/plum/stream_utils.rb
index 5fd6cc2..7607815 100644
--- a/lib/plum/stream_utils.rb
+++ b/lib/plum/stream_utils.rb
@@ -18,7 +18,6 @@ module Plum
# @param headers [Enumerable<String, String>] The response headers.
# @param end_stream [Boolean] Set END_STREAM flag or not.
def send_headers(headers, end_stream:)
- max = @connection.remote_settings[:max_frame_size]
encoded = @connection.hpack_encoder.encode(headers)
frame = Frame.headers(id, encoded, end_headers: true, end_stream: end_stream)
send frame