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