hyper
hyper copied to clipboard
Client should respect the "Keep-Alive" header
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.
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