G
Guest
Getting funny behavior when trying to upload a file bigger then
maxRequestLength. The app gives me a 400 - Bad Request but here is what I see
in the sniffer:
- As soon as the maxRequestLength + 1 bytes received,
System.Web.HttpException is thrown and the app responds with the proper error
message
- The browser (IE6) for some reason ignores it and continues to send the
remainder of the file.
- When complete, IIS responds with “400 – Bad request†as it seems to treat
the remainder of the original request as a brand new one with no header.
Anyone knows why this happens and is it by design or a known bug.
Thanks very much!
maxRequestLength. The app gives me a 400 - Bad Request but here is what I see
in the sniffer:
- As soon as the maxRequestLength + 1 bytes received,
System.Web.HttpException is thrown and the app responds with the proper error
message
- The browser (IE6) for some reason ignores it and continues to send the
remainder of the file.
- When complete, IIS responds with “400 – Bad request†as it seems to treat
the remainder of the original request as a brand new one with no header.
Anyone knows why this happens and is it by design or a known bug.
Thanks very much!