Hello,
I have a client that streams some data to a server. The server checks the data and if it detects a problem it will send back an error message to the client and close the connection.
The problem I have is that the client doesn't receive the error message. I think while the client continuously writes data, netty will detect that the connection has closed (in the write call), so the channelInactive is fired into my client handler before that last message has been read.
If from the server side I close the connection with some delay after sending the error message, then the error message is received on the client.
Is there any solution for this? Or is it supposed to be working and I'm doing something wrong?
thanks,
nicolae