Hi again!
I investigate a little bit further my problem where the server was dying while client 
were sending an authentification.
It seems that the problem is linked to the pthlib and in fact when jabber try to write 
the outcoming response to the newly authenticated client, the mio thread is still 
processing the different socket. So it means that  in _mio_main jabber is not waiting 
at :
retval = pth_select_ev(maxfd+1, &rfds, &wfds, NULL, NULL, wevt);

but still working in the loop ;
for(cur = mio__data->master__list; cur != NULL;) ...

My first workaround was to put add a pthsleep() before doing a pth_raise(). And it 
seems to works a lot better; but still crashing apparently while sending some packet 
to users.jabber.org (why by the way)?

Anyway how can I solve the problem where the pth_raise() to write informatoin to the 
socket happen before the mio_main is waiting for an event?? 

Thanks for any help!

Stephane
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to