Il giorno 14/nov/2010, alle ore 09.02, [email protected] ha scritto: > Hello Uwsgi, > > I slightly modified your async iobound example: > http://projects.unbit.it/uwsgi/browser/tests/iobound_async.py > > and got in stuck, here you can see my version: http://pastebin.com/37y0qWEU > > instead of TCP/IP it's using UNIX SOCKET + I removed errno checking, > as UNIX socket doesn't have so ERROR codes. BUT, right now I can't > get it working, because if I will uncomment line 36 - my script will > FREEZE, if I will uncomment line 43 - I will get this error message > from uwsgi to console: epoll_ctl(): Bad file descriptor [async.c line 61] > > could you say where I'am wrong here? > > P.S.: as backend server (/tmp/test.sock) I have just socket server, what > ECHO request to > client, so it will just return TEST in pickle format + data size as > first byte in binary (packed) format. > > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
I will add an example with unix socket soon -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
