Re: Two FTP replies in one read()

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Sat, 22 Nov 2008 19:53:51 +0100

On fre, 2008-11-21 at 18:46 -0700, Alex Rousskov wrote:
> I am looking at an FTP debugging produced by a stale Squid3 trunk.
> It seems that when Squid reads the following two FTP replies in one
> network read, it ignores the reply on the second line:
>
> 150 Openning data connection.
> 226 Closing data connection.

I would not be supriced if it does..

> Is ignoring the second line intentional?

No.

> Or am I misreading the code and
> the log?

Haven't looked at it. But our protocol parsers are not the stongest
ones, sometimes eating more than they should.. and at a large extend due
to the reading and parsing being done "integrated" instead of the parser
pulling processed data from the protocol stream.

Regards
Henrik

Received on Sat Nov 22 2008 - 18:53:57 MST

This archive was generated by hypermail 2.2.0 : Sun Nov 23 2008 - 12:00:04 MST