From: Greg.mpls@... Date: 2017-10-13T00:16:50+00:00 Subject: [ruby-core:83248] [Ruby trunk Bug#14011] Appveyor failure - svn 60172 - ‘webrick: do not hang acceptor on slow TLS connections’ Issue #14011 has been updated by MSP-Greg (Greg L). File trunk_mingw_puma.txt added File trunk_mswin_webrick.txt added Eric, Thanks for the quick response. I've attached the two logs. I really hate the posts where people have a gazillion lines of a seg fault report... Re this issue, it seems that it (mostly) involves code in ruby openssl ot net/*, not code that's part of either webrick or puma. I did mean http. IOW, puma set as a non ssl server works fine run on a mingw trunk build with a Chrome client. When I try to change it over to ssl (set verify_mode to none on client and server, provide key and cert files, etc), the client I set up in code can't connect. Similar 'host disconnected' errors. Hope this helps. As to debugging, as it seems that the server is failing/closing, I haven't looked for how I can trap that. Reminder, I'm not a c type... Thanks, Greg ---------------------------------------- Bug #14011: Appveyor failure - svn 60172 - ���webrick: do not hang acceptor on slow TLS connections��� https://bugs.ruby-lang.org/issues/14011#change-67199 * Author: MSP-Greg (Greg L) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.0dev (2017-10-12 trunk 60170) [x64-mingw32] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- I noticed the recent [Appveyor failure]( https://ci.appveyor.com/project/ruby/ruby/build/1.0.5475#L4546) from [���webrick: do not hang acceptor on slow TLS connections��� svn 60172]( https://github.com/ruby/ruby/commit/feafe07874d3f9f9aa3fa007421ecd28472959a7). Coincidentally, I recently tried a MinGW build with the gem puma using SSL. It builds fine with ruby 2.2 thru trunk, but also has several [Appveyor failures]( https://ci.appveyor.com/project/MSP-Greg/puma) similar to the above, as all involve SSL servers and nonblock connections. I���m happy to help with testing, but I suspect this is beyond my current knowledge in terms of a fix��� FYI, I did run up puma locally with a static rack, http, and trunk; everything works fine. I did not write code to connect it with multiple concurrent clients (I���ve done that before back when I was coding in C#). I also understand that some things may ���just not work��� on windows. Thanks again, Greg ---Files-------------------------------- trunk_mswin_webrick.txt (556 Bytes) trunk_mingw_puma.txt (6.47 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: