- when diciding whether the read buffer contains more than the blob reader wants we had a wrong equation.
retval = client_read_sslbuffer(CCC->ReadBuf, timeout);
if (retval >= 0) {
RemainRead = bytes - (StrLength (Target) - baselen);
retval = client_read_sslbuffer(CCC->ReadBuf, timeout);
if (retval >= 0) {
RemainRead = bytes - (StrLength (Target) - baselen);
- if (RemainRead > StrLength(CCC->ReadBuf))
+ if (RemainRead < StrLength(CCC->ReadBuf))
{
StrBufAppendBufPlain(
Target,
{
StrBufAppendBufPlain(
Target,