network-transport-tcp
network-transport-tcp copied to clipboard
TCP Realisation of Network.Transport
Refers to: https://github.com/haskell-distributed/network-transport-tcp/pull/50 It is not clear how to migrate from previous version to new `createTransport`. What should I pass to `(ServiceName -> (HostName, ServiceName))` to preserve old behavior?
I'm observing failures when trying to connect and send messages to `localhost`: ``` TransportError ConnectFailed "Network.Socket.recvBuf: resource vanished (Connection reset by peer)" ``` I did not construct a minimal example,...
See the commit messages for details. I could run the normal tests, but not the mock tests since they don't compile on #master (see #65). Related downstream PR: https://github.com/serokell/network-transport-tcp/pull/1
network-transport-tcp has `tcpNoDelay = False` by default. Enabling Nagle's algorithm (not setting `TCP_NODELAY`) is not appropriate for cases where many multithreaded users multiplex over a single TCP connection, as is...
The current master commit `27e58732` does not compile with the `use-mock-network` flag: ``` $ cabal test Preprocessing library network-transport-tcp-0.5.1... [1 of 4] Compiling Network.Transport.TCP.Mock.Socket ( src/Network/Transport/TCP/Mock/Socket.hs, dist/build/Network/Transport/TCP/Mock/Socket.o ) [2 of...
https://github.com/haskell-distributed/network-transport-tcp/blob/6757ce91eeb3fe67cde33f1f2178e090f8348345/src/Network/Transport/TCP.hs#L477 ``` -- | Should we set TCP_NODELAY on connection sockets? -- Defaults to True. , tcpNoDelay :: Bool ``` https://github.com/haskell-distributed/network-transport-tcp/blob/6757ce91eeb3fe67cde33f1f2178e090f8348345/src/Network/Transport/TCP.hs#L615 ``` defaultTCPParameters = TCPParameters { ... , tcpNoDelay =...
[Imported from JIRA. Reported by Alexander Kjeldaas @ak) as [NTTCP-7](https://cloud-haskell.atlassian.net/browse/NTTCP-7) on 2014-07-19 23:28:20] From casually reading the code, I'm worried about believing the received EndPointAddress in handleConnectionRequest. In an environment...
This is similar to #39 but instead of dropping a bundle of connections to a peer, I'd like to be able to drop or reject one lightweight connection. This could...
push new release including latest fixes.
A bug in d-p tests [1] arises because there is no way to break connections in n-t-tcp. d-p has a patch that workarounds the problem: haskell-distributed/distributed-process#246. The best solution is...