gun
gun copied to clipboard
HTTP/1.1, HTTP/2, Websocket client (and more) for Erlang/OTP.
It used to be, in older Erlang versions than 26, that you could just call gun:open on tls targets without specify an option, like so: ```erlang {ok, ConnPid} = gun:open("google.com",...
Companion PR to https://github.com/ninenines/cowboy/pull/1599
Being able to act on the "additional debug data" that can be part of the GOAWAY frames is necessary for correct usage of certain services. One such service is Apple...
New request option `timeout`. The timer ref is stored in the stream record in each protocol module (gun_http, gun_http2). It's still untested, but you're welcome to have a look to...
Fixes #314. In addition to a pid, `reply_to` can be * a fun called as `Fun(Reply)` * a tuple `{Fun, Args}` called as `apply(Fun, [Reply | Args])` * a tuple...
`:gun_error` : `{:stream_error, :protocol_error, :"Stream reset by server."}` Certs from GlobalSign In Phoenix. The stream ref is created, but the somewhere before upgrade the above error presents itself. The request...
The gun_pool module uses the types gun:await_body_result() and gun:await_result(), but they are not exported. Dialyzer complains about unknown types.
Fixes #323
It's not possible to run TLS 1.3 only for Gun since client_preferred_next_protocols is incompatible. You get {error, {options,dependency, {client_preferred_next_protocols, {versions,[tlsv1,'tlsv1.1','tlsv1.2']}}}}}, when trying. I.e. should avoid providing this one if versions...
Hello! We have a huge downgrade response time after updating to 2.0.1 after 1.3.0. My config for client... Opts = #{ connect_timeout => 5000, retry => 100, retry_timeout => 1000...