etc / lhttpc

Lightweight HTTP/1.1 client

Clone this repository (size: 1.3 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/etc/lhttpc/
commit 54: 84997b4c036e
parent 53: 04edd6979aa6
child 55: d25492b7c46c
Bump version before release default1.1.2
Oscar Hellström
10 months ago

 NB: This is not the latest revision. For the latest view, go to tip.

View at rev
lhttpc /
filename size last modified message
doc  
src  
test  
.hgignore 143 B 10 months ago Initial commit
.hgtags 329 B 10 months ago Removed tag 1.1.2
LICENCE 1.4 KB 10 months ago Initial commit
Makefile 1.4 KB 10 months ago Generate cover report
README 775 B 10 months ago Enable configuration of connection timeouts.
TODO 110 B 10 months ago Update TODO
vsn.mk 10 B 10 months ago Bump version before release

README

Dependencies:
 * Erlang/OTP R12-B or newer (compiler to build, kernel and stdlib to run)
 * GNU Make (might actually build with some other make as well)
 * Eunit (for testing)

To bulid the application simply run 'make'. This should build .beam, .app
files and documentation.

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.

Development:
There are some interesting make targets:
 * test - Will compile and run all tests (using eunit)
 * dialyzer - Will run dialyzer on the application