Socket timeout options removed

Bug #1322783 reported by fastest963 on 2014-05-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Looking at line 1316:

The SO_RCVTIMEO/SO_SNDTIMEO options are commented out. The problem is that if a server happens to be blackholed or have a firewall that drops packets on port 4730 the socket hangs in the SYN_SENT state and libgearman ends up hanging waiting forever. Is there a specific reason why these were commented out? The commit cae018c3233ccd0bce7f104846cf7c5ce48fba11 that put it behind an if (0) doesn't have anything in the message that would explain why it was removed.

fastest963 (fastest963) wrote :

Any updates to this?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers