更新时间:2023-02-16 12:30:48
我认为netty /播放控制器处理中的范围支持存在问题公用文件夹。
( http://www.w3.org/ Protocols / rfc2616 / rfc2616-sec14.html#sec14.35 )
I think thats a problem with the range support in netty / the play controller handling public folder. ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35 )
您应该可以使用curl进行测试..例如就像在这篇文章中描述的那样
http://linuxandfriends.com/2008/11/01/curl-split-a-file-and-download-simultaneously-from-multiple-locations/
You should be able to test this with curl.. e.g. like described in this post http://linuxandfriends.com/2008/11/01/curl-split-a-file-and-download-simultaneously-from-multiple-locations/
但是,在生产中,您通常会使用lighttpd / nginx (以允许绑定端口80),因此来自公共文件夹由播放以外的其他东西提供服务......那么你应该没有问题。
However, in production, you're usually fronting play with lighttpd/nginx (to allow to bind port 80) so the files from the public folder get served by something other than play... you shouldn't have a problem then.