hackney icon indicating copy to clipboard operation
hackney copied to clipboard

simple HTTP client in Erlang

Results 135 hackney issues
Sort by recently updated
recently updated
newest added

### Issue I'm getting this error after upgrading to hackney 1.24.1 when using **HTTPoison in Elixir**: ``` {:insecure_basic_auth, "Basic authentication over HTTP is insecure..."} ``` ### Setup ```elixir options =...

Hi @benoitc @deadtrickster I am thinking of adding prometheus metrics in hackney wherever we are using `erlang-metrics` (`metrics`) lib. ```erlang do_connect(Host, Port, Transport, #client{mod_metrics=Metrics, options=ClientOptions}=Client0, Type) -> Begin = os:timestamp(),...

Normally when the request body is empty, `handle_body` is only called for POST and PUT requests, since other methods shouldn't have `Content-Type` and `Content-Length` headers for empty bodies. But one...

Added status code metrics histogram to be able to monitor HTTP requests per host.

Currently, the async mode only generates events once the remote server responds. I'd like to be able to monitor the progress of a large upload using `POST`. This means generating...

enhancement
connection
metrics

Support usage of hardware-accelerated async TLS module like Etls. Etls also uses BoringSSL, which is practically used by Google in Chrome and throughout backend servers. Benchmarks: https://github.com/kzemek/etls The main (and...

connection

Is it intentional that [`find_pool/2`](https://github.com/benoitc/hackney/blob/master/src/socket/hackney_pool.erl#L193) starts a new child if the pool does not exist? I'm asking this cause I thought that the "correct" ways would be to include the...

question
pool

Ensures that the labels passed forward in `no_proxy` checks are the host labels, not the previous `no_proxy` spec.

Hello, The [getbyname/2 function changes the resolver’s address list by calling lists:usort/1](https://github.com/benoitc/hackney/blob/master/src/hackney_happy.erl#L130). This removes duplicates and reorders the addresses, which breaks dns randomness. In Kubernetes, Service A record returns all...

This PR stops sorting the resolver’s address list in hackney_happy:getbyname/2 by replacing lists:usort(AddrList) with AddrList. The current sorting removes duplicates and reorders IPs, which unintentionally breaks DNS randomness and can...