+
Skip to content

Response::body_bytes does not timeout properly #359

@riveroon

Description

@riveroon

Awaiting on Response::body_bytes may not return properly, even when timeout is set with set_timeout.

Relevant log file

This log was generated from https://github.com/riveroon/twitch-archive/tree/debug_hls with a custom future which logs every poll() requests.
The main, media, client, and body in the logs are here, here, here and here, respectively.
(I know this seems stupid - but I wanted to know if body_bytes was blocking inside a call, or simply not calling Waker.)

Enabled features are: surf = { version = "2", default_features = false, features = ["h1-client-rustls", "encoding"] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载