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

Update conn.go to cover the STATUS_NO_MORE_FILES status response #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leolovesmile
Copy link

Update conn.go to fix the problem that the STATUS_NO_MORE_FILES status is not handled correctly

The accept method does not cover the case of STATUS_NO_MORE_FILES response status, which makes the code snippet (in souce code line 1281 in client.go) could not handle the reponse as expected (as a STATUS_NO_MORE_FILES response).

…nse status is not handled correctly

The `accept` method STATUS_NO_MORE_FILES does not cover the case of STATUS_NO_MORE_FILES response status, which makes the code snippet (in souce code [line 1281 in client.go](https://github.com/hirochachacha/go-smb2/blob/c8e61c7a5fa7bcd1143359f071f9425a9f4dda3f/client.go#L1281C26-L1281C26)) could not handle the reponse as expected (as a STATUS_NO_MORE_FILES response).
@leolovesmile leolovesmile changed the title Update conn.go to fix the problem that the STATUS_NO_MORE_FILES status is not handled correctly Update conn.go to cover the STATUS_NO_MORE_FILES status response Aug 17, 2023
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.

None yet

1 participant