From 47225d081318e65d5d832e2dd99ff0880d56b5c6 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 16 Sep 2019 21:25:41 +1000 Subject: [PATCH] http/h2_stream.lua: add missing `end_stream` argument --- http/h2_stream.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/h2_stream.lua b/http/h2_stream.lua index 4d341396..fc751294 100644 --- a/http/h2_stream.lua +++ b/http/h2_stream.lua @@ -1386,7 +1386,7 @@ function stream_methods:write_chunk(payload, end_stream, timeout) if max_available < (#payload - sent) then if max_available > 0 then -- send partial payload - local ok, err, errno = self:write_data_frame(payload:sub(sent+1, sent+max_available), false, timeout) + local ok, err, errno = self:write_data_frame(payload:sub(sent+1, sent+max_available), false, false, timeout) if not ok then return nil, err, errno end