[Mono-devel-list] mod_mono on windows - almost there

Angel Marin anmar at gmx.net
Sat Nov 13 08:15:01 EST 2004


> -----Mensaje original-----
[...]
> > >  - Rewritten the fork part to use only apr functions.
> > 
> > You don't get the same behavior. If you do that
APR_JUST_WAIT,
> > mod-mono-server is not finished properly (or finished at 
> > all). The code
> > for unix make it possible to receive Application_End events
> (with
> > certain restrictions on the MPM model).
> 
> In my tests (under RH9) it is terminated properly. I suppose
that
> by the terminate_xsp handler. Anyway it should be
> APR_KILL_AFTER_TIMEOUT. It slept through while testing the
effect
> of it under windows (whatever I use, the process is left there
> due to windows lack of signals).

Forget that, I didn't have enough coffee before writing it. :)

I have tracked down why under windows doesn't do its job.
terminate_xsp tries to write to the tcp socket in a moment that
apr never allows it. Same behavior seen under linux (only with
tcp socket).

-- 
Angel Marin
http://anmar.eu.org/




More information about the Mono-devel-list mailing list