handle solid RAR archives (#339)

* Upgrade junrar version to 7.5.0 and set unrar.extractor.thread-keep-alive-seconds to 30 (default is 5)

* #338 Read whole archive in case RAR file is solid (it is, it can't be decompressed at an arbitrary location).
This commit is contained in:
Fidel Selva
2022-04-16 08:54:03 -05:00
committed by GitHub
parent db5c5ed534
commit 844454053d
2 changed files with 31 additions and 25 deletions

View File

@@ -54,7 +54,7 @@ dependencies {
// Disk & File
implementation("net.lingala.zip4j:zip4j:2.9.1")
implementation("com.github.junrar:junrar:7.4.0")
implementation("com.github.junrar:junrar:7.5.0")
// CloudflareInterceptor
implementation("net.sourceforge.htmlunit:htmlunit:2.56.0")
@@ -75,6 +75,9 @@ dependencies {
}
application {
applicationDefaultJvmArgs = listOf(
"-Djunrar.extractor.thread-keep-alive-seconds=30"
)
mainClass.set(MainClass)
}