msgpack-haskell
                                
                                 msgpack-haskell copied to clipboard
                                
                                    msgpack-haskell copied to clipboard
                            
                            
                            
                        ParseError when client closes connection
I'm testing out msgpack-haskell, and my test application works fine - I can call a test method and see that the server receives the call correctly, and the client receives a return value successfully. However, there's a problem: every time a client disconnects from the server I get this printed to the console:
ParseError {errorContexts = ["demandInput"], errorMessage = "not enough bytes", errorPosition = 1:1}
This error seems to be coming from attoparsec. Maybe the parser isn't correctly handling the situation where the connection terminates and it gets EOF?
I'm using attoparsec 0.10.4.0, network-conduit 1.0.0, msgpack 0.7.1.5, and msgpack-rpc 0.9.0. I do see that msgpack 0.7.2.5 exists, but I can't install it as cabal warns it will break haskell platform due to updated dependencies. If this is fixed in msgpack 0.7.2.5, it'd be really great if a fix was back ported to something that will build on the current haskell platform.
Actually I built msgpack 0.7.2.5 locally, manually changing the required version of byte string, and it made no difference. AFAICT, this bug still isn't fixed in msgpack 0.7.2.5.
Bump. I'd like to see a fix for this as well