Adds a max_upstream_connections options that will fail creating additional upstream connections from being made. This is an attempt to preserve the upstream from becoming overwhelmed.
Questions / Things that are broken:
I have not been able to write a good test for this. Is there a better mechanism to "trick" the active client to use a new upstream connection in the spec?
I am unsure what the best closing frame would be to send to the client (server.cr::91 TODO)
As discussed in #97.
Adds a
max_upstream_connections
options that will fail creating additional upstream connections from being made. This is an attempt to preserve the upstream from becoming overwhelmed.Questions / Things that are broken:
server.cr::91
TODO)