digital-fabric / tipi

Tipi - the All-in-one Web Server for Ruby Apps
MIT License
244 stars 7 forks source link

rack_server example problem #11

Closed timhatch closed 3 years ago

timhatch commented 3 years ago

I had to switch away from testing Tipi for a while, but started to look at the rack_server examples in more detail this weekend.

The basic example using hello.ru as the config file works without issue (Invoked via bundle exec ruby ./rack_server ./hello.ru)

The Cuba example, again running rack_server.rb but with cuba.ru as the config file runs, but routing doesn't seem work. I didn't check the hanami_api.ru example, as I'd already tried some quick tests to see if other simple rack apps (sinatra, roda) had the same issue, which they did.

Could you take a quick look? Not at all sure what the cause is.

noteflakes commented 3 years ago

Thanks for reporting this. Please note that the most of the Rack adapter code (i.e. dealing with the Rack env) has been moved to https://github.com/digital-fabric/qeweney. See also #4.

timhatch commented 3 years ago

No problem. I'll hopefully be able to test it out in the next few days. The performance of the tipi server looks awesome!

noteflakes commented 3 years ago

The performance of the tipi server looks awesome!

I've started work on a custom HTTP/1 parser (and eventually also one for HTTP/2) for Tipi that will improve performance even more!