nghttpx: Use 431 instead of 413

This commit is contained in:
Tatsuhiro Tsujikawa 2014-07-08 22:37:48 +09:00
parent d0d0488301
commit a072d719b3
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ int on_header_callback(nghttp2_session *session,
<< downstream->get_request_headers_sum(); << downstream->get_request_headers_sum();
} }
if(upstream->error_reply(downstream, 413) != 0) { if(upstream->error_reply(downstream, 431) != 0) {
return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE; return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE;
} }