Under what circumstances will Nginx return HTTP CODE 499?
迷茫
迷茫 2017-05-16 17:20:21
0
2
497

When I checked the Nginx log recently, I found that there were many records with http code 499. I want to know what this 499 represents?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
伊谢尔伦

First of all, this question should be searchable on Baidu and Google.
Secondly, let me answer it

499, client has closed connection

It means that the client actively disconnected. Generally, the server's processing time is too long, and the client can't wait and disconnects.
Another situation is that someone attacks and deliberately consumes server resources.

刘奇

In the nginx source code, the corresponding definition of 499 is "client has closed connection". This is most likely because the server-side processing time is too long and the client is "impatient". To solve this problem, some optimizations need to be done in the program.

http://blog.csdn.net/rainday0310/article/details/8166163

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!