if you have a file descriptor open you can unlink the file from the filesystem, the file will be actually removed once the fd is closed.
On 18 March 2016 at 10:50, Руслан Закиров <[email protected]> wrote: > Hi, > > I've setup an app that serves files after processing using sendfile and I > want to remove them after serving to the client. Can I setup post-sendfile > hook or something like that? Or do I have to setup files watcher and remove > old? > > -- > Руслан Закиров > Руководитель отдела разработки веб-сервисов > +7(916) 597-92-69, ruz @ <http://www.sports.ru/> > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > -- damjan
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
