> So I did: > uwsgi.wait_read_hook = uwsgi_simple_wait_read_hook; > > and it also works, however implementing the Qt loop async > is a must, as the programer can easily create a local loop > with QEvenLoop and have the socket notifier to get another > request which fails to process here, what should be done? > > Many thanks, >
Some day ago you showed me an implementation of read/write hook using qt. I think it is the best approach to follow (using QSocketNotifier interface). Feel free to make a pull request for the uwsgi-qtloop project. By the way, i fear you did somethign wrong as uwsgi_simple_wait_read_hook is automatically initialized on startup (in the init.c source) -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
