Christian
d22caa7b70
Update readme ( #1870 )
...
* Update ReleaseNotes.md
* Apply project code style
2023-11-01 09:26:18 +01:00
Rido
01c90badf9
Support custom CA chain validation ( #1851 )
...
* Add CaFile based on SslStream CustomTrust
* change to cert collection
* do not require to disable revocation checks
2023-11-01 09:22:13 +01:00
Diego2098 and Christian
e4f605fbd5
Update MqttServer.cs ( #1858 )
...
* Update MqttServer.cs
clientID is null => RetainedMessageChangedEventArgs ctor throw new ArgumentNullException(nameof(clientId)
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-11-01 08:29:19 +01:00
Christian
6fdee9e0db
Fix wrong TLS usage ( #1833 )
...
* Fix wrong usage of TLS options
* Fix public broker tests
* Update ReleaseNotes.md
2023-09-06 20:08:35 +02:00
Christian
cae7206733
Fix NullReferenceException when calling Ping ( #1834 )
...
* Check connection status before doing ping
* Fix broken reconnect sample
* Update ReleaseNotes.md
2023-09-06 20:08:13 +02:00
Tomáš Jecha
e0660ba887
#1810 Close connection after failed connect. ( #1811 )
2023-09-01 18:58:36 +02:00
Ivan Beňovic and Christian
5965ded488
Add possibility to specify parameter to RPC invocation ( #1798 )
...
* Add possibility to specify parameter to RPC invocation which will be accessible in TopicGenerationContext.
* Make parameters optional
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-09-01 18:57:22 +02:00
Christian
fc31c3077c
Fix Unit Tests
2023-08-22 20:02:47 +02:00
Christian and Sean Hanna
111a0d69cf
Add support for hot reloading of client certificates ( #1783 )
...
* Refactor Unit Tests
* Add new certificate provider interface instead of read only certificates list.
* Update ReleaseNotes.md
* Fix Unit Tests
* Fix build
* unit testing hot swappable certificates (#1787 )
* Move test classes to correct namespace
* Apply code style
---------
Co-authored-by: Sean Hanna <hannasm@users.noreply.github.com >
2023-08-19 15:14:05 +02:00
troky and Christian
1a08ec17ba
Added certificate validation callback for .NET framework 4.x ( #1806 )
...
* Added certificate validation callback for .NET framework 4.x
* Update ReleaseNotes.md
* Also expose sender to event arguments
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-08-19 14:20:01 +02:00
Ramon Smits and Christian
c537d290c3
Only logging "Client will now throw an _MqttConnectingFailedException_." warning when actually throwing the exception ( #1801 )
...
* Warning was always logged
Warning was always logged while the text states it would throw a `MqttConnectingFailedException` exception
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-08-19 13:59:14 +02:00
Cynthia MacLeod and Christian
2180f59725
Address issue #1818 where MqttConnectionContext throws an error when passed a TcpConnection. ( #1819 )
...
* Address issue #1818 where MqttConnectionContext throws and error when passed a TcpConnection.
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-08-19 13:48:01 +02:00
Ramon Smits and Christian
b1dc8607af
Moved check on Options.ValidateFeatures below ThrowIf methods to prevent NullReferenceException ( #1800 )
...
* Moved check on Options.ValidateFeatures below ThrowIf methods to prevent NullReferenceException
* Add Unit Test
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-08-13 18:38:37 +02:00
simonthum
101898695e
Add will message expiry interval to builder ( #1804 )
...
This was missing from builder but not regular options.
2023-08-13 18:06:16 +02:00
Christian
9295626503
[Server] Add initial support for session expiration ( #1776 )
2023-06-27 19:32:08 +02:00
Christian
18614d4e81
Expose configuration of packet fragmentation in server options. ( #1769 )
2023-06-15 18:51:43 +02:00
Christian
560e80455f
Update samples ( #1768 )
2023-06-15 18:32:28 +02:00
logicaloud and Christian
3b5667c882
Fix #1761 : MQTTRetainedMessageManager, return task with NULL result instead of NULL ( #1762 )
...
* Return task with NULL result instead of NULL
* move Task.FromResult call out of lock
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-06-12 21:52:54 +02:00
Nicke Broström and Christian
0790e54794
Websockets no longer working in Blazor WebAssembly ( #1755 )
...
* Fix for websockets not applying properties unless explicitly set
* Added comment indicating why properties can't be set
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-06-12 21:48:27 +02:00
Christian
8ad86928f1
1681 misleading signature of mqttclientconnectasync mqttclientconnectresultcode expected but throws exception ( #1749 )
2023-05-29 16:29:16 +02:00
Christian
d8e5936d45
1724 nullreferenceexception on mqttclientconnectasync ( #1748 )
...
Update MqttClient.cs
2023-05-29 13:55:36 +02:00
Christian
caa717544b
1742 some bug in mqttclientconnectionvalidatorhandle ( #1746 )
2023-05-29 13:53:42 +02:00
Christian
66b77f8d6d
Merge branch 'master' of https://github.com/dotnet/MQTTnet
2023-05-29 13:47:09 +02:00
Christian
ab5264c8ca
1738 userproperties in clientconnectedeventargs ( #1747 )
2023-05-29 13:45:44 +02:00
Christian
2953e0dcc5
Improve payload to string conversion
2023-05-29 12:41:24 +02:00
Ramon Smits
1b18ac9fe3
Resolve ConvertPayloadToString resulting in ArgumentNullException ( #1745 )
...
Resolve breaking change where previously ConvertPayloadToString returned null if the payload was null
2023-05-29 12:38:33 +02:00
Christian
2cdad6622a
Fix build
2023-05-14 09:14:37 +02:00
Andrei Kurosh
7601d11a7a
UseDefaultCredentials options for WebSockets proxy configuration. ( #1734 )
2023-05-14 08:58:57 +02:00
Christian
0bb4c6ef09
Expose more TLS options ( #1737 )
2023-05-13 12:08:52 +02:00
Christian
449624fd72
Expose proper connect result in clients Disconnected event ( #1728 )
2023-05-06 12:49:41 +02:00
Christian
99f4f46062
Add new overloads for packet payload and will payload ( #1721 )
2023-05-04 22:19:06 +02:00
b08d11c069
replace lock/semaphore by readerwriterlockslim to avoid lock contenti… ( #1716 )
...
* replace lock/semaphore by readerwriterlockslim to avoid lock contention while dispatch messages
* Update MqttClientSubscriptionsManager.cs
removed comment out codes
* Update ReleaseNotes.md
---------
Co-authored-by: Zeheng Feng <hf944813@broadcom.com >
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-05-01 13:53:15 +02:00
Christian
0e815c626c
Add validation of string lengths ( #1718 )
2023-05-01 12:03:23 +02:00
Christian
cb3c44f48d
Rename InspectPackage method ( #1713 )
2023-04-23 13:57:59 +02:00
Christian
8b3b9d33de
Add overloads for options builder ( #1711 )
...
* Add new overload for options builder
* Refactor code
* Update ReleaseNotes.md
2023-04-11 22:11:16 +02:00
scottbrogden-iheartmedia and Christian
59d99509c8
Notify what subscription topics failed as part of the SynchronizingSu… ( #1678 )
...
* Notify what subscription topics failed as part of the SynchronizingSubscriptionsFailedAsync callback
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-04-08 14:03:58 +02:00
RossHNPC and Christian
2933b76237
ClientMessageQueueInterceptor continues with subscription processing. ( #1685 )
...
* ClientMessageQueueInterceptor continues with subscription processing.
* Update readme
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-04-06 17:55:33 +02:00
Christian and Michi
36c6d8974e
Allow disabling of packet fragmentation ( #1709 )
...
* Add compatibility option for AWS
* Fix UWP build
* Fix comment in MqttClientOptions (#1706 )
* Refactor naming
* Fix wrong option value
---------
Co-authored-by: Michi <michael@volz.dev >
2023-04-06 17:54:36 +02:00
Christian
d6cab76728
Add user properties to event args to interceptors for subscribing and unsubscribing ( #1707 )
...
Add user properties to event args
2023-04-06 17:31:42 +02:00
Christian
a004de25ac
Fix unit test
2023-02-22 21:46:33 +01:00
老九
d0584413ca
Add PayloadSegmentable feature ( #1585 )
2023-02-22 20:53:55 +01:00
Christian
ba57537108
Fix running state handling in server ( #1680 )
...
Fix running state handling
2023-02-17 21:17:31 +01:00
Christian
6dcb110737
Add InterceptingClientEnqueueAsync event ( #1679 )
2023-02-17 19:13:06 +01:00
Christian
b599a832da
Add new method for reading a single retained message ( #1676 )
2023-02-15 19:46:37 +01:00
Christian
ed31c51237
Code cleanup
2023-01-28 13:08:21 +01:00
Christian
e01707d25e
Improve samples
2023-01-28 13:08:08 +01:00
Jeffery Michael and Jeff Scherrer
73f118fe1c
Moved the usage of certificate provider into the server listener ( #1652 )
...
* Moved the usage of certificate provider into the server listener so that each connection has the posibility of receiving a new SSL cert.
* Removed warning from unused field.
* Reduced changeds on original codebase.
---------
Co-authored-by: Jeff Scherrer <Jeff.Scherrer@vw.com >
2023-01-28 12:18:31 +01:00
Int32Overflow
0234918f30
Performance impact fix ( #1661 )
2023-01-28 12:12:20 +01:00
Jeffery Michael
c90ba7e061
Fixed broken UWP build ( #1655 )
...
Added compiler declaritive to check for WINDOWS_UWP on IsAssignableFrom call.
2023-01-28 12:02:22 +01:00
Christian
2aa4219838
Expose server session items ( #1638 )
...
* Expose server session items
* Add support for custom session items for injected application messages
2023-01-19 20:15:15 +01:00