WebApi/HStation.WebApi.TransferFile.Core/Startup.cs
@@ -33,6 +33,7 @@ { options.Limits.MaxRequestBodySize = int.MaxValue;//之前的 options.Limits.MaxRequestBufferSize = int.MaxValue; options.Limits.MaxResponseBufferSize = int.MaxValue; }); services.Configure<IISServerOptions>(options => @@ -47,7 +48,6 @@ x.MultipartBodyLengthLimit = int.MaxValue; // In case of multipart x.MultipartBoundaryLengthLimit = int.MaxValue; x.BufferBodyLengthLimit = int.MaxValue; }); // services.AddJwt<JwtHandler>(enableGlobalAuthorize: true);