Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
Bugzilla Migration
-
None
-
Operating System: All
Platform: All
Description
In order to cleanly integrate the MD5 option, the upstream users (BGP and PCEP) need to detect whether the feature is supported at runtime – e.g. whether we are running on a system which supports the underlying interfaces. Some of this information is already available, but it needs to be exposed from MD5NioServerSocketChannel and MD5NioSocketChannel as static methods.
It is okay to check only once when the class is loaded – we will not deal with things like kernel module getting unloaded.