[erlang-questions] managing reconnects in alternate http clients

Benoit Chesneau bchesneau@REDACTED
Tue Jan 24 13:47:22 CET 2017

Garry this probably could be done in hackney bay connecting yourself to the
server and pass your own socket. Can you describe more in an hackney
 ticket (or here) what is the workflow?

- benoit

On Mon, Jan 23, 2017 at 6:10 PM Garry Hodgson <garryh@REDACTED> wrote:

> We've been looking at replacing our use of httpc with some other http
> client like Hackney or Gun. Both of those clients have the feature that
> they keep live connections to servers, reconnecting as needed. This is
> generally a Good Thing, but is problematic in our environment. We are
> using SDP (Software Defined Perimeter), which requires that we send a
> special SPA packet to effectively do a port knock to open port before
> connecting. The port knock opens a pinhole firewall on server side that
> will allow connect from client for a short time. Otherwise all connects
> are ignored (drop all firewall rule).
> So my question is, can this reconnect feature be disabled in either Gun
> or Hackney? Or is there some hook we could use to pass a "grease the
> skids" fun to be called first when reconnecting?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170124/93c01699/attachment.htm>

More information about the erlang-questions mailing list