Update MTProxy checker documentation and logic to clarify probing modes and improve error handling. Modify README and Docker documentation to reflect changes in the -probe flag behavior, including detailed descriptions of exit codes and timeout handling. Refactor connection handling to enhance robustness and align with Telethon's approach.
This commit is contained in:
@@ -6,7 +6,7 @@ import "strings"
|
||||
type ProbeMode int
|
||||
|
||||
const (
|
||||
// ProbeFast: handshake + init, then any inbound data within a short window (legacy behavior; fast).
|
||||
// ProbeFast: handshake + init, then short wait like Telethon TcpMTProxy (#1134): OK if proxy does not close immediately.
|
||||
ProbeFast ProbeMode = iota
|
||||
// ProbeDeep: MTProto req_pq and expect resPQ from Telegram DC through the tunnel (stricter; slower).
|
||||
ProbeDeep
|
||||
|
||||
Reference in New Issue
Block a user