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._
9
9
import cats .syntax .all ._
10
10
import fs2 .Chunk
11
11
import scodec .bits .BitVector
12
- import fs2 .io .net .{ Socket , SocketGroup }
12
+ import fs2 .io .net .{Socket , SocketGroup , SocketOption }
13
13
import com .comcast .ip4s ._
14
14
import skunk .exception .EofException
15
15
@@ -67,7 +67,7 @@ object BitVectorSocket {
67
67
sslOptions : Option [SSLNegotiation .Options [F ]],
68
68
)(implicit ev : MonadError [F , Throwable ]): Resource [F , BitVectorSocket [F ]] =
69
69
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
71
71
sockʹ <- sslOptions.fold(sock.pure[Resource [F , * ]])(SSLNegotiation .negotiateSSL(sock, _))
72
72
} yield fromSocket(sockʹ)
73
73
You can’t perform that action at this time.
0 commit comments