On 4/2/12 9:23 AM, Greg Hudson wrote:

> was set in cm_add_fd().  So, poll() is saying that a read on the TCP
> socket wouldn't block, implying that there is either data to be read or
> a socket error to be processed, neither of which happens during a
> successful exchange.

While the KDC may never send initial data, in general the correct test 
for an async TCP connect error is (readable and (not writable)). 
Otherwise you have a race condition (assuming the server may ever write 
data before the client does).

-- 
Carson
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to