ruby / webrick

HTTP server toolkit
BSD 2-Clause "Simplified" License
286 stars 97 forks source link

Is there any way to perform a connection upgrade (e.g. WebSockets) without monkey-patching `HTTPServer`? #100

Closed ioquatix closed 1 year ago

ioquatix commented 1 year ago

No matter what I try, I can't get passed https://github.com/ruby/webrick/blob/master/lib/webrick/httpresponse.rb#L272-L273. HTTPResponse does not seem to have a mechanism for connection upgrades.

ioquatix commented 1 year ago

Fixed in https://github.com/ruby/webrick/pull/101