Commit 19512f7
committed
[DiskCache] Disable HTTP disk cache if not enouhg disk space
Hidden behind WPE_DISK_CACHE_SIZE env
There is no control over available disk space for HTTP network cache.
Entries are written to disk asynchronously (using file memory mapping)
so lack of disk space results with SIGBUS signal and WPENetworkProcess crash.1 parent 2f546bf commit 19512f7
1 file changed
Lines changed: 7 additions & 2 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
186 | | - | |
187 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
| |||
0 commit comments