domain-middleware icon indicating copy to clipboard operation
domain-middleware copied to clipboard

closing the server when not in cluster

Open Offirmo opened this issue 11 years ago • 2 comments

For what I can see in the code, the current code won't attempt to close the server when not in a cluster.

This is questionable (though I can think of some debatable reasons)

Being in an undefined state should call for an immediate stop to serving potentially wrong requests.

Offirmo avatar Sep 26 '14 22:09 Offirmo

PR pending.

Offirmo avatar Sep 26 '14 22:09 Offirmo

Note : my fork https://github.com/Offirmo/domain-middleware has this issue solved.

Offirmo avatar Oct 09 '14 15:10 Offirmo