GithubHelp home page GithubHelp logo

ryblovav / lhttpc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erlcloud/lhttpc

0.0 0.0 0.0 1.74 MB

lhttpc is a lightweight HTTP/1.1 client implemented in Erlang.

License: Other

Shell 1.59% Erlang 98.16% Makefile 0.25%

lhttpc's Introduction

NOTICE

This project is not supported anymore.

It's still here just to support legacy projects that may have it as a dependency. It's operational (at least, for Erlang versions lower than OTP 21)

If you're looking for an HTTP client, we would recommend you to switch to shotgun or fusco

OTP 20.1 Warning

lhttpc has an issue with OTP 20.1 and a bug in the server_name_indication ssl option. See #12 and #13 for more details. For lhttpc users on OTP 20.x, it is recommended to upgrade to OTP 20.3 or greater to avoid this potential issue.

Dependencies:

  • Erlang/OTP R16B03-1 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 keep 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.
  • pool_size: The default number of client processes to allow in an lhttpc_manager pool. Can be overridden at pool creation time, or updated at run-time using lhttpc_manager:set_max_pool_size/2.

lhttpc's People

Contributors

oscarh avatar leonardb avatar lastres avatar fdmanana avatar nalundgaard avatar dcorbacho avatar amanshin avatar viganiko avatar mabrek avatar paulgray avatar juantascon avatar tolbrino avatar uwiger avatar getong avatar robertoaloi avatar fp avatar jbothma avatar rumataestor avatar daniel-zinov avatar dluna avatar cjkjellander avatar etrepum avatar eproxus avatar akontsevoy avatar aporubov avatar emafr avatar legoscia avatar jadeallenx avatar waisbrot avatar erszcz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.