Files
proxypin/lib/network/util
testercengdong ad89ec6aec fix(macos,process_info): address Copilot review feedback
- Add 30s (host:port) -> pid cache in ProcessInfoUtils so the synchronous
  libproc scan stays off the request hot path for keep-alive flows
  (typical HTTP client reuses the same source port across requests in
  a connection).
- Lift sockView ByteData out of the inner fd loop so the buffer wrapper
  is reused across all fds in a scan (saves per-fd allocations).
- Bail out of the scan after 16 consecutive proc_pidfdinfo size
  mismatches, in case a future macOS bumps the socket_fdinfo layout --
  avoids wasted syscalls instead of scanning every fd just to return
  null at the end.

Re-verified end-to-end on macOS 26.4: 500 concurrent curl, 0 fork
leaks, 9099 freed immediately on app exit, no errors in logs.
2026-05-12 09:38:02 +08:00
..
2025-01-15 01:36:00 +08:00
2025-05-07 14:50:55 +08:00
2024-10-29 01:31:50 +08:00
2024-10-29 01:31:50 +08:00
2025-05-31 03:57:58 +08:00
2024-02-24 22:18:18 +08:00
2024-11-12 09:29:15 +08:00