Closed fmqa closed 1 year ago
Start any application e.g. examples/hello using rackup -s falcon. The following warning will appear on the console:
rackup -s falcon
Rack::Handler is deprecated and replaced by Rackup::Handler
Applications can be started without any warnings.
https://github.com/socketry/falcon/blob/15d7e836c7c736fd30bf21d214711d5d26c1971a/lib/rack/handler/falcon.rb#L3 could be changed to
begin require 'rackup/handler' rescue LoadError require 'rack/handler' end
Or some other conditional loading mechanism could be used.
Yeah, I'm working to fix this, but it's not quite done yet.
Environment
Steps to reproduce
Start any application e.g. examples/hello using
rackup -s falcon
. The following warning will appear on the console:Expected result
Applications can be started without any warnings.
Hint/Suggestion to Fix the Issue
https://github.com/socketry/falcon/blob/15d7e836c7c736fd30bf21d214711d5d26c1971a/lib/rack/handler/falcon.rb#L3 could be changed to
Or some other conditional loading mechanism could be used.