Skip to content

Document Drop behavior for Connection types #3192

Open
@DoumanAsh

Description

@DoumanAsh

This is not per se feature, but rather documentatation issue.
Current documentation for Connection types is very limited to understand its behavior

https://docs.rs/hyper/1.0.0-rc.3/hyper/client/conn/http1/struct.Connection.html
https://docs.rs/hyper/1.0.0-rc.3/hyper/client/conn/http2/struct.Connection.html

It asks to poll it, but it doesn't say what will happen if you drop it (due to panic or other reasons)
It would be good to add more details on its behavior so that user could be confident in how to handle it after request had been handled

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clientArea: client.A-docsArea: documentation.C-featureCategory: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions