rage-iodine 3.0.2 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/ext/iodine/fio_tmpfile.h +3 -0
- data/ext/iodine/iodine_http.c +0 -2
- 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: 827c54292c5797ef0e8a744953c7285d7bde14baa42ccd8b12c79d6eb5a6bc33
|
4
|
+
data.tar.gz: 97f0854e71a859bd6dc7f1c8c46ca3e82c2ddcf92b8b23e2aa77eadb9797c7d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f521569cd668eb25312a2bcb453492c85bf2d09467509574f2ac756f389063d08b8299e7f9306ce3ebcced115e728d4c9862576d8a868e0dd5588bc0def69f4
|
7
|
+
data.tar.gz: a5f90318671553fb05ff6d48b6d1c831bc825892b6f4b2b3d4c80199dc30a8b621e7478c4c4aa3204c8c9f72c7d87273a0683887b91b09ec41cd8e0c2a79c32f
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,14 @@ Please notice that this change log contains changes for upcoming releases as wel
|
|
6
6
|
|
7
7
|
## Changes:
|
8
8
|
|
9
|
+
#### Change log v.3.0.4 (2023-01-09)
|
10
|
+
|
11
|
+
**Fix**: Delete temp files.
|
12
|
+
|
13
|
+
#### Change log v.3.0.3 (2023-01-04)
|
14
|
+
|
15
|
+
**Fix**: Stop closing Rack IO.
|
16
|
+
|
9
17
|
#### Change log v.3.0.2 (2023-12-18)
|
10
18
|
|
11
19
|
**Fix**: Correctly set timeout option.
|
data/ext/iodine/fio_tmpfile.h
CHANGED
@@ -37,13 +37,16 @@ static inline int fio_tmpfile(void) {
|
|
37
37
|
if (P_tmpdir[sizeof(P_tmpdir) - 1] == '/') {
|
38
38
|
char name_template[] = P_tmpdir "facil_io_tmpfile_XXXXXXXX";
|
39
39
|
fd = mkstemp(name_template);
|
40
|
+
unlink(name_template);
|
40
41
|
} else {
|
41
42
|
char name_template[] = P_tmpdir "/facil_io_tmpfile_XXXXXXXX";
|
42
43
|
fd = mkstemp(name_template);
|
44
|
+
unlink(name_template);
|
43
45
|
}
|
44
46
|
#else
|
45
47
|
char name_template[] = "/tmp/facil_io_tmpfile_XXXXXXXX";
|
46
48
|
fd = mkstemp(name_template);
|
49
|
+
unlink(name_template);
|
47
50
|
#endif
|
48
51
|
return fd;
|
49
52
|
}
|
data/ext/iodine/iodine_http.c
CHANGED
@@ -687,8 +687,6 @@ static inline void *iodine_handle_request_in_GVL(void *handle_) {
|
|
687
687
|
tmp = IodineRackIO.create(h, env);
|
688
688
|
// pass env variable to handler
|
689
689
|
rbresponse = IodineCaller.call2((VALUE)h->udata, iodine_call_proc_id, 1, &env);
|
690
|
-
// close rack.io
|
691
|
-
IodineRackIO.close(tmp);
|
692
690
|
}
|
693
691
|
|
694
692
|
// test handler's return value
|
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: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|