I don't see this in the docs but are connections persisted? Or are they dropped on response?
It seems we connect again for each request:
|
let tcp = self.connect()?; |
If connections are not persisted, a connection-pool or a connection-cache would greatly improve additional connections (especially for https)
I don't see this in the docs but are connections persisted? Or are they dropped on response?
It seems we connect again for each request:
minreq/src/connection.rs
Line 244 in 1533698
If connections are not persisted, a connection-pool or a connection-cache would greatly improve additional connections (especially for https)