[haiku-commits] Re: haiku: hrev46283 - src/kits/network/libnetapi headers/os/net

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 24 Oct 2013 17:47:22 +0200

On 2013-10-24 at 17:41:11 [+0200], pulkomandy@xxxxxxxxxxxxx wrote:
> hrev46283 adds 2 changesets to branch 'master'
> old head: 076952bc292644a6ed162cc49ddcd8cd3c47505b
> new head: c52c444c2733032679528e83572e8f2f6d576a13
> overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=c52c444+%5E076952b
> 
> ----------------------------------------------------------------------------
> 
> f678220: Move UrlResult to HttpResult
>   
>    * Remove the fRawData field, as handling it is too complicated (it's
>   not easy to have proper copy semantics on a BDataIO) and it's not used
>   anyway, as the listener DataReceived call is enough to get the data and
>   handle it.
>    * All the remaining fields are HTTP-only, so rename the class to
>   HttpResult and attach it to HttpRequest instead of UrlRequest.
> 

Forgot to say:
 * Increase the buffer size for read/write to 4096 bytes. This is bigger than 
an ethernet frame, and since the buffers are sent through BMessages, reduces 
the overhead on the software side as well. This increases network performance 
a bit.

-- 
Adrien.

Other related posts: