-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 5/26/17 7:46 AM, Mark Thomas wrote:
> On 25/05/17 18:04, Christopher Schultz wrote:
>> All,
>> 
>> At ApacheCon, a few of us were talking about things that could
>> be removed in upcoming versions of Tomcat. The issue of
>> connectors came up, and I was thinking that there doesn't seem to
>> be a reason to have an AjpApr connector any more.
>> 
>> The APR flavor of the AJP connector was only useful when BIO was
>> the only IO strategy available, but now NIO has been available
>> for some time. APR really only gives a benefit when used with
>> OpenSSL for TLS, and since AJP doesn't use crypto, I think it's
>> no longer necessary.
>> 
>> I think we could even remove it as of Tomcat 9 if we want.
>> 
>> What do others think?
> 
> It is only 8 lines of code. It is probably simpler just to keep it
> than to take the time to document why that particular combination
> is no longer available.
> 
> However, if you expand the proposal to removing the HTTP
> APR/native connector as well then that gets a lot more
> interesting.

That's where I was going. I figured that removing AjpApr would meet
less resistance, so I decided to start there.

> Now we have NIO/NIO2 + OpenSSL there is much less of a requirement
> for APR/native.
> 
> On the plus side, it is probably (mariginally?) faster in some
> scenarios.
> 
> On the down side, it is less stable (we still get the odd crash
> report) and it is ~1200 lines of code.
> 
> Dropping the APR/native connectors also opens up the possibility of
> a significantly trimmed down native library - or possibly even
> going directly to OpenSSL.

Unless OpenSSL starts providing a JNI binding, we'll always have to
have a wrapper for it. Hopefully, the OpenSSL group doesn't start
producing *more* code, as most of their problems seem to stem from
writing WAY too much code.

> It feels a bit late to do this for 9.0.x although we code if we
> wanted to. It is more of an option for 10.0.x.
> 
> My current thinking is that we should drop APR/native for 10.0.x.
> What do others think?

+1 for removal of the APR/native *Connector*

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZLbOXAAoJEBzwKT+lPKRYqU4P/jCkBsi4nAejgaV7Tc+lvBoz
O1u/96dR6fxPOZe/FAv4dnS4rHxueLJfQ7d2334tgo0dK20pA4ZqVHTcjYJNYDwA
yrQkKgMhxc9rPDvy0LMVmEF5jYMgu85ntKv1vEcX3IgOGUterzAxgkUl8ErE3DYT
xYLfZcqI71QdcUc9c/5ke4Z+Ls8R++C28HBnyiQoEOUA+/eBjPfFI+twLbAvv/7F
RTHA5Aer/ocpTGJvqz0iNuiAL8+7spk/Nf3MnfjPlZV4U+pa9R5wXQphp/fITccD
A8qmYDGTkTpptG3s2DmErS8OO9OtHwPbKrKiZtZP646ifxVYYdUkq9diUb2Ww4cC
sPvPTS1dhTQCvftxvPi8ZcjqmQWYUK7d0b/1GZCshrjZPl/EJAO2miTAtvoSH/Gl
m/GNpFOuir5F1K3ShaM3dq+0CkQrcVI3O5ioHDLZXAW1g1fTpw8n/OoGWFq5bTuw
kiVRP7qZHlLrPiNVUf8JTiSsHhcTtkUTM7gqjBwb4q3F87WjczMokbuQewfR0e/2
Zg7McoSXqiW6uN5aOkzpYB/g7WWYjZNrprELwQJjAXkfkmjKdKU0wQvqun+6lYCQ
BkFcBaN0nDMoQkkc24wuvOXRM0ipd5pePRpPwqIFUz6wRbclSka2RnhL9VslxCI0
xNnd72vUg7oUh7G7Halr
=KAyk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to