search for: precedense

Displaying 1 result from an estimated 1 matches for "precedense".

Did you mean: precedence
2009 Jul 06
1
Nonblocking connect is not proprly checked in poll implementation
...sed to check status of socket after nonblocking connect(2) and it has two implementations: select(2) and poll(2). The select branch does the right job---it gets socket status by getsockopt(2) after selecting for write. But the poll branch does not. To make things wrong, the poll implementaion takes precedense. The bug makes icecast thinking the connection succeded even it's not true. You can reproduce the bug by requesting mount point pointing to <http://fm4.nobody.at:8080/fm4-mq.ogg>. Given domain name has both AAAA and A records, but the AAAA is unreachable. Current code failes on writing r...