> > Ctrl+C doesn't work when you invoke httping this way. > > I tracked this down to the SSL_connect() call in mssl.c line > 143. It seems like this is not running into a timeout and > also blocks the signal. Folkert, would it be an option for > you to set the socket into non-blocking mode and use select > to workaround that? I am not sure if this should work in any > other way.
Problem is that if a socket is ready doesn't mean it is fully ready for the SSL*() calls as well. Maybe the method from: http://www.mail-archive.com/openssl-...@openssl.org/msg03406.html works? Don't know. Easy to test by adding: struct timeval tv add the top of main tv.tv_sec = timeout; tv.tv_usec = 0; setsockopt( sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof( tv )); setsockopt( sock, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof( tv )); just after the connect() Folkert van Heusden -- To MultiTail einai ena polymorfiko ergaleio gia ta logfiles kai tin eksodo twn entolwn. Prosferei: filtrarisma, xrwmatismo, sygxwneysi, diaforetikes provoles. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org