falcon 0.47.9 → 0.47.10

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: 62d903fdc0bb50c3d76ee6091a0b142f18e112f93faf5de63f3f5879e4a19187
4
- data.tar.gz: 95f81fd5c9dd1525b0d87fdb18d63d46dcfd230fdbc4f2e2aa8ae4cdce298753
3
+ metadata.gz: b825e49f536d3fa8bb0bc337cfcc68f0b73edbf9687ff2dad5679dfa4a0b397e
4
+ data.tar.gz: f1442f53f2a5dc95f9370dc40b8680f4623a9c1c4efffe03700dcc013b731a5b
5
5
  SHA512:
6
- metadata.gz: a94919d62d6a84416b52d7678bba3bd68e795377e07149b5f2a612cbd1afae98e1e4cfe1a8ad8fb786204d51518042ebb6c58e3130a5df524275bc95da90d9fe
7
- data.tar.gz: 45d482bb25b531d9869d8641c36974943747c56c885d115a73234dcbccbd23ce1b42c62a35ecb648d7a6f325b69ebc9cb723d38c0053a6395de087e38d4e4fc3
6
+ metadata.gz: 1d41bfb63b77bff804672b092dd6df9c4c2e4fd2f0dc26bc3f5358d54d909454bb2fdae7d1b1945ac57e6f39f7cb7fe35e5527d81baf49a845b46879ba55a783
7
+ data.tar.gz: 84d7853de0b47391bf15e2fc5c7ff294bb4b2c3b1d5f873a517d682cc30b9b5a487cbb8c5191e061cc88ceb80f0f57b32aa9a9e69aa77ca7d70779fe5ea531b7
checksums.yaml.gz.sig CHANGED
Binary file
@@ -81,8 +81,6 @@ module Falcon
81
81
 
82
82
  context.session_id_context = self.ssl_session_id
83
83
 
84
- context.ssl_version = :TLSv1_2_server
85
-
86
84
  context.set_params(
87
85
  ciphers: ::Falcon::TLS::SERVER_CIPHERS,
88
86
  verify_mode: ::OpenSSL::SSL::VERIFY_NONE,
@@ -8,6 +8,7 @@ require 'protocol/http/headers'
8
8
  require 'protocol/http/middleware'
9
9
 
10
10
  require 'console/event/failure'
11
+ require 'traces/provider'
11
12
 
12
13
  module Falcon
13
14
  module Middleware
@@ -138,7 +139,6 @@ module Falcon
138
139
 
139
140
  client = connect(host.endpoint)
140
141
 
141
- Console.debug(self, "Sending request...", host: host, request: request, count: @count)
142
142
  client.call(request)
143
143
  else
144
144
  super
@@ -147,6 +147,14 @@ module Falcon
147
147
  Console::Event::Failure.for(error).emit(self)
148
148
  return Protocol::HTTP::Response[502, {'content-type' => 'text/plain'}, [error.class.name]]
149
149
  end
150
+
151
+ Traces::Provider(self) do
152
+ def call(request)
153
+ Traces.trace('falcon.middleware.proxy.call', attributes: {authority: request.authority}) do
154
+ super
155
+ end
156
+ end
157
+ end
150
158
  end
151
159
  end
152
160
  end
@@ -55,6 +55,14 @@ module Falcon
55
55
  super
56
56
  end
57
57
  end
58
+
59
+ Traces::Provider(self) do
60
+ def call(request)
61
+ Traces.trace('falcon.middleware.redirect.call', attributes: {authority: request.authority}) do
62
+ super
63
+ end
64
+ end
65
+ end
58
66
  end
59
67
  end
60
68
  end
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2017-2024, by Samuel Williams.
5
5
 
6
6
  module Falcon
7
- VERSION = "0.47.9"
7
+ VERSION = "0.47.10"
8
8
  end
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.47.9
4
+ version: 0.47.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file