socketry / falcon

A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
https://socketry.github.io/falcon/
MIT License
2.54k stars 79 forks source link

Fix construction of Rack applications on Rack < 3 #231

Closed adam12 closed 3 months ago

adam12 commented 3 months ago

Rack::Builder in Rack 2 returns a 2 element tuple, instead of a single element.

If using Rack 2.x, define a method that returns a single element.

Closes #230

Types of Changes

Contribution

adam12 commented 3 months ago

Closing in favour of #232