Closed bsutton closed 3 years ago
So the problem is that the listener is not draining down the http request.
calling request.drain fixes the lag but surely the listener should be draining the request.
We can see that the listener is downloading the entire file as it is the correct result.
I've raised a stackoverflow question:
Fixed in 0.39.4
If you use the fetch function then the dcli script will pause for some seconds before it shuts down.
I'm guessing we are leaving a future hanging.