[Mono-bugs] [Bug 77629][Nor] Changed - Posting Large Files Fails
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Feb 26 15:46:16 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by miguel at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77629
--- shadow/77629 2006-02-23 14:30:34.000000000 -0500
+++ shadow/77629.tmp.16453 2006-02-26 15:46:16.000000000 -0500
@@ -2,13 +2,13 @@
Product: Mono: Tools
Version: 1.1
OS: SLES 9
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: XSP
AssignedTo: gonzalo at ximian.com
ReportedBy: rlyon at novell.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -25,6 +25,26 @@
I have seen the problem with files as small as 20 MB, and consistently
with 200 MB files. But it depends on the environment. I want to upload as
large as 4GB files from a browser.
I understand part of the problem is just the ASP.NET design, but I need a
solution on Mono.
+
+------- Additional Comments From miguel at ximian.com 2006-02-26 15:46 -------
+ASP.NET 2.0 fixes this.
+
+Our plan is to implement the feature for ASP.NET 2.0 and expose it
+also in our 1.0 version of Mono.
+
+In what time frame do you need this feature?
+
+If you can not wait, one alternative is to use a custom httpHandler,
+and intercept the request before the ASP.NET runtime gets its hands on it.
+
+Basically, you need to write an httpHandler, register that, disable
+formsauthentication for it (because forms authentication will load all
+the POSTed request into memory).
+
+Then you call into HttpContext.GetService (typeof (HttpWorkerRequest))
+which will return the low-level HttpWorkerRequest instance. Then you
+can load all the data manually from it (copy paste the code from
+HttpRequest).
More information about the mono-bugs
mailing list