Skip to content

Limit filesize upload, stop in mutex from connection continuing #24

Open

Description

@rslay

Users who try to upload files larger than given limit should have the upload stop if it goes past a certain filesize.

Optimal solution is to check filesize before letting the user start uploading, but it may not be that straightforward since clients can lie. Got to stop the upload the second it passes the filesize limit

Activity

  1. added
    bug
    Important
    on May 5, 2020
  2. rslay commented on May 19, 2020

    @rslay
    OwnerAuthor

    I think it might be fixed in the latest version, had to switch from mutex to busboy and handle packets a more manual way. Need to test.

  3. rslay commented on May 28, 2020

    @rslay
    OwnerAuthor

    When using nginx as a reverse proxy this continues to be an issue, but in testing environments the TCP connection is cut early by the server. This needs to be investigated further

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

    Importantbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions