(text: str)
| 328 | |
| 329 | |
| 330 | def _looks_like_proxy_refused(text: str) -> bool: |
| 331 | return ( |
| 332 | "proxyerror" in text |
| 333 | and ("connection refused" in text or "failed to establish a new connection" in text) |
| 334 | ) or ( |
| 335 | "127.0.0.1" in text and "7890" in text and "connection refused" in text |
| 336 | ) |
| 337 | |
| 338 | |
| 339 | def _looks_like_fake_ip_tls(text: str) -> bool: |