Skip to content

Reused flag or way to get if the connection was reused instead of creating new connection #2827

@goriunov

Description

@goriunov

I am using pool, and want to be able to track when during my http requests the connection was reused or was created new one, this is particularly useful for tracking and latency measure under different scenarios.

I am looking for something similar to golang resy library tracing module, where i could easily see if conn was reused or latency at different parts of the execution.

Here is the doc for abit more reference:

https://resty.dev/docs/request-tracing/

Is it something possible to achieve with reqwest?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions