Skip to content

Commit 092a2ca

Browse files
committed
Merge branch 'rcv-services' into ep/batch-service-assocs
2 parents 7673cb2 + 64d5413 commit 092a2ca

3 files changed

Lines changed: 40 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
# 6.5.1
2+
3+
Version 6.5.1.0
4+
5+
XFTP client:
6+
- backwards compatible file header decoding.
7+
8+
# 6.5.0
9+
10+
Version 6.5.0.17
11+
12+
SMP agent:
13+
- improve subscriptions
14+
- reduce memory usage and retries during initial subscription (#1758)
15+
- fix race resulting in pending subscriptions never subscribed (#1756)
16+
- batch processing of subscription results and errors (#1652)
17+
- reduce memory usage of active subscriptions.
18+
- drop message after N reception attempts (#1762)
19+
- fix possible deadlocks of queue overloading when processing messages (#1713)
20+
- improved APIs for short link management and creation.
21+
- support multiple link owners in link data (#1701)
22+
23+
SMP server:
24+
- store messages in PostgreSQL (#1622).
25+
- reduce memory usage with PostgreSQL database - do not use queue cache (#1637)
26+
- fix in-memory server not restoring queue/service associations after 2+ restarts (#1618)
27+
28+
XFTP server:
29+
- support PostgreSQL database.
30+
- add server page.
31+
- support uploads from web clients.
32+
33+
Servers:
34+
- better socket leak prevention during TLS handshake, NetworkError type to bette diagnose connection errors (#1619)
35+
- use "=" as default INI key-value separator (#1767)
36+
137
# 6.4.4
238

339
Servers:

simplexmq.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 1.12
22

33
name: simplexmq
4-
version: 6.5.0.16
4+
version: 6.5.1.0
55
synopsis: SimpleXMQ message broker
66
description: This package includes <./docs/Simplex-Messaging-Server.html server>,
77
<./docs/Simplex-Messaging-Client.html client> and

src/Simplex/FileTransfer/Types.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import Simplex.Messaging.Encoding
4646
import Simplex.Messaging.Encoding.String
4747
import Simplex.Messaging.Parsers
4848
import Simplex.Messaging.Protocol (XFTPServer)
49+
import Simplex.Messaging.Util (safeDecodeUtf8, (<$$>))
4950
import System.FilePath ((</>))
5051

5152
type RcvFileId = ByteString -- Agent entity ID
@@ -65,7 +66,8 @@ data FileHeader = FileHeader
6566
instance Encoding FileHeader where
6667
smpEncode FileHeader {fileName, fileExtra} = smpEncode (fileName, fileExtra)
6768
smpP = do
68-
(fileName, fileExtra) <- smpP
69+
fileName <- safeDecodeUtf8 <$> smpP
70+
fileExtra <- safeDecodeUtf8 <$$> smpP
6971
pure FileHeader {fileName, fileExtra}
7072

7173
type DBRcvFileId = Int64

0 commit comments

Comments
 (0)