rage-iodine 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/iodine/iodine_http.c +1 -1
- data/ext/iodine/scheduler.c +6 -3
- 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: ff8127ea56a3459eae3f01e41f5ec2b11b983d4c26733141ba008e91892b0ed8
|
4
|
+
data.tar.gz: fec97c38ebb1abcdb13fb7fdd96381c93e1d0d9f6b38017eb13ab7a349df396b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cc5c93fc4180649b61ca5e9d5e8e1b2bf60630b4b9893e6c9aa68439d07c78e750d3f51446eb89fb3809864a0841b975e8c3add2422e581a44799297dcf7088
|
7
|
+
data.tar.gz: 5434a1988b2f764cf285ac6d239c5c488d371b315944a5123fc397e9f0a98af9da8d4408c0adafb67b9ac2b1937ac175f13769a1ba36dac7477eada2270c4fdd
|
data/ext/iodine/iodine_http.c
CHANGED
@@ -569,7 +569,7 @@ static inline int ruby2c_response_send(iodine_http_request_handle_s *handle,
|
|
569
569
|
if (body && rb_respond_to(body, close_method_id))
|
570
570
|
IodineCaller.call(body, close_method_id);
|
571
571
|
body = Qnil;
|
572
|
-
handle->type =
|
572
|
+
handle->type = IODINE_HTTP_EMPTY;
|
573
573
|
return 0;
|
574
574
|
}
|
575
575
|
if (TYPE(body) == T_ARRAY) {
|
data/ext/iodine/scheduler.c
CHANGED
@@ -44,8 +44,11 @@ static void iodine_scheduler_task_close(intptr_t uuid, fio_protocol_s *fio_proto
|
|
44
44
|
|
45
45
|
static void iodine_scheduler_task_perform(intptr_t uuid, fio_protocol_s *fio_protocol) {
|
46
46
|
scheduler_protocol_s *protocol = (scheduler_protocol_s *)fio_protocol;
|
47
|
-
|
48
|
-
protocol->fulfilled
|
47
|
+
|
48
|
+
if (!protocol->fulfilled) {
|
49
|
+
IodineCaller.call(protocol->block, call_id);
|
50
|
+
protocol->fulfilled = 1;
|
51
|
+
}
|
49
52
|
|
50
53
|
(void)uuid;
|
51
54
|
}
|
@@ -55,7 +58,7 @@ static void iodine_scheduler_task_timeout(intptr_t uuid, fio_protocol_s *fio_pro
|
|
55
58
|
|
56
59
|
if (!protocol->fulfilled) {
|
57
60
|
IodineCaller.call2(protocol->block, call_id, 1, timeout_args);
|
58
|
-
|
61
|
+
protocol->fulfilled = 1;
|
59
62
|
}
|
60
63
|
}
|
61
64
|
|
data/lib/iodine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rage-iodine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
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-11-
|
11
|
+
date: 2023-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|