on 4/30/02 10:33 PM, [EMAIL PROTECTED] purportedly said: > Hi, > > if anybody know this problem, please give me some advice. > I made a simple web server with SSLeay in perl, but sometime it > hangs up. It hangs up in accept(). accept() calls read() system call > and the read() system call is always waiting for coming data when it > hangs up. I read a manual of SSLeay and I found Net::SSLeay::slowly. > I set 1 on it. > It looks slowdown, but hanging up doesn't happen so far. Did I > choose a right solution? > > Thank you, > Atsushi
I haven't done this, but it doesn't sound like this is the best solution. You may want to review the section on "timing out slow operations" as well as blocking/non-blocking I/O in the "Programming Perl" book. IIRC, this behavior with read() is not uncommon. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet" ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]