Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
通过httpPOST缓慢上传文件-仅限Windows 10客户端-ASP.Net_Asp.net_.net_File Upload_Windows 10_Http Post - Fatal编程技术网

通过httpPOST缓慢上传文件-仅限Windows 10客户端-ASP.Net

通过httpPOST缓慢上传文件-仅限Windows 10客户端-ASP.Net,asp.net,.net,file-upload,windows-10,http-post,Asp.net,.net,File Upload,Windows 10,Http Post,我遇到了一个问题,我可以用windows 10复制本地intranet文件托管应用程序。该站点仅在我们的内部域中公开,特别是在测试时,在我的PC上的IIS上运行。该站点部署在ASP.NET中,通过FileUpload控件和HTTPPOST使用简单的文件上载 问题:Windows 10客户端需要8分钟以上的时间才能上载Windows 7客户端可以在40秒内上载的相同文件。测试文件是70mb。两台客户端PC都在同一个域上。我能够在两个windows 10客户端(慢速)和两个windows 7客户端(

我遇到了一个问题,我可以用windows 10复制本地intranet文件托管应用程序。该站点仅在我们的内部域中公开,特别是在测试时,在我的PC上的IIS上运行。该站点部署在ASP.NET中,通过FileUpload控件和HTTPPOST使用简单的文件上载

问题:Windows 10客户端需要8分钟以上的时间才能上载Windows 7客户端可以在40秒内上载的相同文件。测试文件是70mb。两台客户端PC都在同一个域上。我能够在两个windows 10客户端(慢速)和两个windows 7客户端(快速)上使用chrome进行复制。目标是共享网络驱动器,在这两种情况下都会接收文件

代码很简单,只需在post完成时使用另存为服务器端的文件,问题似乎在于post本身速度慢。我已经从chrome下面的标题中包含了一些信息。我注意到的是,在Windows10客户端中,我看到了一个“切换协议”的请求,然后还有一个302响应,下面是每个客户端的标题详细信息

我们做错了什么

这是仅在windows 10客户端上看到的“交换协议”标题

Request URL: ws://localhost:63449/aa0280e0694b40f7bca6bcaa29418f4f/browserLinkSignalR/connect?transport=webSockets&connectionToken=AQAAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAAFyOLt7H71U2FKx%2FdcXqPHQAAAAACAAAAAAADZgAAwAAAABAAAAAs2ynRNgPw8MalSlFIZY6nAAAAAASAAACgAAAAEAAAAJHm%2Br%2Fjy%2BcSLaEGVe8UoWcoAAAAMw39XfnGxZD%2B3ln4NC6jF46w3svfdryAl48W5jj380n9bvxf%2F0abLRQAAAD%2BgohVMaFYmfCOWnlTgPxHhh4ouA%3D%3D&requestUrl=http%3A%2F%24mrdx12.[domain].com%2ReqSuccess%3FID%3D100059&browserName=Chrome&userAgent=Mozilla%2F5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit%2F537.36+(KHTML%2C+like+Gecko)+Chrome%2F65.0.3325.146+Safari%2F537.36&tid=9
Request Method: GET
Status Code: 101 Switching Protocols
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: http://4mrdx12.[domain].com
Connection: Upgrade
Date: Fri, 09 Mar 2018 18:42:48 GMT
Sec-WebSocket-Accept: j/q1e0XDRuOw5KZhl22ijqq6y3g=
Server: Microsoft-HTTPAPI/2.0
Upgrade: websocket
X-Content-Type-Options: nosniff
Windows 10客户端-标题-提交

Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 22238
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:42:46 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryJ2mFfUVn9MAwz7kh
Cookie: __AntiXsrfToken=2034bb9af99a41d685dcc6838ad46da5
Host: 4mrdx12.[domain].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundaryJ2mFfUVn9MAwz7kh
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


------WebKitFormBoundaryJ2mFfUVn9MAwz7kh--
Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 302 Found
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 165
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:42:46 GMT
Location: /TUReqSuccess.aspx?ID=100059
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: max-age=0
Connection: keep-alive
Content-Length: 64575348
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary4XoeJ8QBiQ9vypBa
Cookie: __AntiXsrfToken=2034bb9af99a41d685dcc6838ad46da5
Host: 4mrdx12.[removed].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
------WebKitFormBoundary4XoeJ8QBiQ9vypBa
Content-Disposition: form-data; name="__EVENTTARGET"


------WebKitFormBoundary4XoeJ8QBiQ9vypBa
Content-Disposition: form-data; name="__EVENTARGUMENT"
Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 21881
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarylAheeBUHfdXrokSY
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[domain].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundarylAheeBUHfdXrokSY
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


------WebKitFormBoundarylAheeBUHfdXrokS
Request URL: http://4mrdx12.[domain].com/TUReqSuccess.aspx?ID=100060
Request Method: GET
Status Code: 301 Moved Permanently
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Content-Length: 160
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Location: /TUReqSuccess?ID=100060
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: max-age=0
Connection: keep-alive
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
ID: 100060
Windows 10-标题-重定向

Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 22238
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:42:46 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryJ2mFfUVn9MAwz7kh
Cookie: __AntiXsrfToken=2034bb9af99a41d685dcc6838ad46da5
Host: 4mrdx12.[domain].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundaryJ2mFfUVn9MAwz7kh
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


------WebKitFormBoundaryJ2mFfUVn9MAwz7kh--
Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 302 Found
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 165
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:42:46 GMT
Location: /TUReqSuccess.aspx?ID=100059
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: max-age=0
Connection: keep-alive
Content-Length: 64575348
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary4XoeJ8QBiQ9vypBa
Cookie: __AntiXsrfToken=2034bb9af99a41d685dcc6838ad46da5
Host: 4mrdx12.[removed].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
------WebKitFormBoundary4XoeJ8QBiQ9vypBa
Content-Disposition: form-data; name="__EVENTTARGET"


------WebKitFormBoundary4XoeJ8QBiQ9vypBa
Content-Disposition: form-data; name="__EVENTARGUMENT"
Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 21881
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarylAheeBUHfdXrokSY
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[domain].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundarylAheeBUHfdXrokSY
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


------WebKitFormBoundarylAheeBUHfdXrokS
Request URL: http://4mrdx12.[domain].com/TUReqSuccess.aspx?ID=100060
Request Method: GET
Status Code: 301 Moved Permanently
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Content-Length: 160
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Location: /TUReqSuccess?ID=100060
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: max-age=0
Connection: keep-alive
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
ID: 100060
Windows 7-标题-提交

Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 22238
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:42:46 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryJ2mFfUVn9MAwz7kh
Cookie: __AntiXsrfToken=2034bb9af99a41d685dcc6838ad46da5
Host: 4mrdx12.[domain].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundaryJ2mFfUVn9MAwz7kh
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


------WebKitFormBoundaryJ2mFfUVn9MAwz7kh--
Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 302 Found
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 165
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:42:46 GMT
Location: /TUReqSuccess.aspx?ID=100059
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: max-age=0
Connection: keep-alive
Content-Length: 64575348
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary4XoeJ8QBiQ9vypBa
Cookie: __AntiXsrfToken=2034bb9af99a41d685dcc6838ad46da5
Host: 4mrdx12.[removed].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
------WebKitFormBoundary4XoeJ8QBiQ9vypBa
Content-Disposition: form-data; name="__EVENTTARGET"


------WebKitFormBoundary4XoeJ8QBiQ9vypBa
Content-Disposition: form-data; name="__EVENTARGUMENT"
Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 21881
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarylAheeBUHfdXrokSY
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[domain].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundarylAheeBUHfdXrokSY
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


------WebKitFormBoundarylAheeBUHfdXrokS
Request URL: http://4mrdx12.[domain].com/TUReqSuccess.aspx?ID=100060
Request Method: GET
Status Code: 301 Moved Permanently
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Content-Length: 160
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Location: /TUReqSuccess?ID=100060
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: max-age=0
Connection: keep-alive
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
ID: 100060
Windows 7-标题-HTTP 200

Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 21881
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarylAheeBUHfdXrokSY
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[removed].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundarylAheeBUHfdXrokSY
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Windows 7-标题-重定向

Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 22238
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:42:46 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryJ2mFfUVn9MAwz7kh
Cookie: __AntiXsrfToken=2034bb9af99a41d685dcc6838ad46da5
Host: 4mrdx12.[domain].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundaryJ2mFfUVn9MAwz7kh
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


------WebKitFormBoundaryJ2mFfUVn9MAwz7kh--
Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 302 Found
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 165
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:42:46 GMT
Location: /TUReqSuccess.aspx?ID=100059
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: max-age=0
Connection: keep-alive
Content-Length: 64575348
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary4XoeJ8QBiQ9vypBa
Cookie: __AntiXsrfToken=2034bb9af99a41d685dcc6838ad46da5
Host: 4mrdx12.[removed].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
------WebKitFormBoundary4XoeJ8QBiQ9vypBa
Content-Disposition: form-data; name="__EVENTTARGET"


------WebKitFormBoundary4XoeJ8QBiQ9vypBa
Content-Disposition: form-data; name="__EVENTARGUMENT"
Request URL: http://4mrdx12.[domain].com/SubmitReq
Request Method: POST
Status Code: 200 OK
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Cache-Control: private
Content-Length: 21881
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 64545954
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarylAheeBUHfdXrokSY
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[domain].com
Origin: http://4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
X-Requested-With: XMLHttpRequest
------WebKitFormBoundarylAheeBUHfdXrokSY
Content-Disposition: form-data; name="dlgFile"; filename="TestFile.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


------WebKitFormBoundarylAheeBUHfdXrokS
Request URL: http://4mrdx12.[domain].com/TUReqSuccess.aspx?ID=100060
Request Method: GET
Status Code: 301 Moved Permanently
Remote Address: [removed]
Referrer Policy: no-referrer-when-downgrade
Content-Length: 160
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Mar 2018 18:43:52 GMT
Location: /TUReqSuccess?ID=100060
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cache-Control: max-age=0
Connection: keep-alive
Cookie: __AntiXsrfToken=beef66457cc54cbe9488fc0496042a16
Host: 4mrdx12.[domain].com
Referer: http://4mrdx12.[domain].com/SubmitReq
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
ID: 100060

性能下降的原因是使用websocket,上传文件时应避免使用websocket。一个更老的讨论,但看到你的结果,仍然有效。

谢谢,这是我的怀疑,因为这是主要的区别。这是需要更改的客户端设置吗?为什么升级到websocket是针对windows 10客户端,而不是针对windows 7。服务器上没有“需要426升级”,这是Windows 10客户端要求的,服务器接受101。啊,我没有看到1800 Brad Man的评论:这也可能是针对Chrome的。这可能与这个Chrome bug有关吗?