[cifs-protocol] Requesting clarification of CIFS client timeout behavior
jlayton at samba.org
Tue Nov 30 20:24:39 MST 2010
I have a number of questions regarding Windows behavior with respect to
call timeouts. MS-CIFS says this in Appendix A:
<186> Section 184.108.40.206: Windows NT and Windows 98 CIFS clients
periodically scan for any commands that have not completed. The
default scanning period is 30 seconds. If there are outstanding
commands that have exceeded the Client.SessionTimeoutValue, an
SMB_COM_ECHO (section 220.127.116.11) is sent to determine whether or not
the connection has been lost. The client closes the connection only
if there is no response to the echo request.
My questions are as follows:
1) If the server is responding to the echo requests, does the client
still eventually return an error to the application or does it wait
indefinitely for the response?
2) If it returns an error to the application, does the client send a
SMB_COM_NT_CANCEL to cancel the outstanding request?
3) If it waits indefinitely, does it send more than one echo request?
If so, how frequently are they sent?
4) Do more recent versions of Windows behave similarly?
Jeff Layton <jlayton at samba.org>
More information about the cifs-protocol