4 May
2012
4 May
'12
1:02 p.m.
Balazs Scheidler <bazsi@balabit.hu> writes:
hmm... this is exactly the case where a variable with a better name would have prevented some effort.
self->fd is the _listener_ fd which a SOCK_DGRAM style socket lacks. That's why it is set to -1
The dgram socket is processed as if it was a single connection, a couple of lines below this hunk, there's a call to afsocket_sd_process_connection(), which should initialize an AFSocketSourceConnection object, which in turn should start polling that fd.
What was your intent here?
Turns out, whatever I saw, must have been a ghost: I can't reproduce the problem anymore, so please ignore this patch. -- |8]