当我尝试通过 SSL 向 Asp.net Web API 发送一个非常大的 POST 调用时,我收到了这个错误。
我知道重新谈判的现象。
我的 uploadReadAheadSize 设置为最大值。(2147483647)
谁能告诉我一些我应该尝试的选择?
这是来自 Chrome 开发控制台的请求和响应:
我还尝试了以下命令但没有结果:
C:\Windows\System32\inetsrv\appcmd.exe 设置配置“Web API”-section:system.webServer/ServerRuntime /enabled:"1024000" /commit:apphost
C:\Windows\System32\inetsrv\appcmd.exe 设置配置“Web API”-section:system.webServer/ServerRuntime /uploadReadAheadSize:"1024000" /commit:apphost