cURL / Mailing Lists / curl-library / Single Mail

curl-library

spurious signals

From: Philippe Raoult <phir_at_gcu-squad.org>
Date: Mon, 20 Jan 2003 18:19:08 +0100

Hello,

i've upgraded from 7.10.2 to 7.10.3 in my production environnement last
friday and my application got stopped quite often so i had to downgrade.
I tracked the problem down to url.c :
@@ -2516,8 +2550,7 @@
   }
 
   /* if we have a user but no password, ask for one */
- if(conn->bits.user_passwd &&
- !data->state.passwd[0] ) {
+ if(conn->bits.user_passwd && !data->state.passwdgiven ) {
     if(data->set.fpasswd(data->set.passwd_client,
                          "password:", data->state.passwd,
                          sizeof(data->state.passwd)))
my program runs in background (it's basically a proxy) so asking for
a password on stdin isnt really a good idea. I've tried to set
the curlgetpasswd function to something less interactive but i still
got stop signals. Maybe i missed another stdin/out/err read case
somewhere else ?

Best regards,
Philippe

-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
Received on 2003-01-20