falcon 0.45.2 → 0.46.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 943a3c5168c3a1e773460e1e232cd6e396beb4edaf7c360ebaf4c65143f70b4c
4
- data.tar.gz: 55b4abc4b82626dee543269b59078387da579f3f6fe2579c090e98d7e97a05dc
3
+ metadata.gz: ab60da5c2573da0b0d2c0958898fb68dacf19a2e88e1fd9a563823e2baa7633e
4
+ data.tar.gz: 05cbda0911c79c6fe3c4abb6bd44be1d286f664bf57a61329588debfa337a01b
5
5
  SHA512:
6
- metadata.gz: 518a5b30ffa113e111ee6bf73425082821c0f17fa44403347997f52bdd7d2d43ce7b2540c258f851583e38f31b1b7bbe72b0fd288925b08702864c4389e85776
7
- data.tar.gz: 1254239dc786188637248738803afc22a32a51b23e3eccd712000c00debca98a76380f71863cf29024379969855259b0ca24670e7c6a40c0f7582d21216d7bea
6
+ metadata.gz: 6a2aa0bd1c6ff91a5f0a25570cf02c37207be7a468b8227f69a4db1224dde7abf25f4263a72369a22714426f8783b446f50b25655f0e9c4e6123b4b5496b7f25
7
+ data.tar.gz: 76c9579c200f77268264baafccaa2652272df607ce8bb5997a6be757809112971724028b3852bf2eced35c1c26600747949a17ffcb07c3ba7143086a84799084
checksums.yaml.gz.sig CHANGED
Binary file
@@ -20,7 +20,7 @@ module Falcon
20
20
  end
21
21
 
22
22
  # The default SSL session identifier.
23
- def tls_session_id
23
+ def ssl_session_id
24
24
  "falcon"
25
25
  end
26
26
 
@@ -79,7 +79,7 @@ module Falcon
79
79
  self.host_context(socket, hostname)
80
80
  end
81
81
 
82
- context.session_id_context = @session_id
82
+ context.session_id_context = self.ssl_session_id
83
83
 
84
84
  context.ssl_version = :TLSv1_2_server
85
85
 
@@ -60,9 +60,7 @@ module Falcon
60
60
  def start
61
61
  Console.logger.info(self) {"Binding to #{self.endpoint}..."}
62
62
 
63
- @bound_endpoint = Async::Reactor.run do
64
- Async::IO::SharedEndpoint.bound(self.endpoint)
65
- end.wait
63
+ @bound_endpoint = Sync{self.endpoint.bound}
66
64
 
67
65
  super
68
66
  end
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2017-2024, by Samuel Williams.
5
5
 
6
6
  module Falcon
7
- VERSION = "0.45.2"
7
+ VERSION = "0.46.1"
8
8
  end
data/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ![Falcon](logo.svg)
2
2
 
3
- Falcon is a multi-process, multi-fiber rack-compatible HTTP server built on top of [async](https://github.com/socketry/async), [async-io](https://github.com/socketry/async-io), [async-container](https://github.com/socketry/async-container) and [async-http](https://github.com/socketry/async-http). Each request is executed within a lightweight fiber and can block on up-stream requests without stalling the entire server process. Falcon supports HTTP/1 and HTTP/2 natively.
3
+ Falcon is a multi-process, multi-fiber rack-compatible HTTP server built on top of [async](https://github.com/socketry/async), [async-container](https://github.com/socketry/async-container) and [async-http](https://github.com/socketry/async-http). Each request is executed within a lightweight fiber and can block on up-stream requests without stalling the entire server process. Falcon supports HTTP/1 and HTTP/2 natively.
4
4
 
5
5
  [![Development Status](https://github.com/socketry/falcon/workflows/Test/badge.svg)](https://github.com/socketry/falcon/actions?workflow=Test)
6
6
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.2
4
+ version: 0.46.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -57,7 +57,7 @@ cert_chain:
57
57
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
58
58
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
59
59
  -----END CERTIFICATE-----
60
- date: 2024-04-07 00:00:00.000000000 Z
60
+ date: 2024-04-24 00:00:00.000000000 Z
61
61
  dependencies:
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: async
@@ -115,20 +115,6 @@ dependencies:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: 0.4.0
118
- - !ruby/object:Gem::Dependency
119
- name: async-io
120
- requirement: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '1.22'
125
- type: :runtime
126
- prerelease: false
127
- version_requirements: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '1.22'
132
118
  - !ruby/object:Gem::Dependency
133
119
  name: async-service
134
120
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file