cURL / Mailing Lists / curl-users / Single Mail

curl-users

infinite loop

From: Torsten Foertsch <torsten.foertsch_at_gmx.net>
Date: Wed, 16 Jun 2004 11:30:44 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

sporadically I notice curl entering an infinite loop eating up all processor
time. I think, it is related to SSL (I haven't seen it on plain connections).

Strace on such a process shows repeating:

getpid() = 12102
read(3, 0x80885c0, 2661) = -1 EAGAIN (Resource temporarily
unavailable)

'curl -V' says:

curl 7.9.8 (i686-pc-linux) libcurl 7.9.8 (OpenSSL 0.9.6g) (ipv6 enabled)

Is that a known issue? What is the reason and how can it be avoided?

With the same Url I have also seen wget sleeping forever also blocking on fd
3.

Thanks,
Torsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA0BNIwicyCTir8T4RAiQeAJ9rO6v9vIDFJhkf7bJ2OU7+n+HIWQCfV89U
w4sELwiL+8rEvD6sxxSDRRA=
=ziM2
-----END PGP SIGNATURE-----
Received on 2004-06-16