tags 385506 + upstream forwarded 385506 https://savannah.gnu.org/bugs/index.php?20523 thanks
Am Donnerstag, den 31.08.2006, 20:43 +0100 schrieb Marcin Owsiany: Hello Marcin, > This is easy to reproduce, just start downloading a largish file with a > --read-timeout of a few seconds, and right in the middle drop traffic from > that > server using iptables. > > Stracing an HTTP connection shows nice timeout: > > 20:34:04 read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 16384) = 1398 > 20:34:04 write(3, > "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1398) = 1398 > 20:34:04 select(5, [4], NULL, NULL, {15, 0}) = 1 (in [4], left {14, 988000}) > 20:34:04 read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 16384) = 1398 > 20:34:04 write(3, > "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1398) = 1398 > 20:34:04 select(5, [4], NULL, NULL, {15, 0}) = 0 (Timeout) > 20:34:19 close(4) = 0 > > While HTTPS just sits there forever, waiting: > > 20:28:38 read(4, "\30.\3051\330\307L\301%\206\312\347\326\277i&\250[\025"..., > 3852) = 3852 > 20:28:39 write(3, > "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 > 20:28:39 write(3, > "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 12288) = 12288 > 20:28:39 select(5, [4], NULL, NULL, {15, 0}) = 1 (in [4], left {15, 0}) > 20:28:39 read(4, "\27\3\0011p", 5) = 5 > 20:28:39 read(4, > "\314\247\266\315\235?K\210\217\317\0014F\\\371J\273*\252"..., 12656) = 1735 > 20:28:39 read(4, "xT\263pU=\354~W\225\344\237\271\237a%\22\327\326)D\231"..., > 10921) = 1398 > 20:28:39 read(4, > "]\303\254\251\354\223#c\304\247E\260\33\326\362\376\374"..., 9523) = 1398 > 20:28:39 read(4, > > Probably the timeout is not implemented in the routine which uses libssl... > > Since the TCP internal timeout for an ESTABLISHED connection is very very > large > as I remember, this can be very bad for situations where wget is executed > non-interactively (in my case, I update my dyndns entry using wget and reset > my > wireless card in a loop, in case something bad happens to the internet > connection, which worked nice, until wget hanged this afternoon). thx for your report. I forwarded it to the upstream bug tracking system. -- Noèl Köthe <noel debian.org> Debian GNU/Linux, www.debian.org
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil