Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make DisabledBufferPool as the default buffer pool implementation for UDP #5331

Conversation

Arkatufus
Copy link
Contributor

@Arkatufus Arkatufus commented Oct 19, 2021

close #5325 - patches issue by disabling it.

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to change the API here

@@ -3889,14 +3889,12 @@ namespace Akka.IO
}
public class UdpSettings
{
public UdpSettings(string bufferPoolConfigPath, bool traceLogging, int initialSocketAsyncEventArgs, int directBufferSize, int maxDirectBufferPoolSize, int batchReceiveLimit, string managementDispatcher, string fileIoDispatcher) { }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that's a breaking change - should probably leave the C# settings all there and just change the defaults to use the disabled buffer pool. No need to remove the feature entirely - we just don't want it as the default until it's fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its byterot, i'm not removing it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brought back the old constructor, marking it as obsolete

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) October 19, 2021 19:53
@Aaronontheweb Aaronontheweb merged commit fc41ef4 into akkadotnet:dev Oct 19, 2021
@Arkatufus Arkatufus deleted the #5325_Make_DisabledBufferPool_as_UDP_default branch February 27, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DirectBufferPool: The buffer is not properly freed in the Release function
2 participants