-
Posted to
IIS7 - General
by
brettle
on
11-24-2007, 11:52 AM
Hi Jack,
Thanks for the links (and for making your code open source!). Unfortunately, like all other upload modules I'm aware of, Velodoc's UploadHttpModule (specifically UploadHttpModule.RedirectFilteredRequest()) handles uploads by using reflection to change private member variables of the underlying HttpWorkerRequest or ...
-
Posted to
IIS7 - General
by
brettle
on
11-02-2007, 11:48 PM
Any news on this?
FWIW, I just created a bug report on connect.microsoft.com for this issue so that it doesn't get forgotten:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=308352
--Dean
-
Posted to
IIS7 - General
by
brettle
on
07-13-2007, 2:08 PM
[quote user="mvolo"]
I dont see a reason why the filter couldnt run during the preloading process, but this is not something we can change at this point in the product cycle ... may make a good feature request for the next release.
[/quote]
Is there anything I need to do to formally make that feature request?
FYI, being able ...
-
Posted to
IIS7 - General
by
brettle
on
07-12-2007, 11:01 PM
So it turns out that although asking for Request.Filter will not preload the entire entity body, the entire entity body is preloaded before any filter I install can be run. It seems like whenever anything that requires the entity body is needed, the entire entity body is preloaded and then it is passed through the filters.
Below is ...
-
Posted to
IIS7 - General
by
brettle
on
07-12-2007, 3:15 PM
[quote user="mvolo"]
The filter is a chain, which always has to start with the filter currently installed.
So, basically, something like:
Request.Filter = new MyCustomFilter(Request.Filter);
Later, when your filter is asked for data, it will have to read it from the existing filter stream (which is just ...
-
Posted to
IIS7 - General
by
brettle
on
07-12-2007, 5:29 AM
[quote user="mvolo"]
2) Request filter will block the original request / tie up a thread. But, it wont prevent you from updating the state inside the filter, as you are reading the request entity in chunks.
[/quote]
Actually, the blocking might not be a problem after all. I can read the entire entity body from the ...
-
Posted to
IIS7 - General
by
brettle
on
07-11-2007, 4:13 PM
[quote user="mvolo"]
You are right - unfortunately, the ProcessRequest() call is not supported in Integrated mode.
[/quote]
Thanks for the quick reply, even if it isn't what I wanted to hear...
[quote user="mvolo"]
To access the incoming request entity, you
can set a custom Stream implementation on ...
-
Posted to
IIS7 - General
by
brettle
on
07-11-2007, 2:28 PM
Hi,
The HttpWorkerRequest documentation states:
... your code could create a derived class for the purpose of child-request
execution within a given application in order to pass its instance to ProcessRequest. In this case, the derived class should keep a reference to the current HttpWorkerRequest and delegate most of the methods to ...