Skip to content

SMB2Client: Add async change notify support - #367

Closed
AUnkart wants to merge 1 commit into
TalAloni:masterfrom
AUnkart:pr/smb2-async-change-notify
Closed

AUnkart wants to merge 1 commit into
TalAloni:masterfrom
AUnkart:pr/smb2-async-change-notify

Conversation

@AUnkart

@AUnkart AUnkart commented Sep 16, 2026

Copy link
Copy Markdown

No description provided.

@TalAloni

Copy link
Copy Markdown
Owner

Thanks, this is related to #314
I will get to it when I can.

NTStatus status = command.Header.Status;
// Invoke off the receive thread so a slow/blocking callback can never
// stall processing of further incoming packets on this connection.
System.Threading.ThreadPool.QueueUserWorkItem(delegate

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

One thing that comes to mind even before starting to review this:
System.Threading.ThreadPool.QueueUserWorkItem is a good default,
but there should be a "protected virtual" method for this - in case the user does not want to use the shared thread-pool.

@TalAloni

Copy link
Copy Markdown
Owner

Thanks,
A NotifyChange implementaton is included with v1.5.8.1 (SMB2 only for now)

@TalAloni TalAloni closed this Sep 20, 2026
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.

2 participants