implemented compression for HTTP-requested data

This commit is contained in:
Luxferre
2024-11-23 08:11:48 +02:00
parent badc92ea99
commit 203f6a30ca
2 changed files with 93 additions and 61 deletions
+1
View File
@@ -203,6 +203,7 @@ proc n2p_id {binmsg} {
proc createdb {fname} {
sqlite3 fdb $fname
fdb eval {
PRAGMA journal_mode=WAL;
CREATE TABLE `msg` (`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`msgid` VARCHAR(20) NOT NULL UNIQUE,
`timestamp` INT NOT NULL,