mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
nghttpx: Use 431 instead of 413
This commit is contained in:
@@ -221,7 +221,7 @@ int on_header_callback(nghttp2_session *session,
|
||||
<< 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user