You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, it seems that connection pooling is interwired with the http client itself. Does that have to be the case? Would it not be possible to implement pooling with a custom connector instead?
I have a program that generates a lot of connections, even though it only ever connects to the same server. I need to investigate a little bit more, but I'm assuming right now that for some reason, it is losing the race with the pool checkout quite often.
The text was updated successfully, but these errors were encountered:
@mraerino I can't comment if work on this is planned, but the the lower-level hyper::client::conn module would allow you build a high-level client with arbitrary pooling. If you chose to go down this path, I'd suggest looking at the internals of high-level Client.
Right now, it seems that connection pooling is interwired with the http client itself. Does that have to be the case? Would it not be possible to implement pooling with a custom
connector
instead?I have a program that generates a lot of connections, even though it only ever connects to the same server. I need to investigate a little bit more, but I'm assuming right now that for some reason, it is losing the race with the pool checkout quite often.
The text was updated successfully, but these errors were encountered: