[erlang-questions] making http client close connections

Roberto Ostinelli roberto@REDACTED
Tue Jun 9 20:18:38 CEST 2009


2009/6/9 Joel Reymont <joelr1@REDACTED>

>
> Can it limit the number of outgoing connections to just 1?
>

as per the specs: "It's not possible to limit the number of outgoing
connections".


> What about closing a connection on demand?
>

as i've said, not tried it. but reading through the code in 2 minutes i see:

lhttpc:kill_client(Pid)

which seems to do what you ask.


>
> Can I differentiate between connections started by many processes and close
> individual ones?
>

not sure i get what you need.

cheers,

r.


More information about the erlang-questions mailing list