You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2015/11/05 00:08:36 UTC
svn commit: r1712683 - in /tomcat/trunk/java/org/apache/tomcat/jni:
SSLExt.java socket/AprSocket.java socket/AprSocketContext.java
socket/HostInfo.java
Author: kkolinko
Date: Wed Nov 4 23:08:35 2015
New Revision: 1712683
URL: http://svn.apache.org/viewvc?rev=1712683&view=rev
Log:
Remove SSLExt and related classes.
SSLExt has a lot of native methods that are said to be implemented in Tomcat Native trunk,
but actually there in no implementation code for them in current native trunk.
It looks that some methods have already been moved elsewhere, e.g. into SSLContext class.
AprSocket, AprSocketContext rely on SSLExt.
I tried to selectively remove code, but calls like
SSLExt.sslSetMode(socket, SSLExt.SSL_MODE_ENABLE_PARTIAL_WRITE |
SSLExt.SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);
cannot be replaced.
HostInfo is a simple serializable class that hold information on a host. Also related to unimplemented NPN support.
Removed:
tomcat/trunk/java/org/apache/tomcat/jni/SSLExt.java
tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java
tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocketContext.java
tomcat/trunk/java/org/apache/tomcat/jni/socket/HostInfo.java
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: svn commit: r1712683 - in /tomcat/trunk/java/org/apache/tomcat/jni:
SSLExt.java socket/AprSocket.java socket/AprSocketContext.java socket/HostInfo.java
Posted by Konstantin Kolinko <kn...@gmail.com>.
2015-11-05 2:35 GMT+03:00 Konstantin Kolinko <kn...@gmail.com>:
> 2015-11-05 2:16 GMT+03:00 Rémy Maucherat <re...@apache.org>:
>> 2015-11-05 0:08 GMT+01:00 <kk...@apache.org>:
>>
>>> Author: kkolinko
>>> Date: Wed Nov 4 23:08:35 2015
>>> New Revision: 1712683
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1712683&view=rev
>>> Log:
>>> Remove SSLExt and related classes.
>>>
>>> SSLExt has a lot of native methods that are said to be implemented in
>>> Tomcat Native trunk,
>>> but actually there in no implementation code for them in current native
>>> trunk.
>>>
>>
>> This stuff in the "socket" folder is rather fun, it's an async IO
>> implementation on top of APR. This is likely better than the direct APR use
>> in the APR connector, but of course nobody is going to rewrite it at this
>> point (I think). Obviously, I never tried this, so no idea if it *really*
>> works, apparently some stuff is missing then.
>>
>
> Those SSLExt.sslSetMode() calls look as crucial to their
> implementation (are executed when a socket is opened), so I removed
> the classes as they cannot be compiled without SSLExt class being
> present.
>
> Searching my archives, they were originally added in
> http://svn.apache.org/r1686276
Correction: these classes are older than r1686276 (June 2015)
They were removed in r1672142. (April 2015)
They were originally added by costin in r1299980 (March 2012)
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: svn commit: r1712683 - in /tomcat/trunk/java/org/apache/tomcat/jni:
SSLExt.java socket/AprSocket.java socket/AprSocketContext.java socket/HostInfo.java
Posted by Konstantin Kolinko <kn...@gmail.com>.
2015-11-05 2:16 GMT+03:00 Rémy Maucherat <re...@apache.org>:
> 2015-11-05 0:08 GMT+01:00 <kk...@apache.org>:
>
>> Author: kkolinko
>> Date: Wed Nov 4 23:08:35 2015
>> New Revision: 1712683
>>
>> URL: http://svn.apache.org/viewvc?rev=1712683&view=rev
>> Log:
>> Remove SSLExt and related classes.
>>
>> SSLExt has a lot of native methods that are said to be implemented in
>> Tomcat Native trunk,
>> but actually there in no implementation code for them in current native
>> trunk.
>>
>
> This stuff in the "socket" folder is rather fun, it's an async IO
> implementation on top of APR. This is likely better than the direct APR use
> in the APR connector, but of course nobody is going to rewrite it at this
> point (I think). Obviously, I never tried this, so no idea if it *really*
> works, apparently some stuff is missing then.
>
Those SSLExt.sslSetMode() calls look as crucial to their
implementation (are executed when a socket is opened), so I removed
the classes as they cannot be compiled without SSLExt class being
present.
Searching my archives, they were originally added in
http://svn.apache.org/r1686276
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: svn commit: r1712683 - in /tomcat/trunk/java/org/apache/tomcat/jni:
SSLExt.java socket/AprSocket.java socket/AprSocketContext.java socket/HostInfo.java
Posted by Rémy Maucherat <re...@apache.org>.
2015-11-05 0:08 GMT+01:00 <kk...@apache.org>:
> Author: kkolinko
> Date: Wed Nov 4 23:08:35 2015
> New Revision: 1712683
>
> URL: http://svn.apache.org/viewvc?rev=1712683&view=rev
> Log:
> Remove SSLExt and related classes.
>
> SSLExt has a lot of native methods that are said to be implemented in
> Tomcat Native trunk,
> but actually there in no implementation code for them in current native
> trunk.
>
> This stuff in the "socket" folder is rather fun, it's an async IO
implementation on top of APR. This is likely better than the direct APR use
in the APR connector, but of course nobody is going to rewrite it at this
point (I think). Obviously, I never tried this, so no idea if it *really*
works, apparently some stuff is missing then.
Rémy