mirror of
https://github.com/bytedance/g3.git
synced 2026-05-03 06:00:42 +00:00
initial commit
This commit is contained in:
commit
13716f4923
1425 changed files with 163227 additions and 0 deletions
32
g3proxy/doc/protocol/client/http_custom_codes.rst
Normal file
32
g3proxy/doc/protocol/client/http_custom_codes.rst
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue