Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • J jami-daemon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • savoirfairelinux
  • jami-daemon
  • Issues
  • #524

Closed
Open
Created Apr 20, 2021 by Sébastien Blin@sblinOwner

Swarm: redo file transfer logic [Wait for android implem]

  • sendFile() only adds a message to the conversation, but don't send any request

  • other peers download files or not

  • logic is the same as askForTransfer

  • URI should supports parameters like from/to to download a block

  • If a socket is cut, it should retry to download

  • Add ratio infos (peers transfer in progress)

TODO

+ rebase unit tests

+ Download file return TID file

+ relink cancelTransfer

+ shutdown channel avoid write both sides.

+ start offset support

+ remove istringstream

+ cache waiting transfers

+ add re-ask mechanism

+ Prepare patch to delete all deprecated code

+ Relink infos()

+ Check that all test builds

+ Move transferManager in conversation and logic from jamiaccount

+ rebase re-ask

+ sendProfile()

+ patch to remove all old logic

+ fileInfo (conv, interactionId, info)

+ cleanup code

+ add tests (info out/in ; retry ; info ; bytesProgress)

+ Update API

Edited May 26, 2021 by Sébastien Blin
Assignee
Assign to
Time tracking