File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
339Servers:
Original file line number Diff line number Diff line change 11cabal-version : 1.12
22
33name : simplexmq
4- version : 6.5.0.16
4+ version : 6.5.1.0
55synopsis : SimpleXMQ message broker
66description : This package includes < . /docs/Simplex-Messaging-Server.html server>,
77 < . /docs/Simplex-Messaging-Client.html client> and
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import Simplex.Messaging.Encoding
4646import Simplex.Messaging.Encoding.String
4747import Simplex.Messaging.Parsers
4848import Simplex.Messaging.Protocol (XFTPServer )
49+ import Simplex.Messaging.Util (safeDecodeUtf8 , (<$$>) )
4950import System.FilePath ((</>) )
5051
5152type RcvFileId = ByteString -- Agent entity ID
@@ -65,7 +66,8 @@ data FileHeader = FileHeader
6566instance 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
7173type DBRcvFileId = Int64
You can’t perform that action at this time.
0 commit comments