mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r21993: Don't let keepalives interferece with sign or seal
in the client code. Jeremy.
This commit is contained in:
parent
8f113ad191
commit
3e901389fe
@ -106,6 +106,11 @@ BOOL cli_receive_smb_internal(struct cli_state *cli, BOOL eat_keepalives)
|
||||
|
||||
again:
|
||||
ret = client_receive_smb(cli, eat_keepalives);
|
||||
|
||||
if (!eat_keepalives && (CVAL(cli->inbuf,0) == SMBkeepalive)) {
|
||||
/* Give back the keepalive. */
|
||||
return True;
|
||||
}
|
||||
|
||||
if (ret) {
|
||||
/* it might be an oplock break request */
|
||||
|
Loading…
x
Reference in New Issue
Block a user