Christian
ae84aa43d2
1846 server mqttserverstopasync doesnt indicate correct reason ( #1872 )
v4.3.2.930
2023-11-25 16:17:16 +01:00
Rido and Christian
b431a5d3fe
Add ReasonCode to SendExtendedAuthenticationExchangeDataAsync ( #1882 )
...
* add reason code to ext auth
* Update ReleaseNotes.md
---------
Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com >
2023-11-25 15:45:10 +01:00
Christian
b9683c2943
Improve client disconnect ( #1873 )
...
Imrpove client disconnect
2023-11-05 15:15:36 +01:00
Christian
1ba8f74555
Update version
2023-11-04 13:40:28 +01:00
Christian
ec637f7946
Handle unobserved tasks exceptions ( #1871 )
...
* Access exception so that it will not treated as unhandled
* Refactor code
* Improve unit tests
* Fix null reference exception
* Update ReleaseNotes.md
2023-11-04 13:39:16 +01:00
Christian
2599b3dfdc
Update settings for tests project so that it will build on linux ( #1860 )
...
* Update settings for tests project so that it will build on linux
* Improve unit tests and samples
* Remove no longer required target frameworks for unit tests
* Update ci.yml
2023-11-01 09:34:18 +01:00
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
v4.3.1.873
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
Christian
e2e7aacc09
Update version and release notes
2023-09-06 20:07:45 +02:00
Ramon Smits
0d3dd96f2a
Samples that show concurrent processing ( #1803 )
...
Samples that show concurrent processing with a limit and concurrent processing without auto ACK
v4.3.0.858
2023-09-01 19:01:49 +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
e604345e65
Update version
2023-08-19 15:23:10 +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
HansM
a97e88be29
Update Client_Subscribe_Samples.cs ( #1766 )
...
Fixes https://github.com/dotnet/MQTTnet/issues/1765 .
2023-06-15 17:31:01 +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
94f9fac2bd
Update ReleaseNotes.md
2023-05-29 16:48:50 +02:00
Christian
8ad86928f1
1681 misleading signature of mqttclientconnectasync mqttclientconnectresultcode expected but throws exception ( #1749 )
v4.2.1.781
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
db12309bae
Update ReleaseNotes.md
2023-05-29 12:41:28 +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
ac41e838ec
Merge branch 'master' of https://github.com/dotnet/MQTTnet
2023-05-01 12:20:26 +02:00
Christian
836ddf3bbc
Update version
2023-05-01 12:20:20 +02:00
Christian
0e815c626c
Add validation of string lengths ( #1718 )
2023-05-01 12:03:23 +02:00
Christian
4b7d035e9e
Reset release notes
2023-04-29 12:37:36 +02:00
Christian
cb3c44f48d
Rename InspectPackage method ( #1713 )
v4.2.0.706
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