DmitriiMukhin commented on issue #801:
URL: https://github.com/apache/plc4x/issues/801#issuecomment-1428619604

   @heyoulin 
   Thank you - great job.
   I think this part of your solution helped me. 
   ```
                   pipeline.addLast(new ChannelInboundHandlerAdapter() {
                                        @Override
                                        public void 
exceptionCaught(ChannelHandlerContext ctx, Throwable cause)
                                                throws PlcConnectionException {
                                            logger.error("unknown error, close 
the connection", cause);
                                            close();
                                        }
                                    }
                   );
   ```
   I've tested for a while - at first glance it works. Abandoned(parked) 
threads are absent. Connection is establishing as it should in normal 
situation, I mean when controller is accessible. I'll continue testing.
   
   I'll be forced to fork 0.10.0 release to our company repo with such fix. As 
we don't know when new fixed release will be published.
   
   
   


-- 
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: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to