-
Notifications
You must be signed in to change notification settings - Fork 139
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
Ever increasing credits #223
Comments
maybe a bug in macos ? |
Credits are used for flow control between client and server. |
Yes, it's very likely. |
One alternative is to keep resetting them to MAX_CREDITS again if they overflow (which is very easy to detect). |
Do you think it is appropriate to avoid this problem directly in the source code by replacing
with
or with
|
I tried to traverse a share by smb2_opendir_async, concurrently.
I use libsmb2 on a mobile project.
When traversing a shared folder from Windows, it works well.
When traversing a shared folder from MacOS, some of the requests will not reply.
The only obvious difference I can find is that,
for Window, the smb->credits is relatively stable, between 1900 and 2100.
for MacOS, this value increases endlessly, from 1024 all the way to billions.
For those without reply, this value is negative.
I don't understand what credits is for.
The text was updated successfully, but these errors were encountered: