使用 lighttpd 1.4.40 的应用程序出现问题
我已从 lighttpd 版本 1.4.35 移至 1.4.40,并且我的应用程序已停止工作。
在lighttpd 版本1.4.35 和1.4.40 之间,这是lighttpd 转发到我的应用程序的请求方面的差异。在 lighttpd 1.4.35 中,我的应用程序能够响应,而在 1.4.40 中,我的应用程序无法进行。
我看到的唯一区别是我在下图中突出显示的部分。我不确定我的申请中是否遗漏了某些内容。
左边是lighttpd 1.4.35 的跟踪,右边是lighttpd 1.4.40 的跟踪
< img src="https://i.sstatic.net/VppNq.png" alt="在此处输入图像描述">
I have moved from lighttpd version 1.4.35 to 1.4.40 and my application has stopped working.
Between lighttpd versions 1.4.35 and 1.4.40, this is the difference I have in terms of the request that lighttpd is forwarding to my application. With lighttpd 1.4.35, my application is able to respond whereas with 1.4.40, my application doesn't progress.
The only difference I am seeing is the bit I have highlighted in the image below. I am not sure if I am missing something in my application.
On the left is the trace with lighttpd 1.4.35 and on the right is the trace with lighttpd 1.4.40
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您错过了超过 5 年的 lighttpd 版本。 lighttpd 1.4.40 于 2016 年 7 月发布。lighttpd 1.4.64 于 2022 年 1 月发布。如果您要升级,那么您应该升级到最新版本。
IIRC,lighttpd 1.4.40 及以上版本默认在将响应发送到客户端之前从后端卸载整个响应。您可以在lighttpd.conf 中使用
server.stream-response-body = 1
更改此默认值以传输响应。You're missing over 5 years of lighttpd releases. The lighttpd 1.4.40 was released Jul 2016. lighttpd 1.4.64 was released Jan 2022. If you are going to upgrade, then you should upgrade to a recent release.
IIRC, lighttpd 1.4.40 onwards defaults to offload the entire response from the backend before sending the response to the client. You can use
server.stream-response-body = 1
in lighttpd.conf to change this default to stream the response.