Is your feature request related to a problem? Please describe.
While investigating hard-to-debug connection related issues in cloud infra, we will likely want to obtain any kind of information that might be relevant. Even whether a connection that has just failed is reused from the connection pool or is newly established can be a valuable insight that we could use to troubleshoot.
Describe the solution you'd like
Maybe add a new private field to the hyper_util::client::legacy::connect::HttpInfo, like is_new_connection (or is_reused_connection) and make it publicly accessible via a method?
Describe alternatives you've considered
I didn't come up with other alternatives
Additional context
N/A
Is your feature request related to a problem? Please describe.
While investigating hard-to-debug connection related issues in cloud infra, we will likely want to obtain any kind of information that might be relevant. Even whether a connection that has just failed is reused from the connection pool or is newly established can be a valuable insight that we could use to troubleshoot.
Describe the solution you'd like
Maybe add a new private field to the
hyper_util::client::legacy::connect::HttpInfo, likeis_new_connection(oris_reused_connection) and make it publicly accessible via a method?Describe alternatives you've considered
I didn't come up with other alternatives
Additional context
N/A