File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/core/shared/src/main/scala/net Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import cats.effect._
99import cats .syntax .all ._
1010import fs2 .Chunk
1111import scodec .bits .BitVector
12- import fs2 .io .net .{ Socket , SocketGroup }
12+ import fs2 .io .net .{Socket , SocketGroup , SocketOption }
1313import com .comcast .ip4s ._
1414import skunk .exception .EofException
1515
@@ -67,7 +67,7 @@ object BitVectorSocket {
6767 sslOptions : Option [SSLNegotiation .Options [F ]],
6868 )(implicit ev : MonadError [F , Throwable ]): Resource [F , BitVectorSocket [F ]] =
6969 for {
70- sock <- sg.client(SocketAddress (Hostname .fromString(host).get, Port .fromInt(port).get)) // TODO
70+ sock <- sg.client(SocketAddress (Hostname .fromString(host).get, Port .fromInt(port).get), List ( SocketOption .noDelay( true )) ) // TODO
7171 sockʹ <- sslOptions.fold(sock.pure[Resource [F , * ]])(SSLNegotiation .negotiateSSL(sock, _))
7272 } yield fromSocket(sockʹ)
7373
You can’t perform that action at this time.
0 commit comments