[Date Prev][Date Next]
Re: ldapsearch w/ SASL sends duplicate entries (ITS#3139)
Under no circumstance should sasl_encode() be called twice
for the same data. If the first attempt to send encoded
data results in a temporary error condition, then second
attempt should be to resend THAT encoded data as opposed
to trying to send re-encoded data. Otherwise, the encoded
stream is trashed.
At 09:15 AM 6/30/2004, Kurt Zeilenga wrote:
>Due to the problem discussed in ITS#3214, this "fix" for this
>ITS has been backed out.
>If the lower level write completely blocks, we should NOT
>discard the lower level data and force a higher level
>retry. That would lead to reencoding of the higher
>level data and a security layer violation. Instead,
>we have to buffer data at the lower level.