piesync-puma 3.12.6 → 3.12.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32ea4021b4f973ad65aeff1fe1f964ea278cae573322f7161a5daf4c4971925b
4
- data.tar.gz: 9ef8a09b32dc4ad5f83cf9fad51c0b1b2d419fe56a13a823f7454f529f09b808
3
+ metadata.gz: 4ffa82cfaf052f6eead362d3ca875ef20dc58c4f994fe298acd45c441c9f9d11
4
+ data.tar.gz: 56bb823c49b112de5dfa855d89d96e8bd0a2143a608452320f07a13dafc85af6
5
5
  SHA512:
6
- metadata.gz: 799ca4d34a7a6341de0e657c38557d1c70b04c35a96ccadcf73b2d4cbd6156d245ef6f2f8f96c1e2381bada2c7e5590ed492fdca05a5c4dd1234a9068ade62cd
7
- data.tar.gz: 3413cf8c33a347632833d2b3aa12a5fac4ea280fcd0fcaca8f317a06bbd9066035209b59a4a8323eb398c35ab74071591a163545ca45cef48f1ba77796cd5745
6
+ metadata.gz: 958cc876f1c07b273775d628f8eecc9f891fbc0ebe2d10aa5a16bdee310bc6a18422dc487502d80c18e0af44adae395c04b42589ebf76e71d5a58c535aa6eaae
7
+ data.tar.gz: c448e0e0d185b5a412bb8726ae6f113e7d3ed69cfd200efe8af6dabb293e0e0be223f31afff10d48e6961721229a713eb48d64a762188d3ee70d65052977aa33
@@ -174,11 +174,9 @@ VALUE engine_init_server(VALUE self, VALUE mini_ssl_ctx) {
174
174
  VALUE verification_flags = rb_funcall(mini_ssl_ctx, sym_verification_flags, 0);
175
175
 
176
176
  if (!NIL_P(verification_flags)) {
177
- X509_VERIFY_PARAM *param;
178
- param = X509_VERIFY_PARAM_new();
177
+ X509_VERIFY_PARAM *param = SSL_CTX_get0_param(ctx);
179
178
  X509_VERIFY_PARAM_set_flags(param, NUM2INT(verification_flags));
180
179
  SSL_CTX_set1_param(ctx, param);
181
- X509_VERIFY_PARAM_free(param);
182
180
  }
183
181
 
184
182
  if (!NIL_P(ca)) {
@@ -100,7 +100,7 @@ module Puma
100
100
  # too taxing on performance.
101
101
  module Const
102
102
 
103
- PUMA_VERSION = VERSION = "3.12.6".freeze
103
+ PUMA_VERSION = VERSION = "3.12.6.1".freeze
104
104
  CODE_NAME = "Llamas in Pajamas".freeze
105
105
  PUMA_SERVER_STRING = ['puma', PUMA_VERSION, CODE_NAME].join(' ').freeze
106
106
 
@@ -1,6 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Puma
4
+ HAS_SSL = const_defined?(:MiniSSL, false) && MiniSSL.const_defined?(:Engine, false)
5
+
4
6
  IS_JRUBY = defined?(JRUBY_VERSION)
5
7
 
6
8
  def self.jruby?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piesync-puma
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.6
4
+ version: 3.12.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Phoenix
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-23 00:00:00.000000000 Z
11
+ date: 2020-11-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server
14
14
  for Ruby/Rack applications. Puma is intended for use in both development and production