close earlier nginx connections for a client

view full story

http://stackoverflow.com – lets say I am serving large files on an nginx server and I have a situation where a client downloads the large file more than once at the same time. Is there any way to kill the earlier connections for that client and just leave the newest connection alive so that the download can finish? (HowTos)