-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
A-clientArea: client.Area: client.A-docsArea: documentation.Area: documentation.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.
Description
[Note: Verified on 13.10, haven't been able to try with 14.x yet]
When implementing a https://docs.rs/hyper/0.13.10/hyper/client/connect/index.html the documentation says:
A "connector" is a Service that takes a Uri destination, and its Response is some type implementing AsyncRead, AsyncWrite, and Connection.
This is a bit misleading -- specifically, the Uri that it receives is not the Uri that the request is for -- the path and query part appear to be stripped, leaving just the schema and the authority.
I think this is because, for connection pooling, only the scheme and authority are considered as part of the hash key.
Metadata
Metadata
Assignees
Labels
A-clientArea: client.Area: client.A-docsArea: documentation.Area: documentation.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.