Skip to content
Snippets Groups Projects

Fix crash when trying to send to an unreachable client

Merged Hanicef requested to merge Hanicef/SRB2Classic:fix-host-unreach-crash into next

i've seen this appearing pretty frequently nowadays on the server i'm hosting:

[2023-12-06 14:47:46] I_Error(): SOCK_Send, error sending to node 3 ([REDACTED]:51216) #65: No route to host

the error No route to host maps to the EHOSTUNREACH error code, which seems to indicate some sort of routing problem to the client. adding it to the list of ignored error codes in SOCK_Send fixes it.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading