falcon
falcon copied to clipboard
A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
My Rails application uses ActionCable. When I access to unauthorized page (typically sign in's page), `/cable` is called to try to establish WebSocket connection. Unfortunately Falcon from some reason puts...
Is is possible to use a custom logger instead of the default Async Logger? I have been struggling to find a way to achieve this
Currently, it appears that only TLS 1.2 is working. It increases round-trip latency.
Versions: ```gemspec spec.add_dependency "falcon", '~> 0.36.0' spec.add_dependency "jruby-openssl", "0.10.5-java" ``` ```bash $ openssl version LibreSSL 2.8.3 ``` ``` OpenSSL implementation doesn't support ALPN. 0.0s info: Falcon::Command::Serve [oid=0x7d0] [pid=50224] [2020-11-09 04:49:47...
There is a nice explanation here: https://superuser.com/questions/1492207/neterr-cert-revoked-in-chrome-chromium-introduced-with-macos-catalina Obviously Falcon is generating a self-signed certificate valid for 10 years which is much more than 825 days. Maybe something else is wrong...
``` 7.57s error: Falcon::Middleware::Proxy [oid=0x2b28b1031560] [pid=324885] [2020-04-21 00:41:19 +0000] | Errno::ECONNREFUSED: Connection refused - connect(2) for /srv/http/www.codeotaku.com/application.ipc | → /usr/lib/ruby/2.6.0/socket.rb:1213 in `__connect_nonblock' | /usr/lib/ruby/2.6.0/socket.rb:1213 in `connect_nonblock' | /usr/lib/ruby/gems/2.6.0/gems/async-io-1.28.0/lib/async/io/generic.rb:216 in `async_send'...
In investigating #86 I encountered a second issue, whereby any headers after one we send which is in caps with underscores were being dropped. Firstly, I know its not really...
When the application raises an exception, Falcon returns the message of the exception in the response body. I think it would be great to introduce a flag to disable this....
https://github.com/rack/rack/issues/1374
I'm trying to use falcon on production in one app that I'm creating. Now I'm blind of logs, I don't know what happen when I run the app it don't...