284 Commits

Author SHA1 Message Date
Ritesh Rao 379d8cc1d3 Merge pull request #636 from yang-hai-feng/hayang/tls13-1
.NET 8 TLS 1.3 connection drops when application data arrives before SslStream Authentication completes
2026-01-12 15:42:59 -08:00
Johnson Yang c1ffb420d7 Update .vscode/tasks.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-08 18:44:33 -08:00
Johnson Yang fe3dcac2dc Merge branch 'hayang/tls13-1' of https://github.com/yang-hai-feng/DotNetty into hayang/tls13-1 2026-01-08 18:35:01 -08:00
Johnson Yang 437752d45b rollback unwrap changes 2026-01-08 18:34:51 -08:00
Johnson Yang fb318c648c Update RELEASE_NOTES.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-08 17:49:02 -08:00
Johnson Yang dbe642e8a7 fix TLS1.3 connection drops if application data sent before TLS authentication completed 2026-01-08 17:37:14 -08:00
Johnson Yang 38c7c49a90 fix TLS1.3 connection drops if application data sent before TLS authentication completed 2026-01-08 16:44:09 -08:00
Johnson Yang 163e28cfb4 Update TLS 1.3 behavior 2025-11-19 21:24:49 -08:00
Filip Stankovski 78c5757062 Merge pull request #621 from Azure/filipbitola/version_to_0_7_6
Updating package version to 0.7.6
2024-02-14 13:25:16 -08:00
Filip Stankovski 1cc162838a More timeouts 2024-02-09 16:27:39 -08:00
Filip Stankovski 6a8b6298a6 Updating test timeout to 5s 2024-02-09 14:38:34 -08:00
Filip Stankovski e504c148b3 0.7.6 2024-02-09 12:57:35 -08:00
Filip Stankovski 1ed22ceeba Updating package version to 0.7.7 2024-02-09 11:56:52 -08:00
Filip Stankovski 5ccd19f13b Merge pull request #616 from nivalxer/fix_tls_net8
Fix the issue of TLS handshake failure in .NET 8 environment.
2024-02-06 15:37:08 -08:00
nivalxer 392137ecb3 change appveyor to support .net8
Signed-off-by: nivalxer <nivalxer@gmail.com>
2023-12-29 22:48:27 +08:00
nivalxer 977fd6ac09 Fix the issue of TLS handshake failure in .NET 8 environment.
Signed-off-by: nivalxer <nivalxer@gmail.com>
2023-12-02 03:54:10 +08:00
pea-sys 296166bae9 Update README.md fixed Deadlink (#594)
fixed Contribution Guide link.
Same link as the next page.
https://github.com/Azure/azure-powershell/blob/main/README.md
2022-09-06 11:57:21 -07:00
Andrey Ilnitsky cde1bc36d0 Version bump up to generate release build (#595)
+ Fix infinite loop caused by TlsHandler
2022-08-31 14:01:55 -07:00
kenlon 4a5b846054 Fix infinite loop during TLS handshake(Only .NET6) (#583)
Fix infinite loop caused by disconnection during TLS handshake, and the memory exploded instantly.
2022-08-31 09:23:17 -07:00
Andrey Ilnitsky 18fbb0839e Target fix: net5 -> net5.0, net6 -> net6.0 (#592) 2022-08-04 14:53:30 -07:00
paul cheung 18deefb5e9 minor improvements (#582) 2022-08-04 12:02:35 -07:00
microsoft-github-policy-service[bot] 77ad415406 Microsoft mandatory file (#590)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-08-04 11:59:50 -07:00
Andrey Ilnitsky f754c83069 [0.7.3] Target net5 and net6 (#588)
* [0.7.2] Start threads as background in HashedWheelTimer, LoopExecutor, ThreadDeathWatcher

* + code formatting

* [0.7.3] Target net5 and net6 (#2)

target net5 and net6
Adopted TlsHandler for the case when Handshake completion callback is dispatched asynchronously to thread pool
Introduced SingleThreadedEmbededChannel for TlsHandler and SniHandler tests

* + Update DotNetVersion to "6.0.302" in build.ps1
2022-08-02 16:37:48 -07:00
Andrey Ilnitsky 54fd364a93 Google.Protobuf 3.19.4 (latest) (#579) 2022-03-01 09:51:59 -08:00
Andrey Ilnitsky 899e53f664 + code formatting 2022-02-14 13:26:45 -08:00
Andrey Ilnitsky df5cd79cab [0.7.2] Start threads as background in HashedWheelTimer, LoopExecutor, ThreadDeathWatcher 2022-02-14 13:26:45 -08:00
Max Gortman 4c4adebce9 up version to 0.7.1 2021-12-15 14:30:18 -08:00
James Davis ⛺️🏔 d60a1d44a8 Make thread executor a background thread. 2021-12-07 16:03:22 -08:00
Max Gortman 7d1017c071 refreshing build 2021-07-19 16:55:44 -07:00
Max Gortman 05e5aa40c3 Remove XThread as obsolete 2021-07-19 16:55:44 -07:00
Andrey Ilnitsky 1cdaadbfaa - target net472 and netstandard2.0
- microsoft.extensions.logging 5.0.0
- microsoft.extensions.configuration 5.0.0
2021-07-16 18:04:31 -07:00
Erik O'Leary 47f5ec7303 Fix ParseMachineId (#459)
Fix issue parsing manual machine id; fixes #458 - second parameter of `Substring` is 'length' not 'index'
2019-10-21 22:38:18 -07:00
SilverFox d4bb7ae10e Fix issue #472 (#473)
* Align and add some missing overloads for ByteBuffer
* Add the workaround for case 1 in #436
* Remove Deque.cs from DotNetty.Common
* Fix false positive resource leak report.
* Change some behavior of ResourceLeakDetector
2019-10-21 13:36:04 -07:00
SilverFox c011350dde Fix #498 (#507) 2019-10-21 13:06:54 -07:00
SilverFox 780acdb07a Port all properties io.netty.recycler.* and related logic (#497) 2019-10-21 12:49:53 -07:00
Max Gortman abda435273 Don't pool buffer objects (#518)
* wip

* fixing async stream->buffer
2019-10-21 12:24:25 -07:00
Max Gortman a9d0723ba5 STE: Provide indicators of progress (#517)
extra: give access to executors within executor group
2019-10-16 22:27:45 -07:00
Dimitris Deligiorgis 5bfd679ae5 mark GetUnadjustedFrameLength as virtual (#506) 2019-10-15 14:33:00 -07:00
SilverFox d65154c3c4 Avoid throw SocketException(10057) in TcpSocketChannel.DoClose when the Socket is not connected (#508) 2019-10-15 14:28:22 -07:00
SilverFox 13f0094266 Fix an spell error (#494) 2019-07-09 08:12:59 -07:00
SilverFox 72deeb9a09 Less allocation for IdleStateHandler (#496) 2019-06-25 10:19:11 -07:00
mikelchai 4a76e62458 Fix the exception message in ExpireTimeouts (#440) 2018-11-03 20:32:51 -07:00
mikelchai d332b79358 Transfer timeouts to the right buckets (#439) 2018-11-01 13:35:05 -07:00
Max Gortman 6515aa0853 set version to 0.6.0 (#435) 2018-10-10 09:16:51 -07:00
SilverFox b5450a4647 Fix issue #422 (#423)
* Fix issue #422

It's an regression for #280, the sharedBufferList may leak to async path.

* Do check for DefaultChannelConfiguration.WriteBufferHighWaterMark when set

* Also check whether IncompleteWrite finish in sync for AbstractSocketByteChannel.

Otherwise may not all flushed buffer will be writen before next flush

* Invalid nio buffer cache for partial writen
2018-10-05 16:30:22 -07:00
Bruno Bossola 30a1aefba1 Fixed typo in .sln (#429)
The name of the .sln file does not match the filesystem name because of the case: this prevents the build to succeed in Linux systems.
2018-10-05 08:47:07 -07:00
Max Gortman 4bd2621c69 set version to 0.5.0 2018-08-20 08:02:18 -07:00
Max Gortman e3b0ffa7ed updated version to 0.4.9 2018-08-14 16:44:21 -07:00
Onat Yiğit Mercan a307801e84 align with java executor services (#402) 2018-08-14 10:46:18 -07:00
SilverFox 797629ac1b Pickup some commits not related to Mono from #374 (#410)
* Add some missing method to LoggingHandler

* Avoid to alloc an huge error message when the test not failed.

* Update the unittest

* Update Microsoft.NET.Test.Sdk from 15.0.0 to 15.7.2, fix that unable to debug an unittest for the second time.
* Disable parallelization for InternalLoggerFactoryTest.TestMockReturned to avoid an rare test failure.
* Remove `dotnet-xunit` since it's never used and will be discontinued, see https://xunit.github.io/releases/2.4-beta2

* Remove space from filename

* Switch back to `DiscardSomeReadBytes` since it's avaliable

* Rework some logic in TlsHandler

* Make sure TlsHandler.MediationStream works well with different style of aync calls(Still not work for Mono, see #374)
* Rework some logic in #366, now always close TlsHandler.MediationStream in TlsHandler.HandleFailure since it's never exported.

* Workaround to fix issue 'Microsoft/vstest#1129'.

* Change the default of TcpServerSocketChannel.Metadata.defaultMaxMessagesPerRead to 1
2018-08-13 11:38:06 -07:00