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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d908d42070e3a604c33e2ea2cb565339779046a5c17bb9e72f85417ad5eed5c
4
- data.tar.gz: 91ac3e4939b3ea93bcaa548d8688cf54e15841560237ec3e8e864b483add5a74
3
+ metadata.gz: 1c90d550606141837ea921c3f26de4948561b1000c1af434e7137475c27f2da8
4
+ data.tar.gz: 70c8af63ff1508d717ca35cfa76afb320ff675168c26af87bd6b47217c870503
5
5
  SHA512:
6
- metadata.gz: 9fbf367a02283bc139ff358ca383d596c68f2eebcae65f0f4bc4d47b2bf72f06dc19dc4a2418dd5d4b6864af857d693a7041fc4e25e4f2f08e92d57868590d79
7
- data.tar.gz: 7e9f7fbdd64a134bc2a491d6ae5c1ed41a5d5995023135678d2905b5bd9662a09b9aea7fe07a0fd70c6d4935706a8a062ee948c7fd375307d64afe9e97180bf3
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.53 2023-01-13
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
@@ -565,6 +565,7 @@ found_file:
565
565
  http_finish(h);
566
566
  return 0;
567
567
  }
568
+ goto open_file;
568
569
  break;
569
570
  }
570
571
  http_send_error(h, 403);
@@ -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 > 0 && level < 100)
442
+ if (level >= 0 && level < 100)
443
443
  FIO_LOG_LEVEL = level;
444
444
  }
445
445
  if (!fio_cli_get("-w") && getenv("WEB_CONCURRENCY")) {
@@ -1,3 +1,3 @@
1
1
  module Iodine
2
- VERSION = '0.7.53'.freeze
2
+ VERSION = '0.7.55'.freeze
3
3
  end
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.53
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-13 00:00:00.000000000 Z
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.53.
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.7
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