mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r7750: handle STATUS_MORE_ENTRIES on send in tls
(This used to be commit 135c3367ff
)
This commit is contained in:
parent
7267cb3312
commit
6720bd94b8
@ -111,6 +111,10 @@ static ssize_t tls_push(gnutls_transport_ptr ptr, const void *buf, size_t size)
|
||||
b.length = size;
|
||||
|
||||
status = socket_send(tls->socket, &b, &nwritten, 0);
|
||||
if (NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES)) {
|
||||
errno = EAGAIN;
|
||||
return -1;
|
||||
}
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
EVENT_FD_WRITEABLE(tls->fde);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user