Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Kishore Mokkarala
That's fine,you can use this code for 2.0.x -> 2.2.1 documentation. -- M.V.S.Kishore 91-9886412814 On Mon, 17 Apr 2023 at 20:46, Emmanuel Lécharny wrote: > Great! > > If you don't mind, I'd like to use this piece of code to document the > 2.0 -> 2.2 mogra

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Emmanuel Lécharny
Great! If you don't mind, I'd like to use this piece of code to document the 2.0 -> 2.2 mogration. Just let me know if it's OK with you ! Thanks! On 17/04/2023 13:04, Kishore Mokkarala wrote: Thank you all for the help.Here is my SSL implementation for making it work with 2.2.1 for passing

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Jonathan Valliere
Cool. That was easy. On Mon, Apr 17, 2023 at 11:05 AM Kishore Mokkarala wrote: > Thank you all for the help.Here is my SSL implementation for making it work > with 2.2.1 for passing PEER ADDRESS (SNI host name) in the SSL engine. > > public class CustomSslFilter { > public CustomSslFilter(SSLCon

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Kishore Mokkarala
Thank you all for the help.Here is my SSL implementation for making it work with 2.2.1 for passing PEER ADDRESS (SNI host name) in the SSL engine. public class CustomSslFilter { public CustomSslFilter(SSLContext sslContext) { super(sslContext); } //Override CreateEngine protected SSLEngine create

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-14 Thread Jonathan Valliere
Looking at the code for your existing filter it appears like you’re just trying to create the SSLEngine so it can be reused for subsequent connections by passing in the IP address and Port? This is already a feature in the new filter. https://github.com/apache/mina/blob/a8dc2c56ec43ac67d64d0dab39a

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-14 Thread Kishore Mokkarala
Currently we are using the following custom SSL filter for passing SNI host name. For doing this we are using PEER_ADDRESS. This was available in apache mina 2.0.21 SslHandler.java,but this attribute is not available in 2.2.10. This PEER_ADDRESS is *eid.17.cid.0* different from the actual IP addres

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-12 Thread Emmanuel Lécharny
Hi, On 12/04/2023 18:00, Kishore Mokkarala wrote: Thanks Emmanuel for the quick response.I have few more questions on the upgrade.Please do the needful. If i want to upgrade from Apache mina 2.0.21 to mina 2.2.1 what all steps do i need to follow ? There are two pages that explains the diffen

Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-12 Thread Kishore Mokkarala
Thanks Emmanuel for the quick response.I have few more questions on the upgrade.Please do the needful. If i want to upgrade from Apache mina 2.0.21 to mina 2.2.1 what all steps do i need to follow ? Is it just a jar file change in the classpath or do i need to do any more changes ? Also we are a

Re: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-10 Thread Emmanuel Lécharny
Hi, Mina 2.0 branch is pretty old (5 years) and we have made significant changes in the 2.1 and more important the 2.2 branches. You should seriously consider migrating to 2.2. That being said: - 40 seconds to do whatever that was taking a few milliseconds snounds like a major regression, a

migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-10 Thread Kishore Mokkarala
Hi, There was a security vulnerability in mina 2.0.21,So we were migrated from apache mina 2.0.21 to 2.0.23,locally in the dev environment everything looks good, but in production we are facing connection timeout issue with the mina version 2.0.23. For connection set up it was taking 10-20 millisec