Open muratcorlu opened 7 months ago
Another finding is that, during those requests, site becomes unresponsive. It blocks whole ghost process, I believe. @laosb Sadly, this issue exists in your blog too and it's even worse, it takes 50 seconds to return error page in your website.
I think this is exactly what #15 is trying to solve, but that PR currently needs modification as I commented under it. It's been 2 weeks since I receive any updates from the author, so I'm considering doing it myself soon.
I noticed an interesting issue. On a Ghost website that is configured to use ghos3, if you make an HTTP request to
https://mysite.com/content/images/some-random-file.jpg
, request fails after around 6 seconds with 500 status and "Maximum call stack size exceeded" error page.Here is the error log:
I suspect that we don't handle wrong urls properly.
As a side note; I don't have any images in content folder and I serve images from a separate domain. So this is not a regular request. But I saw this in logs and it's bad that it takes 6 seconds to respond. It can be painful to have many requests to this url as an attack.