drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.62k stars 1.12k forks source link

ERROR Sending more than 1 response for request. Ignoring later response #1915

Closed haorong547 closed 9 months ago

haorong547 commented 10 months ago

Describe the bug this errors happen when browser try to get UI bundles after updating drogon to v1.9.2.

Screenshots

Screenshot 2024-01-19 at 3 38 38 PM Screenshot 2024-01-19 at 3 56 07 PM

Here is the error log be printed

Desktop:

an-tao commented 10 months ago

@haorong547 Thanks for your feedback, the 1.9.2 version has some big changes, we'll take some time to figure it out.

an-tao commented 10 months ago

@haorong547 Would u please paste your application code here? Or just make a minimum demo to reproduce this problem?

haorong547 commented 9 months ago

@haorong547 Would u please paste your application code here? Or just make a minimum demo to reproduce this problem?

Hi @an-tao. Sorry to reply you lately. 这是我做的demo,基本上跟用drogon_ctl的scirpt创的project差不多,只是加上了controllers。 我测试在这个more than 1 response的bug只存在于Linux(CentOS 和 Linux Kernal),在Mac不会有,windows没有测试。 目前测试这个bug只会在fetch bundlers的时候出现。谢谢。 drogon_demo.zip

an-tao commented 9 months ago

@haorong547 Would u please paste your application code here? Or just make a minimum demo to reproduce this problem?

Hi @an-tao. Sorry to reply you lately. 这是我做的demo,基本上跟用drogon_ctl的scirpt创的project差不多,只是加上了controllers。 我测试在这个more than 1 response的bug只存在于Linux(CentOS 和 Linux Kernal),在Mac不会有,windows没有测试。 目前测试这个bug只会在fetch bundlers的时候出现。谢谢。 drogon_demo.zip

确实是新引入的bug,已经解决了,感谢反馈~

haorong547 commented 9 months ago

@haorong547 Would u please paste your application code here? Or just make a minimum demo to reproduce this problem?

Hi @an-tao. Sorry to reply you lately. 这是我做的demo,基本上跟用drogon_ctl的scirpt创的project差不多,只是加上了controllers。 我测试在这个more than 1 response的bug只存在于Linux(CentOS 和 Linux Kernal),在Mac不会有,windows没有测试。 目前测试这个bug只会在fetch bundlers的时候出现。谢谢。 drogon_demo.zip

确实是新引入的bug,已经解决了,感谢反馈~

好的感谢,请问是在下一个版本吗?v1.9.3?

an-tao commented 9 months ago

@haorong547 Would u please paste your application code here? Or just make a minimum demo to reproduce this problem?

Hi @an-tao. Sorry to reply you lately. 这是我做的demo,基本上跟用drogon_ctl的scirpt创的project差不多,只是加上了controllers。 我测试在这个more than 1 response的bug只存在于Linux(CentOS 和 Linux Kernal),在Mac不会有,windows没有测试。 目前测试这个bug只会在fetch bundlers的时候出现。谢谢。 drogon_demo.zip

确实是新引入的bug,已经解决了,感谢反馈~

好的感谢,请问是在下一个版本吗?v1.9.3?

是的,你如果自己源码编译安装,更新master分支就行,如果用的vcpkg,就等1.9.3,或者,如果你比较熟悉vcpkg的话,自己做个patch放到你的vcpkg目录也行。