(path: str, status: int)
| 610 | if state.completed_at and state.completed_at.timestamp() < cutoff |
| 611 | ] |
| 612 | for sid in stale: |
| 613 | del self.active_scans[sid] |
| 614 | if stale: |
| 615 | logger.info(f"Reaped {len(stale)} stale recon scans") |
| 616 | |
| 617 | |
| 618 | def _is_ip(host: str) -> bool: |
| 619 | """True if `host` is a literal IP (so TLS SNI must be omitted for it).""" |
no outgoing calls