it would be nice to have the abortConnection() method from EofSensorInputStream (from httpclient 4.x) in HtmlUnit
i have a app which retrieves some media (like video, music ...) and if a user clicks on next he has to wait until the stream (sometimes 700mb!) are retrieved
the close() method closes the stream, but its still retrieving it (checked it with wireshark)
Is there any chance of having this feature implemented? I have tried to make it work without success: https://stackoverflow.com/questions/20401106/stop-htmlunit-download-after-specified-file-size-is-reached