Skip to content
lhttpc is a lightweight HTTP/1.1 client implemented in Erlang.
Erlang Shell Makefile
Pull request Compare This branch is 22 commits ahead, 11 commits behind lpgauth:master.
Latest commit 28d5562 Sep 22, 2015 @ferd Bumping to 1.2.9
Failed to load latest commit information.
doc Update the doc/overview page. Jun 16, 2010
include Fixed spelling of connect_options in option type. Feb 28, 2014
src Bumping to 1.2.9 Sep 22, 2015
test move to application:ensure_all_started/1 Aug 4, 2015
util Erlang source files should be encoded as iso-8859-1. (Richard Carlsson Jun 16, 2010
.gitignore fix bad type specs, update comments, remove some dead code Aug 4, 2015
.hgignore Update ignore pattern Jul 24, 2009
.hgtags Added tag 1.2.5 for changeset b8806a09fa3b May 1, 2010
CHANGELOG Update changelog Aug 22, 2010
LICENCE
Makefile speed up plt build Aug 4, 2015
README Updating readme to add a warning about prescribed use case of this br… Apr 28, 2012
TODO Add some good TODOs :) Aug 23, 2010
rebar new rebar. run xref, eunit and dialyzer in the test target. Aug 4, 2015
rebar.config Changing mechanism of the load balancer Nov 25, 2011

README

Dependencies:
 * Erlang/OTP R13-B or newer
   * Application compiler to build, kernel, stdlib and ssl to run

Building: 
For versions > 1.2.5, lhttpc is built using rebar. Take a look at http://bitbucket.org/basho/rebar/wiki/Home for more information. There is still a Makefile with some of the old make targets, such as all, doc, test etc. for those who prefer that. The makefile will however just call rebar.

Configuration: (environment variables)
 * connection_timeout: The time (in milliseconds) the client will try to
                       kepp a HTTP/1.1 connection open. Changing this value
                       in runtime has no effect, this can however be done
                       through lhttpc_manager:update_connection_timeout/1.

NOTE: THIS FORK OF LHTTPC IS ONLY RECOMMENDED IF YOU HAVE MANY REQUESTS TO DO TO A FEW RESTRICTED DOMAINS.
It contains load-balancing mechanisms described in http://ferd.ca/rtb-where-erlang-blooms.html. It is not meant for general purpose use.
Something went wrong with that request. Please try again.