initial commit

This commit is contained in:
zhangjingqiang 2023-03-09 17:55:45 +08:00
commit 13716f4923
1425 changed files with 163227 additions and 0 deletions

View file

@ -0,0 +1,32 @@
.. _protocol_client_http_custom_codes:
#################
Http Custom Codes
#################
The following custom HTTP reply codes are used:
* 521 WEB_SERVER_IS_DOWN
The upstream or the next peer has refused or reset our connection request.
* 522 CONNECTION_TIMED_OUT
Timeout to connect to upstream or next peer.
* 523 ORIGIN_IS_UNREACHABLE
For network error, such network unreachable and host unreachable, occurred while connecting to upstream or next peer.
* 525 SSL_HANDSHAKE_FAILED
Tls handshake with upstream failed.
.. note::
Tls handshake with next proxy peer (it's not upstream) will generate internal server error instead,
as we usually use different tls client config for proxy peers.
* 530 ORIGIN_DNS_ERROR
Failed to resolve the ip address of upstream or next peer.