mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-01 15:43:07 +00:00
## Agent - Workers: a worker started by concurrent calls runs in one thread. `runWorkerAsync` put back a stale "not running" value after another call had taken the running one, and a worker restart wrote the same value, so a second thread executed the same commands (for example, a confirmation was sent twice and `CON` was emitted twice), or a caller blocked forever. - Delivery receipts that fail with AUTH are deleted without an error event. - Notification credentials are stored per receive queue rather than per connection. - The protocol client fails pending requests when its connection ends. - XFTP: a failure to remove a received file's temporary data is logged and no longer fails the worker; server test files have random names. ## Server - An inactive SMP client session ends without its connection being closed by the expiration thread. - An inactive HTTP2 session is ended by killing its thread rather than closing its TLS connection from another thread. - Static files: the timeout handler kills the connection thread and leaves the socket close to that thread. ## Dependencies - warp: simplex-chat/wai@63667cb5 (simplex-chat/wai#1). The timeout manager kills the connection thread without closing its socket. ## CI and tests - Tests run on a RAM disk on Linux. - Test HTTP2 clients are closed before their TLS connections; test temporary directories are cleared between suites.
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
packages: .
|
|
-- packages: . ../direct-sqlcipher ../sqlcipher-simple
|
|
-- packages: . ../hs-socks
|
|
-- packages: . ../http2
|
|
-- packages: . ../network-transport
|
|
|
|
-- uncomment two sections below to run tests with coverage
|
|
-- package *
|
|
-- coverage: True
|
|
-- library-coverage: True
|
|
|
|
-- package attoparsec
|
|
-- coverage: False
|
|
-- library-coverage: False
|
|
|
|
index-state: 2023-12-12T00:00:00Z
|
|
|
|
package cryptostore
|
|
flags: +use_crypton
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/simplex-chat/aeson.git
|
|
tag: aab7b5a14d6c5ea64c64dcaee418de1bb00dcc2b
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/simplex-chat/hs-socks.git
|
|
tag: a30cc7a79a08d8108316094f8f2f82a0c5e1ac51
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/simplex-chat/direct-sqlcipher.git
|
|
tag: 2330df3dc8c4b660674d3c02d76bb86f66c2abee
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/simplex-chat/sqlcipher-simple.git
|
|
tag: a46bd361a19376c5211f1058908fc0ae6bf42446
|
|
|
|
-- waiting for published warp-tls-3.4.7
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/yesodweb/wai.git
|
|
tag: ec5e017d896a78e787a5acea62b37a4e677dec2e
|
|
subdir: warp-tls
|
|
|
|
-- backported fork due http-5.0
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/simplex-chat/wai.git
|
|
tag: 63667cb577d09c967ddcd945e42c324872dfeb7d
|
|
subdir: warp
|