mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-11 22:38:01 +00:00
TCP keep-alive probes are only sent while there is no unacknowledged data, so a connection that died with data in flight is only reported as failed when the OS gives up retransmitting - about 15 minutes on Linux and Android. The pinned simplexmq sets TCP_USER_TIMEOUT (TCP_RXT_CONNDROPTIME on Darwin) to the keep-alive detection time when the client asks for it, so such a connection fails after the same time as an idle one. It is off unless the client sets it, and it is not set for connections via a SOCKS proxy - the socket is then connected to the proxy, and a slow circuit should not fail the connection.
75 lines
2.1 KiB
Plaintext
75 lines
2.1 KiB
Plaintext
packages: .
|
|
-- packages: . ../simplexmq
|
|
-- packages: . ../simplexmq ../direct-sqlcipher ../sqlcipher-simple
|
|
|
|
-- 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
|
|
|
|
constraints: zip +disable-bzip2 +disable-zstd
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/simplex-chat/simplexmq.git
|
|
tag: 84381e0ea528f7812ebe725d8f0b5dc638efa6b4
|
|
|
|
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
|
|
|
|
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/haskell-terminal.git
|
|
tag: f708b00009b54890172068f168bf98508ffcd495
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/simplex-chat/android-support.git
|
|
tag: 9aa09f148089d6752ce563b14c2df1895718d806
|
|
|
|
-- TODO this fork is only needed to compile with GHC 8.10.7 - it allows previous base version
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/simplex-chat/zip.git
|
|
tag: 2eff156c3aac389e35d38bf10a52733d7061640a
|
|
|
|
-- 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: 2f6e5aa5f05ba9140ac99e195ee647b4f7d926b0
|
|
subdir: warp
|