http-proxy: A library for writing HTTP and HTTPS proxies

[ bsd3, library, web ] [ Propose Tags ]

http-proxy is a library for writing HTTP and HTTPS proxies.

Use of the Conduit library provides file streaming via the proxy in both directions. Memory usage of the proxy scales linearly with the number of simultaneous connections and is independent of the size of the files being uploaded or downloaded.

The Settings data type provided by the library allows the caller to supply a functions for exception reporting and request re-writing. Eventually, this capability will be expanded to allow optional logging, disk caching etc.


[Skip to Readme]
Versions [faq] 0.0, 0.0.1, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6, 0.1.1.0
Change log ChangeLog.md
Dependencies async (==2.2.*), base (==4.*), blaze-builder (==0.4.*), bytestring (==0.10.*), bytestring-lexing (==0.5.*), case-insensitive (==1.2.*), conduit (==1.3.*), conduit-extra (==1.3.*), http-client (==0.6.*), http-conduit (==2.3.*), http-types (==0.12.*), mtl (==2.2.*), network (==2.8.*), resourcet (==1.2.*), streaming-commons (==0.2.*), text (==1.2.*), tls (==1.4.*), transformers (==0.5.*), wai (==3.2.*), wai-conduit (==3.0.*), warp (==3.2.*), warp-tls (==3.2.*) [details]
License BSD-3-Clause
Author Michael Snoyman, Erik de Castro Lopo
Maintainer erikd@mega-nerd.com
Category Web
Home page https://github.com/erikd/http-proxy
Bug tracker https://github.com/erikd/http-proxy/issues
Source repo head: git clone https://github.com/erikd/http-proxy.git
Uploaded by ErikDeCastroLopo at Fri Apr 5 10:19:19 UTC 2019
Distributions NixOS:0.1.1.0
Downloads 8195 total (226 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-04-05 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for http-proxy-0.1.1.0

[back to package description]

http-proxy

Build Status

A Haskell library for creating HTTP and HTTPS web proxies.

The aim is to make all proxying operations work in constant space (per connection) so that memory usage scales linearly with the number of concurrent connections and is completely independent of the size of either the POST request body or the response body.

This library relies heavily on the following libraries:

  • wai : A common protocol between web servers and clients.
  • warp : The web servers the proxy application runs in.
  • http-conduit / http-client : Perform the upstream requests.

This is still beta quality.