nghttpx: Use 431 instead of 413
This commit is contained in:
parent
d0d0488301
commit
a072d719b3
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue