Introduce KTLS based http downoader API stub

This commit is contained in:
tarsin committed 2023-06-03 17:37:53 +08:00
1 parent d74b5bff7b
commit a256864c84
3 files changed
+17 -1

No files matched your search

@@ -275,3 +275,6 @@ fun GalleryInfo.putToDownloadDir() {
val dirname = FileUtils.sanitizeFilename("$gid-$title")
EhDB.putDownloadDirname(gid, dirname)
}
private external fun makeHttpsCallAndSaveToFd(url: String, doSni: Boolean, fd: Int): Long
private external fun kernelSupportKTLS(): Boolean