| Index: net/ftp/ftp_ctrl_response_buffer.h
|
| ===================================================================
|
| --- net/ftp/ftp_ctrl_response_buffer.h (revision 33979)
|
| +++ net/ftp/ftp_ctrl_response_buffer.h (working copy)
|
| @@ -24,7 +24,8 @@
|
|
|
| class FtpCtrlResponseBuffer {
|
| public:
|
| - FtpCtrlResponseBuffer() {}
|
| + FtpCtrlResponseBuffer() : multiline_(false) {
|
| + }
|
|
|
| // Called when data is received from the control socket. Returns error code.
|
| int ConsumeData(const char* data, int data_length);
|
| @@ -81,6 +82,9 @@
|
|
|
| std::queue<ParsedLine> lines_;
|
|
|
| + // True if we are in the middle of parsing a multi-line response.
|
| + bool multiline_;
|
| +
|
| // When parsing a multiline response, we don't know beforehand if a line
|
| // will have a continuation. So always store last line of multiline response
|
| // so we can append the continuation to it.
|
|
|
| Property changes on: net/ftp/ftp_ctrl_response_buffer.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|