ruby-lsapi 5.1 → 5.2
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 +4 -4
- data/ext/lsapi/lsruby.c +5 -5
- data/lsapi.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd8cc4083ffaa583379211d191ec387ebf69929bc27100fc0e6793a43186842b
|
|
4
|
+
data.tar.gz: d25c2dfd57b141aefedbe63d0c52c60c1bf634cf6b11876d191a8758368df4b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d67f5730c65b2b42185450ffcdcb03203f5ba7952467b46cd82a6e60d530a0071b9ba22f42eee92d13adbe95d27aa705589386f2b12843a8bf4acd65c5a1c5ec
|
|
7
|
+
data.tar.gz: 418eef951b7d6c9880c1a7f89a64568d2073920e9edc6ba45c21c5d43278f23e8294a2062c22d28ac309f1e204924e722b32c722458991269b8ed3c192a65e4b
|
data/ext/lsapi/lsruby.c
CHANGED
|
@@ -815,7 +815,11 @@ void Init_lsapi()
|
|
|
815
815
|
readMaxBodyBufLength();
|
|
816
816
|
readTempFileTemplate();
|
|
817
817
|
|
|
818
|
-
|
|
818
|
+
p = getenv("LSAPI_CHILDREN");
|
|
819
|
+
if (p && atoi(p) > 1)
|
|
820
|
+
prefork = 1;
|
|
821
|
+
|
|
822
|
+
#ifdef rb_thread_select
|
|
819
823
|
LSAPI_Init_Env_Parameters( rb_thread_select );
|
|
820
824
|
#else
|
|
821
825
|
LSAPI_Init_Env_Parameters( select );
|
|
@@ -832,10 +836,6 @@ void Init_lsapi()
|
|
|
832
836
|
if ( p || getenv( "RACK_ENV" ) )
|
|
833
837
|
s_fn_add_env = add_env_rails;
|
|
834
838
|
|
|
835
|
-
p = getenv("LSAPI_CHILDREN");
|
|
836
|
-
if (p && atoi(p) > 1)
|
|
837
|
-
prefork = 1;
|
|
838
|
-
|
|
839
839
|
orig_stdin = rb_stdin;
|
|
840
840
|
orig_stdout = rb_stdout;
|
|
841
841
|
orig_stderr = rb_stderr;
|
data/lsapi.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = %q{ruby-lsapi}
|
|
3
|
-
s.version = "5.
|
|
4
|
-
s.date = %q{
|
|
3
|
+
s.version = "5.2"
|
|
4
|
+
s.date = %q{2021-01-30}
|
|
5
5
|
s.description = "This is a ruby extension for fast communication with LiteSpeed Web Server."
|
|
6
6
|
s.summary = %q{A ruby extension for fast communication with LiteSpeed Web Server.}
|
|
7
7
|
s.has_rdoc = false
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-lsapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '5.
|
|
4
|
+
version: '5.2'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LiteSpeed Technologies Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: This is a ruby extension for fast communication with LiteSpeed Web Server.
|
|
14
14
|
email: info@litespeedtech.com
|