最近nginxのログに499とかいう見慣れないレスポンスコードが記録されていたのでどういう状況で記録されるのか試してみた。 499が定義されてる場所 ソースコードの以下ファイルに記載されています。 {ソース展開dir}/src/http/ngx_http_request.h 中身を抜粋したのは以下 /* * HTTP does not define the code for the case when a client closed * the connection while we are processing its request so we introduce * own code to log such situation when a client has closed the connection * before we even try to send the HTTP h