Home All Groups Group Topic Archive Search About

Trap the Maximum request length

Author
13 Jan 2006 10:24 PM
Giuseppe Esposito
Ok, don't think to reply me "check the web.config" or something like that.
I know about it.
The case is I wrote an HttpModule that perform the upload by chuncking the
stream and rebuilding the file in the
specified server location. So I can posts file over and over the standard
4096Kb limits.

The problems is that IIS, despite this, is able to catch that something more
has been passed
under is feet.

So the question is. Is there a way to say IIS, don't bother me? I'm thinking
about some message to be
set in the ISAPI Worker Request .... or an HttpModule (again??) to catch
the error.

Anybody as some other ideas?

Thanks
Giuseppe

Author
13 Jan 2006 11:40 PM
Winista
You will have to make metabase change in IIS to allow huge request content
to come in. Which will open up your site for more problems like DOS attacks.


Show quote
"Giuseppe Esposito" <giusespo@no_spam_libero.it> wrote in message
news:9fa0d735690e8c7e6af9f974400@news.microsoft.com...
> Ok, don't think to reply me "check the web.config" or something like that.
> I know about it.
> The case is I wrote an HttpModule that perform the upload by chuncking the
> stream and rebuilding the file in the specified server location. So I can
> posts file over and over the standard 4096Kb limits.
>
> The problems is that IIS, despite this, is able to catch that something
> more has been passed under is feet.
> So the question is. Is there a way to say IIS, don't bother me? I'm
> thinking about some message to be
> set in the ISAPI Worker Request .... or an HttpModule (again??) to catch
> the error.
>
> Anybody as some other ideas?
>
> Thanks Giuseppe
>
>
>
Author
14 Jan 2006 7:41 AM
Giuseppe Esposito
Is this the only solution??

Ciao
Giuseppe

AddThis Social Bookmark Button