[Mono-devel-list] HttpWorkerRequest
Torstensson, Patrik
patrik.torstensson at intel.com
Fri Dec 17 03:26:51 EST 2004
Hi guys,
GetPreLoadedEntityBody can return null even in MS environment for custom
developed web servers, like Cassino. That's the reason why
HttpWorkerRequest has the method HasEntitybody. Custom HttpModules MUST
check if the web server has preloaded the client request data (entity)
or not, if not it must use the ReadEntityBody to get the client request
data.
So, from my point of view this is a bug in SlickUpload.
Cheers,
Patrik Torstensson
________________________________
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Joe Audette
Sent: den 16 december 2004 15:22
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-devel-list] HttpWorkerRequest
Gonzalo,
>If you run that code inside XSP it will work, but you're not giving any
context for it.
I am running mod_mono so I can only take your word that it would run
under XSP. If something runs under XSP shouldn't it also run under
mod_mono?
Are you saying that XSPWorkerRequest .GetPreLoadedEntityBody() does not
return null while ModMonoWorkerRequest.GetPreLoadedEntityBody() does
return null?
The .NET SDK documentation says that GetPreLoadedEntityBody() should
return the portion of the request that has already been read and that is
what it does under windows in Subclasses of HttpWorkerRequest.
Context:
SlickUpload is a custom HttpModule for .NET that facilitates large file
uploads and provides a status that can be used to implement a progress
bar during upload. I am using it in my web site framework and it works
under windows but not under mod_mono
http://krystalware.com/files/AdvancedUploadSpike.zip is a very small
demo app that uses this module.
The source code for the module itself is here
http://krystalware.com/files/SlickUpload.zip
Both of the above are very small downloads
>If you have a self-contained test case (the smaller the better) that
works under MS and fails on mono, it's a bug (bugzilla.ximian.com).
-Gonzalo
Is the above sufficient to enter a bugzilla? When you say test case do
you mean a sample app or are you talking NUnit?
Best Regards,
Joe Audette
joe_audette at yahoo.com
http://www.joeaudette.com
http://www.mojoportal.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041217/7f3da928/attachment.html
More information about the Mono-devel-list
mailing list