Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
xinchen aeb02e60c1 Fix dev cert setup for websocket test 2024-09-05 11:32:53 -07:00
xinchen 9df9984d24 CI server does not have valid dev-cert 2024-09-05 10:49:02 -07:00
xinchen 21afd45ebd VS2015 build error 2024-09-04 17:17:03 -07:00
xinchen d5a0fcb443 [#590] ConnectionFactory: support CancellationToken 2024-09-04 17:09:53 -07:00
Xin Chen aee11c789a
Write delivery out side of session's lock (#587) 2024-07-15 10:56:54 -07:00
xinchen f6bf1d2b06 [#360] Fix link uniqueness checks 2024-05-17 10:50:36 -07:00
xinchen da9139a204 Run tests with and without external test broker 2024-05-16 16:54:21 -07:00
xinchen ff7c33f7c0 Test listener: support the Service Bus client 2024-03-07 10:00:09 -08:00
xinchen c4b0301f1b [#578] Protocol violation when sending FLOW field delivery-count 2024-02-05 09:17:49 -08:00
xinchen 54554af173 [#576] AmqpSettings IdleTimeout error 2023-12-27 15:44:14 -08:00
xinchen 3e42f0cc2e [#575] Protocol violation when sending FLOW 2023-11-13 11:20:59 -08:00
Xin Chen 772d0d3b6b
Fix570 (#571)
* Doc: message BodySection and possible types.

* Handle DataList in GetEstimatedBodySize

* [#570] ConnectionFactory should fail connection as early as possible

* Build error
2023-09-07 17:31:04 -07:00
Xin Chen ff3ea9ea46 [#566] Support custom message format (no custom encoding) 2023-04-30 20:40:57 -07:00
Xin Chen d390b3de58 Protocol handler test fix 2023-01-18 10:29:20 -08:00
xinchen 6ac4185a42 Improve a test 2022-04-07 09:31:25 -07:00
xinchen 0d3528ed42 Stabilize a unit test 2022-04-07 09:10:19 -07:00
xinchen f133cb52b3 [#489] Test broker: remove waiter when consumer is closed. 2022-02-15 09:29:54 -08:00
xinchen 158698e095 [#488] Drain support in listener link and message source. 2022-02-12 10:17:38 -08:00
xinchen 293d3c29b8 Test broker: remove implicit queue when the last connection is closed. [#487] 2022-02-10 10:12:23 -08:00
xinchen 3b5b32e8a8 Support address resolver in container host to allow custom address translation before processor lookup. [#307] 2022-01-27 13:24:25 -08:00
xinchen d643b00b62 Use ConnectionFactory, if available, to connect for connections created by constructors. [#264] 2022-01-26 20:39:51 -08:00
xinchen 62a8edab2d [#481] Connections are leaked upon protocol exceptions. 2021-11-11 20:48:59 -08:00
xinchen 6462a6de0d [#479] MaxFrameSize on Open class is not honored 2021-11-05 14:30:52 -07:00
xinchen 82a91c6a58 [#476] Ensure SaslProfile.UpgradeTransport is called.
Other changes: Expose SslStreamAccept event in handler; Add ConfigureAwait(false) for all await tasks.
2021-09-09 16:59:03 -07:00
xinchen 00004905de [#449] Acknowledge a message with delivery information. 2021-07-21 16:10:32 -07:00
xinchen 5c019e7684 [#444] Advertised idle timeout should be half the actual value 2021-07-20 12:36:58 -07:00
xinchen 9d1878bbfd Test changes. 2021-05-04 18:04:07 -07:00
xinchen dbf7b93f96 [#452] Support Socket and SslStream configuration through IHandler interface. 2021-05-03 22:50:10 -07:00
xinchen 0a574deee4 [#460] NotifyClosed not being called on connection loss detected by HeartBeat 2021-05-03 18:10:34 -07:00
Roel van Bakel 8210f9b1c7
Add the ability to encode nested IList (#461)
* Support nested ILIst instances

* Undo new syntax

Co-authored-by: Roel van Bakel <roel.vanbakel@cpp.canon>
2021-04-26 17:36:00 -07:00
xinchen ef68082e52 Fix a bug in serializer in handling circular type references. 2021-01-22 16:28:34 -08:00
xinchen c557566ed9 [#439] Serialization does not handle circular type references 2020-12-15 15:04:49 -08:00
xinchen a2e9495196 Test: handle arguments 2020-10-20 09:44:39 -07:00
xinchen 3c46067508 Fix a test issue. 2020-07-06 12:15:10 -07:00
xinchen 3ce9ef7a15 Test: race condition in checking remote stream. 2020-06-17 10:49:26 -07:00
xinchen 72b1986958 Test: synchronize access to list in test message source. 2020-06-17 10:40:19 -07:00
xinchen ef47f9deed [#420] Identity.Name is password instead of username 2020-05-27 12:14:50 -07:00
xinchen 0eb13b08d3 Fix flaky test. 2020-05-13 15:30:07 -07:00
xinchen 53966c7cb3 Fix a unit test 2020-03-13 16:31:50 -07:00
Havret 975ef84c82
Accept strongly typed Address in ContainerHost constructor (#399)
* Accept strongly typed Address in ContainerHost constructor

* Do not use obsolete ContainerHost constructor in tests

* Do not use obsolete ContainerHost constructor in example apps
2020-02-18 16:48:42 -08:00
xinchen 99c24db6fb Refactor handler API 2019-08-18 15:38:58 -07:00
xinchen 2c38af646d Handler support. 2019-08-12 16:49:45 -07:00
szehetner 4384b12f72 Optimize allocations in types derived from DescribedList (#370)
* replace Fields array in described lists with explicit members and custom encoding/decoding

* avoid boxing allocation in RestrictedDescribed.DecodeDescriptor

* introduce lookup for descriptor by ulong to avoid boxing allocation in common case

* avoid boxing allocations when Trace is disabled

* refactor nullable fields to bitmask

* remove all generics usages for NETMF

* fixed NETMF conditions

* InvalidFormatCodeException private -> internal for NETMF

* fixes for failing tests
2019-08-06 15:29:28 -07:00
Havret f0ca0ddd69 Amqp Value should be encoded properly when value was not initialized (#364)
* Amqp Value should be encoded properly when value was not initialized

* Copy the valueBuffer into the encoding buffer instead of decoding it eagerly

* do not use pattern matching for casting
2019-07-18 11:55:57 -07:00
xinchen abf0504cc9 Fix IndexOutOfRangeException. 2019-06-20 15:40:02 -07:00
José Simões ae67bf3766 Updates from nanoFramework (#356)
- Update platform define symbol.
- Update NuGets.
- Update call to AuthenticateAsClient with new SslProtocols enum.
- Update appveyor to install nF build components without VS extension.
2019-06-18 11:40:30 -07:00
xinchen d89c4f000d Listener: support custom SASL mechanism. 2019-06-04 12:13:10 -07:00
xinchen 54fc3567d4 Fix unit test 2019-03-06 10:43:25 -08:00
xinchen 64b112e26b Revert credit auto restore logic. Keep Drain feature. Make credit cumulative for manual mode. 2019-02-14 15:15:46 -08:00
xinchen 446277a65a Receiver link credit mode. 2019-02-13 18:34:07 -08:00