Open loyd opened 2 years ago
It seems that hyper doesn't respect the Keep-Alive header and just uses a predefined value (90 seconds). Instead, hyper should consider the header and rotate connections according to it.
Keep-Alive
90 seconds
Related issue: https://github.com/hyperium/hyper/issues/2136. Users disable the pool totally as the easiest solution.
Do other client libraries pay attention to that header? I haven't noticed any...
It looks like browsers universally support it at least: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive
It seems that hyper doesn't respect the
Keep-Alive
header and just uses a predefined value (90 seconds
). Instead, hyper should consider the header and rotate connections according to it.Related issue: https://github.com/hyperium/hyper/issues/2136. Users disable the pool totally as the easiest solution.