lib/falcon/configuration.rb in falcon-0.31.0 vs lib/falcon/configuration.rb in falcon-0.32.0

- old
+ new

@@ -85,11 +85,13 @@ context.cert = ssl_certificate context.key = ssl_private_key context.session_id_context = ssl_session_id - context.set_params + context.set_params( + verify_mode: OpenSSL::SSL::VERIFY_NONE, + ) context.setup end end end @@ -135,13 +137,13 @@ ) end authority 'localhost' scheme 'https' - protocol {::Async::HTTP::Protocol::HTTP2} ipc_path {::File.expand_path("server.ipc", root)} - endpoint {ProxyEndpoint.unix(ipc_path, protocol: protocol, scheme: scheme, authority: authority)} + endpoint {ProxyEndpoint.unix(ipc_path, protocol: Async::HTTP::Protocol::HTTP2, scheme: scheme, authority: authority)} + protocol {endpoint.protocol} bound_endpoint do Async::Reactor.run do Async::IO::SharedEndpoint.bound(endpoint) end.wait