Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
HTTP File Upload Operation Takes a Long Time to Complete
Article ID: 329781 - View products that this article applies to.
This article was previously published under Q329781
When you use the HTTP File Upload feature to upload multi-megabyte files, the upload operation may take a very long time to complete.
Note This issue is documented in Request For Comment (RFC) 1867, "Form-based File Upload in HTML."
This issue occurs because the default Winsock Send buffer is 8 kilobytes (KB), and therefore Internet Explorer supplies the data in 8 KB chunks. On an average network, this equals approximately 80 KB per second (KBps), regardless of network bandwidth.
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/214397/EN-US/ )INFO: Design Issues - Sending Small Data Segments Over TCP w/Winsock
To resolve this issue, configure Internet Explorer to increase the Send buffer when communicating with Winsock. This increases network performance when you use the HTTP File Upload method. To do this, follow these steps.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
When you use the procedure described in the "Resolution" section of this article, any program that uses the WININETAPI HTTPSendRequest function (as documented on the following Microsoft Developer Network (MSDN) Web site) will allocate and request a Winsock Send buffer, as defined by the registry key.
For additional information about the HTTPSendRequest function, visit the following MSDN Web site:
http://msdn2.microsoft.com/en-us/library/aa384247.aspxFor additional information about Winsock Send Buffer behavior, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/214397/EN-US/ )INFO: Design Issues - Sending Data Segments Over TCP w/Winsock
Article ID: 329781 - Last Review: March 5, 2007 - Revision: 3.6