Skip to content
Snippets Groups Projects
Select Git revision
0 results

jgit

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Shawn Pearce authored
    Later we are going to add support for smart HTTP, which requires us to
    buffer at least some of the request created by a client before we ship
    it to the server.  For many requests, we can fit it completely into a
    1 MiB buffer, but if it doesn't we can drop back to using the chunked
    transfer encoding to send an unknown stream length.
    
    Rather than recoding the block based memory buffer, we refactor the
    local file overflow strategy into a subclass, allowing the HTTP client
    code to replace this portion of the logic with its own approach to
    start the chunked encoding request.
    
    Change-Id: Iac61ea1017b14e0ad3c4425efc3d75718b71bb8e
    Signed-off-by: default avatarShawn O. Pearce <sop@google.com>
    3f8fdc03
    History
    Name Last commit Last update