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

Gonzalo Paniagua Javier gonzalo at ximian.com
Sat Nov 13 01:03:25 EST 2004


On Thu, 2004-11-11 at 22:41 +0100, Angel Marin wrote:
> Hi, 
> 
> > -----Mensaje original-----
> > Mmm. All the sockets but the listener are set to block, so 
> > that error is
> > strange. Does the problem happen when you run mod-mono-server under MS
> > runtime? Or only with mono runtime on windows?
> 
> If mod-mono-server is run under MS runtime, everything works as
> expected. :?

If you still get this problem, please report it through bugzilla.

> 
> Well I have a initial patch ready for testing (taking mod_mono 1.0.4 as
> the base). I have tested with apache 2.0.52 and mono 1.0.4 under windows
> and linux, and it looks like it's working. Mayor changes are:
> 
>  - Created Makefile.win for building with MS nmake.exe. It works just as
> the makefiles of the Apache source distribution for win32. Instructions
> to run it are contained in the Makefile.win file. Additionally it
> depends on awk being on the path (just as apache builds).

I'll add this file.

>  - 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).

>  - Added some ifdefs to includes not found nor needed on windows.

I'll add these to the module.

Doesn't windows have a sleep() function? ;-)

> 
> Known issues:
>  - It will only compile for Apache 2. It jet needs to be adapted to be
> compatible with 1.3.

That's ok. It's much better than not working on windows at all :-).

> If someone can test this on different environments would be great.

I might test it next week, after installing Paco's greatest hit CD.

Thanks!

-Gonzalo





More information about the Mono-devel-list mailing list