From: Christian Neukirchen Date: 2003-08-13T19:21:34+09:00 Subject: [PATCH] Bug fix for WEBrick/HTTPS Hi, in WEBrick/HTTPS theres a bug, if the response body doesn't end with CRLF. The client will get a timeout then. I assume this is because syncing is disabled in SSLSocket by default. By applying the following patch, syncing gets enabled and there wont be timeouts if the body doesn't contain a CRLF at the end. Happy hacking, Christian Neukirchen --- https.rb Wed Aug 13 12:05:30 2003 +++ https.rb Wed Aug 13 12:07:10 2003 @@ -129,6 +129,7 @@ def run(sock) if @config[:SSLEnable] ssl = OpenSSL::SSL::SSLSocket.new(sock, @ctx) + ssl.sync = true ssl.accept Thread.current[:WEBrickSocket] = ssl orig_run(ssl) __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingelt�ne f�rs Handy bei http://sms.yahoo.de