[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: [JunkMail] How to flush a LDAP request?
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Michael Stroder
> HI!
>
> On
> http://www.openldap.org/lists/openldap-software/200205/msg00380.html
> Howard Chu writes:
>
> "Sounds like the python library isn't flushing the entire
> LDAP request out
> to the network."
>
> I'd like to fix the error if there's any. But since I did not
> write the C
> part of python-ldap I'd appreciate some more hints which code
> I would have
> to add after(?) calling the OpenLDAP C API functions for
> flushing the entire
> LDAP request.
That's a pretty old message, and an old OpenLDAP release. See if the same
problem still exists in the current release before chasing anything further.
As I noted before, there shouldn't be any reads occurring between the
completion of the request and the sending of the result. Also, between
release 2.0.23 and now, the liblber routine to read from the network has been
fixed a few times to fix various size/byte count issues. Perhaps the
ldap_read with "want=1" (i.e., wanting to read 1 byte) was bogus.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support