DescriptionIntroduce HttpStream and HttpBasicStream.
This is the beginning of the http pipelining work. Introduce HttpStream, an interface for reading and writing to http streams. Provide a basic implementation with HttpBasicStream. Switch HttpNetworkTransaction to reading/writing via HttpStream rather than directly to the socket.
Note that the interface will have to change later on. Read/Write() is the wrong interface, since a pipelining HttpStream implementation will have to detect the end of an http response, rather than having the client (HttpNetworkTransaction) do that. This is just the first step.
For information of the general roadmap for http pipelining, please refer to the bug.
BUG=http://crbug.com/8991
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18199
Patch Set 1 #Patch Set 2 : Fix lint error. #Patch Set 3 : Fix dumb errors. #
Total comments: 4
Patch Set 4 : Add comments. #
Total comments: 1
Patch Set 5 : sync #Patch Set 6 : Missed these on sync. #Patch Set 7 : Add comments to HttpBasicStream. Switch declaration order of Read/Write. #
Messages
Total messages: 4 (0 generated)
|