On Tue, 3 Apr 2001, Michel Casabona wrote: > Since I've migrated from 0.3.x to 0.5.3 (in testing), apt-get fails to > connect through a socks server. I'm using dante-client:
Gah, this is really a dante bug, thats soo lame. I'm horrified by what they are doing.. This is an artifact of them *still* not wrappering select which means the entire reason for non-blocking connects is defeated.. The whole thing is going to work shodily, connect errors will show up on reads, which is definately the wrong place for them. Swapping the order of getsockname and the login at the end of the function should be sufficient to hide the problem, could you test this? But really, the APT code is correct, it is dante that (continues) to be flawed in its support for non-blocking connects. Jason

