Windows Server is reliable, usable, scalable and secure, making it a highly reliable platform. Also because of its ease of operation, using a browser to upload files is still a widely accepted method of file transfer. Although this method is widely accepted, it does not guarantee that it will not go wrong. A confirmed Microsoft IIS problem is that a timeout error occurs when processing an upload file larger than 48K. Sometimes this is just an upload failure, but at other times this will cause the browser to enter an infinite loop of constantly trying to resend data. Because for the browser, there is no standard response for this particular situation.
The reason for this hang is that IIS uses an application like ASP to handle the upload of client data. When the client starts committing data, IIS reads the first 48K of data into the buffer and passes it to the application for processing. Any data that exceeds this 48K will be in a wait state until the application requests a transfer, usually through a command like Request.BinaryRead(Request.TotalBytes). If the application does not request, the data is waiting for a connection. This is a typical 413 error: the request entity is too large.
Often, good coding in accordance with the above rules can avoid such problems, but in some cases you may need to use specific property settings. For example, if the upload of one of your sites is handled by a third-party ISAPI extension, it does not follow this practice, and some adjustments are needed to overcome the 48K limit. This restriction is not static, it is defined by a IIS metadata attribute called UploadReadAheadSize. The default is 49152K and the maximum can be set to 4GB. If you need to, you can set up a separate site or set up the entire IIS service.
This may not be the only property that needs to be set. You may also need to modify the maxRequestLength (in IIS6) or maxAllowedContentLength (in IIS7+) attribute values to allow large data uploads, although their default values are larger.
In some cases, it is helpful to set the value of UploadReadAheadSize to zero. This forces IIS to stream the submitted content directly to the ISAPI extension application to process the request. This may be the first method worth trying to solve this problem, but you should also notice the possible side effects of shutting down the IIS application (without processing the read-ahead buffer).
Finally, remember that increasing the value of UploadReadAheadSize will produce an attack surface. If this value is set high and someone wants to attack your system by uploading files to consume bandwidth, they will be easy to get. To avoid attacks, use a method that reflects the user's actual usage and insist on using authentication as much as possible to ensure that the uploader's identity is trustworthy.
The resolution of the computer is better. The protection of the human eye also play
Some system disks that install WinXP system do not create local connections by defa
Now on the PC is Microsoft Windows, the software is getting bigger and bigger, even some text files
When WinXP users modify the system time, the system pops up You do not have the appropriate privileg
Easily solve the common problems of the six major graphics cards
XP desktop icon shadow solution
Windows XP cannot be started after replacing SAM file
XP system recording function tips
Windows system backup and restore function introduction
WinXP uses deep technology PQ8.05 to partition the hard disk
How to add WinXP internal code input method to Vista
How to increase the WinXP recorder time to 300 seconds
WinXP system backup registry steps
Solution for desktop icons not displayed after Windows XP is powered on
360 security guards 10.0 Aberdeen elves where to find Anzai Elf
See the three recipes for the configuration of your computer hardware
One yuan earned app points to withdraw the text step teaching
Win7 prevents the window color from being modified. Tutorial
Official download address: Win10 latest simplified Chinese preview build 9879
Retrieving the camera in my computer on Windows 7