Fork me on GitHub
#aleph
<
2018-12-07
>
igrishaev14:12:06

What would be the best way to connect two streams in both directions? To implement a proxy for example.

igrishaev14:12:34

(s/connect s1 s2) works fine for one direction. But (s/connect s2 s1) leads to strange behavior.

kachayev13:12:47

Not sure I got your question correctly, but s/consume is essentially a loop

valerauko16:12:54

does aleph retry (and if so how many times / how long) if it can't bind the designated port on server start?

kachayev14:12:58

AFAIK, it does not. aleph relies on netty’s implementation of .bind, and netty calls java.net.Socket bind which throws IOException if the socket is already bound.

valerauko16:12:59

another: what's the simplest way to enable TLS1.3 in aleph http client?