Skip to content
Snippets Groups Projects
  • Shawn Pearce's avatar
    5e33a1de
    Simple dumb HTTP server for Git · 5e33a1de
    Shawn Pearce authored
    
    This is a simple HTTP server that provides the minimum server side
    support required for dumb (non-git aware) transport clients.
    
    We produce the info/refs and objects/info/packs file on the fly
    from the local repository state, but otherwise serve data as raw
    files from the on-disk structure.
    
    In the future we could better optimize the FileSender class and the
    servlets that use it to take advantage of direct file to network
    APIs in more advanced servlet containers like Jetty.
    
    Our glue package borrows the idea of a micro embedded DSL from
    Google Guice and uses it to configure a collection of Filters
    and HttpServlets, all of which are matched against requests using
    regular expressions.  If a subgroup exists in the pattern, it is
    extracted and used for the path info component of the request.
    
    Change-Id: Ia0f1a425d07d035e344ae54faf8aeb04763e7487
    Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
    5e33a1de
    History
    Simple dumb HTTP server for Git
    Shawn Pearce authored
    
    This is a simple HTTP server that provides the minimum server side
    support required for dumb (non-git aware) transport clients.
    
    We produce the info/refs and objects/info/packs file on the fly
    from the local repository state, but otherwise serve data as raw
    files from the on-disk structure.
    
    In the future we could better optimize the FileSender class and the
    servlets that use it to take advantage of direct file to network
    APIs in more advanced servlet containers like Jetty.
    
    Our glue package borrows the idea of a micro embedded DSL from
    Google Guice and uses it to configure a collection of Filters
    and HttpServlets, all of which are matched against requests using
    regular expressions.  If a subgroup exists in the pattern, it is
    extracted and used for the path info component of the request.
    
    Change-Id: Ia0f1a425d07d035e344ae54faf8aeb04763e7487
    Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.