mirror of
https://github.com/samba-team/samba.git
synced 2025-10-25 19:33:18 +03:00
r7747: - simplified the ldap server buffer handling
- got rid of the special cases for sasl buffers - added a tls_socket_pending() call to determine how much data is waiting on a tls connection - removed the attempt at async handling of ldap calls. The buffers/sockets are all async, but the calls themselves are sync.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
fed6f4cc6c
commit
73cb4aad22
@@ -174,7 +174,7 @@ static void ldap_try_decode_plain(struct ldap_connection *conn)
|
||||
|
||||
/* keep any remaining data in conn->partial */
|
||||
data_blob_free(&conn->partial);
|
||||
if (asn1.ofs != conn->partial.length) {
|
||||
if (asn1.ofs != asn1.length) {
|
||||
conn->partial = data_blob_talloc(conn,
|
||||
asn1.data + asn1.ofs,
|
||||
asn1.length - asn1.ofs);
|
||||
|
||||
Reference in New Issue
Block a user