首页 > 其他分享 >[lighttpd] 传输文件失败 request-size too long 413

[lighttpd] 传输文件失败 request-size too long 413

时间:2022-12-14 12:01:33浏览次数:75  
标签:10 request lighttpd long too 413 size

问题

通过lighttpd传输文件的时候失败。
lighttpd.log显示如下

2017-08-04 09:46:24: (log.c.216) server started 
2017-08-04 10:10:50: (response.c.347) request-size too long: 112859220 -> 413 
2017-08-04 10:10:56: (response.c.347) request-size too long: 112859220 -> 413 
2017-08-04 10:10:59: (response.c.347) request-size too long: 112859220 -> 413 
2017-08-04 10:11:02: (response.c.347) request-size too long: 112859220 -> 413 
2017-08-04 10:11:05: (response.c.347) request-size too long: 112859220 -> 413 
2017-08-04 10:11:11: (response.c.347) request-size too long: 112859220 -> 413 
2017-08-04 10:11:17: (response.c.347) request-size too long: 112859220 -> 413 
2017-08-04 10:11:23: (response.c.347) request-size too long: 112859220 -> 413 

解决办法

网上查找 https://redmine.lighttpd.net/boards/2/topics/6065
发现是因为文件大小超过了lighttpd.conf里的阈值(100M)

原先的阈值

server.max-request-size = 102400

现在的阈值

server.max-request-size = 204800

标签:10,request,lighttpd,long,too,413,size
From: https://www.cnblogs.com/jiangyibo/p/16981683.html

相关文章