Re: accept of SSLeay hangs up.

2002-05-01 Thread Keary Suska

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]



Re: accept of SSLeay hangs up.

2002-05-01 Thread Atsushi Ikeda


 Thank you for giving me advice. I will check timing out slow
operations out.

Thank you,
Atsushi

hierophant You may want to review the section on timing out slow operations as well
hierophant as blocking/non-blocking I/O in the Programming Perl book. IIRC, this
hierophant behavior with read() is not uncommon.
hierophant 
hierophant Keary Suska
hierophant Esoteritech, Inc.
hierophant Leveraging Open Source for a better Internet


###
Atsushi Ikeda 
Elegant Solutions Consulting Inc. 
TEL:604-709-0712  FAX:604-709-0733  Email: [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



accept of SSLeay hangs up.

2002-04-30 Thread Atsushi Ikeda


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

###
Atsushi Ikeda 
Elegant Solutions Consulting Inc. 
TEL:604-709-0712  FAX:604-709-0733  Email: [EMAIL PROTECTED]





__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]