Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Cancel the downloaded large file, but the server is still reading the file #77

Description

@zengkid

The user suddenly stopped downloading the large file while downloading the large file, but the server is still reading the large file and did not cancel the request. The CUP, memory is high, and disk still reading data.

the large file more than 4G.

my code as below:

await for (HttpRequest request in server) {
    runZoned(() {
      virDir.serveRequest(request);
    });
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions