On 08/01/2015 13:30, Rémy Maucherat wrote:
> 2015-01-08 14:09 GMT+01:00 <ma...@apache.org>:
> 
>> Author: markt
>> Date: Thu Jan  8 13:09:47 2015
>> New Revision: 1650268
>>
>> URL: http://svn.apache.org/r1650268
>> Log:
>> Deque<ByteBufferHolder> is a little more complex than List<ByteBuffer>
>> but using the same structure for all connectors will improve code re-use
>> and thereby improve maintainability.
>>
> When I tried that originally in this connector, I ran into corruption
> problems. Maybe it is fine now, but it is worth running the relevant
> testsuite sections repeatedly just in case.

I've been running the unit tests over this for several days any haven't
seen any issues in this area. I'll keep an eye on the CI system in case
it finds issues that didn't crop up on my dev machine.

> Also it adds an additional layer of objects without providing additional 
> reuse > I could see, so this structure should be removed IMO rather than
generalized.

Removing it is on the TODO list along with a handful of other things I
spotted while I was working on this refactoring. Having got to a point
where I had a single Http11OutputBuffer and passing unit tests I wanted
to get it into svn before continuing.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to