Ah, excellent. Thank you, Roberto. Forgive me if this is obvious, but how would one go about extracting an embedded executable and running it with this syntax, though (or passing a configuration file to one)? I mean, *attach-daemon still probably won't create an executable image out of a char*...
(Though the security-minded me is screaming out at the possibility of a possibly user-created .ini file including "executable code" (or even directly executable code) from arbitrary sources.) > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Roberto De Ioris > Sent: 28. maaliskuuta 2014 7:49 > To: uWSGI developers and users list > Subject: Re: [uWSGI] Embedding files on FreeBSD > > > > I'm not surprised that this feature might exist in uWSGI :D > > > > Can you point out where it's implemented in config.c/whatever though? > > I could read up on it and write some docs. > > > > Thanks! > > > I have added this some minutes ago: > > https://github.com/unbit/uwsgi- > docs/commit/3ad9646e695ded6a0a96337181f62f43aded95f1 > > > the '@' magic is called here > > https://github.com/unbit/uwsgi/blob/master/core/uwsgi.c#L2127 > > the function to manage it is: > > https://github.com/unbit/uwsgi/blob/master/core/uwsgi.c#L1919 > > but all happens in core/io.c > > https://github.com/unbit/uwsgi/blob/master/core/uwsgi.c#L1919 > > that has support for modular "schemes" > > https://github.com/unbit/uwsgi/blob/master/core/io.c#L1243 > > (plugins can register more schemes) > > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
