Commit fd4035e
committed
Set writer modification time to now by default
CRuby does this lazily on first write, when it sets up the
headers, but that laziness is handled inside jzlib for us. Just
set it and if it is updated by user it will be updated in the
writer.
Fixes #7879, which led to tests being skipped in
rack/rack#2182.1 parent 890c9c7 commit fd4035e
File tree
1 file changed
+10
-3
lines changed- core/src/main/java/org/jruby/ext/zlib
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
161 | 168 | | |
162 | 169 | | |
163 | | - | |
| 170 | + | |
164 | 171 | | |
165 | 172 | | |
166 | 173 | | |
| |||
0 commit comments