Skip to content

Error trying to upload a "big" torrent file #255

@josecelano

Description

@josecelano

I'm testing with real torrents like this:

http://academictorrents.com/details/b8287ebfa04f879b048d4d4404108cf3e8014352

I get a Bad Request response trying to upload the torrent to the backend. I think the problem is the torrent is too big (2.2MB).

I've been debugging, and the error is thrown here.

                while let Some(chunk) = field.chunk().await.map_err(|_| (ServiceError::BadRequest))? {
                    torrent_cursor.write_all(&chunk)?;
                }

I am still determining the reason. I must first check if the backend is receiving the whole torrent data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIncorrect BehaviorEasyGood for Newcomers

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions