-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add graceful shutdown #386
Comments
Thanks @bahlo . Agreed. Is there any specific interface you're looking for? |
@hannesdejager Yes, similar to the See also Graceful Shutdown. |
@bahlo I'm adding a Usage will look something like this:
Let me know if you have more input. |
By the way feel free to share your use case for libunftp. It's always interesting for us :-). |
That looks great, can't wait! My use case: I have a printer with a scanner on top and I want to use that to scan documents (paperless and all that), but I 1. don't want to upload them to Dropbox or whatever the printer supports unencrypted and 2. don't want to send them via email. So I use libunftp to expose an FTP server in my local network that, when a file is uploaded will run OCR, store it locally and send a link via email that only resolves locally. That way I can save the document directly to my encrypted storage. |
Very nice! |
Available in version 0.18.2 |
Ready for consumption @bahlo :-) |
Thanks, appreciate it! ❤️ |
Would be great to get graceful shutdown. Right now I'm
tokio::select!
ing on the future oflibunftp::Server.listen
and my shutdown future, a.k.a just dropping the everything which isn't great.The text was updated successfully, but these errors were encountered: