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

[ bsd3, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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, 0.1.2.0
Change log ChangeLog.md
Dependencies async (>=2.2 && <2.3), base (>=4 && <5), bytestring (>=0.10.8), bytestring-lexing (>=0.5), case-insensitive (>=1.2), conduit (>=1.3 && <1.4), conduit-extra (>=1.3 && <1.4), http-client (>=0.7 && <0.8), http-conduit (>=2.3 && <2.4), http-proxy, http-types (>=0.12 && <0.13), mtl (>=2.2 && <2.3), network (>=3.1), network-uri, resourcet (>=1.2 && <1.3), streaming-commons (>=0.2 && <0.3), text (>=1.2 && <1.3), tls (>=1.5 && <1.6), transformers (>=0.5 && <0.6), wai (>=3.2 && <3.3), wai-conduit (>=3.0 && <3.1), warp (>=3.3 && <3.4), warp-tls (>=3.3 && <3.4) [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 2021-04-17T11:08:40Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables simple-proxy, request-rewrite-proxy
Downloads 14372 total (24 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-04-17 [all 1 reports]

Readme for http-proxy-0.1.2.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.