iodine 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of iodine might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/ext/iodine/facil.c +1 -1
- data/ext/iodine/iodine_http.c +1 -1
- data/lib/iodine/version.rb +1 -1
- 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: 260523c48510a94933f841d3258e4d8fcc2f056207f7833c7401b66f950a6213
|
4
|
+
data.tar.gz: 06a42adc3f38f2b558a59964ded37bdd099524e2b21c6172f0889932354b37ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bca74b865b9e2764cb3db9cfbb4669f0be05e66927f9b31670103f1b973fcc05f163f8943de40807d54c0999b2de8ea0d0463f4782edfe23971351e50e4fdd4
|
7
|
+
data.tar.gz: d5bab1b6e216a72186a225a298bd3eb4e22b575ab17a38692a36adcb81566712562da11c705dcbee60364e3e9f88f0491b24a842122ef3ead9f1c6bd42219e5f
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ 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.6.5
|
10
|
+
|
11
|
+
**Fix**: (facil.io - logging) Fix typo in log output. Credit to @bjeanes (Bo Jeanes) for PR #39.
|
12
|
+
|
9
13
|
#### Change log v.0.6.4
|
10
14
|
|
11
15
|
**Fix**: (HTTP/WebSockets) fixed an issue where negative status return values (such as ActionCable's `-1` status code) could cause iodine to assume an abnormal error and shut down the connection. Credit to @mdesantis (Maurizio De Santis) for opening issue #38.
|
data/ext/iodine/facil.c
CHANGED
@@ -1692,7 +1692,7 @@ static void facil_worker_cleanup(void) {
|
|
1692
1692
|
defer_pool_wait(facil_data->thread_pool);
|
1693
1693
|
facil_data->thread_pool = NULL;
|
1694
1694
|
}
|
1695
|
-
fprintf(stderr, "* %d
|
1695
|
+
fprintf(stderr, "* %d cleaning up.\n", getpid());
|
1696
1696
|
/* close leftovers */
|
1697
1697
|
for (int i = 0; i <= facil_data->capacity; ++i) {
|
1698
1698
|
intptr_t uuid;
|
data/ext/iodine/iodine_http.c
CHANGED
@@ -763,7 +763,7 @@ static void on_rack_request(http_s *h) {
|
|
763
763
|
|
764
764
|
static void on_rack_upgrade(http_s *h, char *proto, size_t len) {
|
765
765
|
iodine_http_request_handle_s handle = (iodine_http_request_handle_s){.h = h};
|
766
|
-
if (len == 9 && proto[1] == 'e') {
|
766
|
+
if (len == 9 && (proto[1] == 'e' || proto[1] == 'E')) {
|
767
767
|
handle.upgrade = IODINE_UPGRADE_WEBSOCKET;
|
768
768
|
} else if (len == 3 && proto[0] == 's') {
|
769
769
|
handle.upgrade = IODINE_UPGRADE_SSE;
|
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.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|