0

我在上传大文件(例如 30mb 视频文件)时收到 504 网关超时错误。我在 web.config 中进行了以下设置,但仍然无法正常工作。

<httpRuntime executionTimeout="99999" maxRequestLength="1048576" requestLengthDiskThreshold="80" useFullyQualifiedRedirectUrl="false"
                 minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true"
                 requireRootedSaveAsPath="true" enable="true"
                 shutdownTimeout="90" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true"
                 sendCacheControlHeader="true" apartmentThreading="false" />
4

1 回答 1

0

如果您确定它不是一些 ISP 问题,那么也尝试设置:

  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="104857600" />
于 2013-01-23T10:26:29.350 回答