qaul / qaul.net

Internet Independent Wireless Mesh Communication App
https://qaul.net
GNU Affero General Public License v3.0
496 stars 63 forks source link

file slicing and encryption in thread #550

Open Harshil-Jani opened 1 year ago

Harshil-Jani commented 1 year ago

In this PR, The file slicing and encryption logic is moved into the async thread. But at the cost of error handling. So, We may in future need to find a way to handle errors inside threads.

Harshil-Jani commented 1 year ago

Maybe for handling the errors, We may want to take support for the channels ? sender : would have error logic inside the new thread. receiver : would handle errors back into main thread.