Re: Http11OutputBuffer mixes write strategies

2018-01-12 Thread Mark Thomas
On 12/01/18 20:58, Christopher Schultz wrote: > Mark, > > On 1/12/18 3:27 AM, Mark Thomas wrote: >> On 11/01/18 23:12, Christopher Schultz wrote: > >> > >>> If performance is a consideration, then most of the calls to >>> write() should probably be calls to headerBuffer.put() because we >>> can

Re: Http11OutputBuffer mixes write strategies

2018-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/12/18 3:27 AM, Mark Thomas wrote: > On 11/01/18 23:12, Christopher Schultz wrote: > > > >> If performance is a consideration, then most of the calls to >> write() should probably be calls to headerBuffer.put() because we >> can be (rea

Re: Http11OutputBuffer mixes write strategies

2018-01-12 Thread Mark Thomas
On 11/01/18 23:12, Christopher Schultz wrote: > If performance is a consideration, then most of the calls to write() > should probably be calls to headerBuffer.put() because we can be > (reasonably?) sure that writing "HTTP/1.1 " to the output buffer isn't > going to overflow the buffer. Likewis