Skip to content

misplaced argument in h2_stream? #158

@Mehgugs

Description

@Mehgugs

On line 1389
self:write_data_frame is called with timeout as the third argument, but the third argument should be an integer describing how much padding to add?

Definition vs. call:
function stream_methods:write_data_frame(payload, end_stream, padded, timeout, flush)

self:write_data_frame(payload:sub(sent+1, sent+max_available), false, timeout)

This caused an error for me when sending a multipart payload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions