Skip to content

Commit 47225d0

Browse files
Mehgugsdaurnimator
authored andcommitted
http/h2_stream.lua: add missing end_stream argument
1 parent 29524fa commit 47225d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/h2_stream.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ function stream_methods:write_chunk(payload, end_stream, timeout)
13861386
if max_available < (#payload - sent) then
13871387
if max_available > 0 then
13881388
-- send partial payload
1389-
local ok, err, errno = self:write_data_frame(payload:sub(sent+1, sent+max_available), false, timeout)
1389+
local ok, err, errno = self:write_data_frame(payload:sub(sent+1, sent+max_available), false, false, timeout)
13901390
if not ok then
13911391
return nil, err, errno
13921392
end

0 commit comments

Comments
 (0)