[Mono-aspnet-list] SetEndOfSendNotification not being called

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Fri Aug 27 15:37:17 EDT 2010


On Fri, 2010-08-27 at 12:51 -0400, Gonzalo Paniagua Javier wrote:
> On Fri, 2010-08-27 at 06:11 -0700, rjhdakota wrote:
> > Thanks for the reply. I'm not sure where we would call
> > SetEndofSendNotification as we need to pass it a reference to Context (which
> > is created after HTTPRunTime.Process is called). It appears that on Windows,
> > a default handler is added internally already (since I don't add one, but
> > its still being called).
> 
> If this is the case, we have a bug, but I doubt it. I remember testing
> it a loooong time ago, but this might have changed after .NET 2.0. I'll
> do a quick test later today and report back.

You were right. This is a bug in Mono. I tested with the attached
program (compile it, put it next to an index.aspx, create a 'bin' folder
and copy the exe to this folder too) and saw that
SetEndOfSendNotification is called from HttpRuntime.

I'm working on a fix now and should be in the mono-2-6 branch and master
within the next few hours.

Thanks.

-Gonzalo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cs
Type: text/x-csharp
Size: 1062 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100827/4d66af39/attachment.bin 


More information about the Mono-aspnet-list mailing list