streams never reaching SocksTimeout
Reported by lodger:
arma: i found the endless attempt to change circuit at connection_edge.c; connection_ap_expire_beginning(); There is no limit to the number of attempts to replace circuit, if the expectation it is more than 15 seconds of answer to cell RELAY_COMAND_BEGIN. If the application of user does not have a time out of expectation, and the process of constructing the new circuits is always successful, but the address inquired by user is not accessible, then the process of changing the circuits is infinite.
hang up on the stream after only if no new circuit
see connection_ap_handshake_attach_circuit() in circuituse.c hm. or maybe not that. hang on. :) hm. that was where it used to be. it appears to be in +connection_ap_expire_beginning() now, you're right.
i wonder why the timeout got moved from attach-circuit to expire-beginning. probably because not everything was hitting attach-circuit. e.g. controller connections don't. but maybe we should put a check in both places?
lodger: have you actually experienced this, or you just think it might happen? i have that situation in practice
[Automatically added by flyspray2trac: Operating System: All]