MCPcopy
hub / github.com/HisMax/RedInk / _looks_like_fake_ip_tls

Function _looks_like_fake_ip_tls

backend/errors.py:339–346  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

337
338
339def _looks_like_fake_ip_tls(text: str) -> bool:
340 return (
341 "ssleoferror" in text
342 or "unexpected_eof_while_reading" in text
343 or "ssl_error_syscall" in text
344 or ("eof occurred" in text and "ssl" in text)
345 or ("198.18." in text and "ssl" in text)
346 )
347
348
349def _looks_like_timeout(text: str) -> bool:

Callers 1

classify_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected