takraj opened a new pull request, #1151:
URL: https://github.com/apache/plc4x/pull/1151

   The remote end might actively close the connection as a response to 
disconnect event, which can cause the Netty channel to be already closed when 
we want to explicitly close it on our side.
   
   Can be easily tested in OPC-UA driver, with a few seconds delay added before 
the original code block:
   
   ```java
   Thread.sleep(10000); // <-- delay
   
   channel.pipeline().fireUserEventTriggered(new CloseConnectionEvent());
   channel.close().awaitUninterruptibly();
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to