iodine 0.7.53 → 0.7.55
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/ext/iodine/http.c +1 -0
- data/ext/iodine/http_internal.c +2 -1
- data/ext/iodine/iodine.c +1 -1
- data/lib/iodine/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c90d550606141837ea921c3f26de4948561b1000c1af434e7137475c27f2da8
|
4
|
+
data.tar.gz: 70c8af63ff1508d717ca35cfa76afb320ff675168c26af87bd6b47217c870503
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 575cae86c09a016b9ae0947a3e76004944c0d8895a802846843c8278bec44668ff8eaa16cb411496594070a2fe872b03d3d883e0cded8af560a39dd2c37678ef
|
7
|
+
data.tar.gz: f74425c8a77d70f5d8937cda11f07e820388f0f17cb63a7fe2400b2339fd7e387dbba28847da1b7d29dd01640f05de20c4e79a825093162d73d65685ee2cac32
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,15 @@ Please notice that this change log contains changes for upcoming releases as wel
|
|
6
6
|
|
7
7
|
## Changes:
|
8
8
|
|
9
|
-
#### Change log v.0.7.
|
9
|
+
#### Change log v.0.7.55 (2023-05-01)
|
10
|
+
|
11
|
+
**Fix**: Fixes `X-SENDFILE` support so it works will `POST` requests. Credit to @fgoepel for PR #141.
|
12
|
+
|
13
|
+
#### Change log v.0.7.54 (2023-03-15)
|
14
|
+
|
15
|
+
**Fix**: Fixes verbosity option in iodine's CLI where the value `0` was ignored. Credit to @jsaak for opening issue #139.
|
16
|
+
|
17
|
+
#### Change log v.0.7.53 (2023-01-13)
|
10
18
|
|
11
19
|
**Fix**: Fixes Unix socket permission limitations, so unix sockets are not limited to the owner of the process. Credit to Patrik Rak (@raxoft) for opening issue #136.
|
12
20
|
|
data/ext/iodine/http.c
CHANGED
data/ext/iodine/http_internal.c
CHANGED
@@ -42,7 +42,8 @@ void http_on_request_handler______internal(http_s *h,
|
|
42
42
|
fiobj_hash_get2(h->headers, fiobj_obj2hash(HTTP_HEADER_ACCEPT)),
|
43
43
|
HTTP_HVALUE_SSE_MIME))
|
44
44
|
goto eventsource;
|
45
|
-
if (settings->public_folder
|
45
|
+
if (settings->public_folder &&
|
46
|
+
(fiobj_obj2cstr(h->method).len != 4 || strncasecmp("post", fiobj_obj2cstr(h->method).data, 4))) {
|
46
47
|
fio_str_info_s path_str = fiobj_obj2cstr(h->path);
|
47
48
|
if (!http_sendfile2(h, settings->public_folder,
|
48
49
|
settings->public_folder_length, path_str.data,
|
data/ext/iodine/iodine.c
CHANGED
@@ -439,7 +439,7 @@ static VALUE iodine_cli_parse(VALUE self) {
|
|
439
439
|
/* copy values from CLI library to iodine */
|
440
440
|
if (fio_cli_get("-V")) {
|
441
441
|
int level = fio_cli_get_i("-V");
|
442
|
-
if (level
|
442
|
+
if (level >= 0 && level < 100)
|
443
443
|
FIO_LOG_LEVEL = level;
|
444
444
|
}
|
445
445
|
if (!fio_cli_get("-w") && getenv("WEB_CONCURRENCY")) {
|
data/lib/iodine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iodine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.55
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01
|
11
|
+
date: 2023-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -246,7 +246,7 @@ licenses:
|
|
246
246
|
metadata:
|
247
247
|
allowed_push_host: https://rubygems.org
|
248
248
|
post_install_message: |-
|
249
|
-
Thank you for installing Iodine 0.7.
|
249
|
+
Thank you for installing Iodine 0.7.55.
|
250
250
|
Remember: if iodine supports your business, it's only fair to give value back (code contributions / donations).
|
251
251
|
rdoc_options: []
|
252
252
|
require_paths:
|
@@ -269,7 +269,7 @@ requirements:
|
|
269
269
|
- Ruby >= 2.5.0 recommended.
|
270
270
|
- TLS requires OpenSSL >= 1.1.0.
|
271
271
|
- Or Windows with Ruby >= 3.0.0 build with MingW and MingW as compiler.
|
272
|
-
rubygems_version: 3.3.
|
272
|
+
rubygems_version: 3.3.26
|
273
273
|
signing_key:
|
274
274
|
specification_version: 4
|
275
275
|
summary: iodine - a fast HTTP / Websocket Server with Pub/Sub support, optimized for
|