[Mono-list] mod_mono/apache error issue?
Gonzalo Paniagua Javier
Sat, 06 Nov 2004 18:27:00 -0500
On Sat, 2004-11-06 at 16:23 +0100, Chris Turchin wrote:
> I have the following code in an httphandler that works fine with xsp but
> in mod_mono yields a 500 server error (without any entry in the apache
> context.Response.ContentType = "image/jpeg";
> //write resized gd-sharp image to client...
> It seems dependent on the amount of time the image.save() method needs,
> since when I save smaller files it succeeds and when I try and save
> large files it often fails.
> sample: (this should work)
> sample 2: (this should fail)
> any ideas what I can do to avoid this and/or to find out more about what
> is going wrong? since there is no error caught in the try/catch
> statement in manged code and apache writes no error to the error_log, i
> am out of ideas...
There was a bug in mod_mono that is now fixed. If you are using latest
releases of everything (1.0.4 or 1.1.2), this should work. Otherwise,
gimme a simple test case and I'll fix it asap.