tladesignz / AdParticipesCumCepis

MIT License
0 stars 0 forks source link

User can stop sharing after files have been sent #10

Closed n8fr8 closed 2 years ago

n8fr8 commented 2 years ago

When a user selects share mode, they can uncheck the box, "Stop sharing after files have been sent (uncheck to allow downloading individual files)".

If checked, then the service only allows users to download all files at once, and as soon as the first download finishes the service stops.

tladesignz commented 2 years ago

Not implemented, yet, as the GCDWebServer library doesn't support that feature.

Will need to fork and add there, hopefully getting accepted in upstream.

Does this really need to be in the MVP? Doesn't sound very MVP to me.

tladesignz commented 2 years ago

Aha. Maybe I can hack something together with this:

https://github.com/swisspol/GCDWebServer/blob/master/GCDWebServer/Core/GCDWebServer.h#L268-L289