Skip to content

Commit

Permalink
http/h2_stream.lua: add missing end_stream argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehgugs authored and daurnimator committed Sep 16, 2019
1 parent 29524fa commit 47225d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/h2_stream.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47225d0

Please # to comment.