This will be used to fix rabbitmq/osiris#78 If a RabbitMQ `advanced.config` file contains the following: ``` {customize_hostname_check, [ {match_fun, public_key:pkix_verify_hostname_match_fun(https)} ]} ``` ...`file:consult/1` will fail because it does not evaluate terms in the file. The code in `rabbit_consult` was copied from this OTP module: https://github.com/erlang/otp/blob/master/lib/ssl/src/ssl_dist_sup.erl ...and then modified for our use. Add Bazel suite Use the same license as Erlang/OTP, add link to source cc @dumbbell Add test and ensure value returned matches file:consult/1 Add test data file Ensure that Funs are converted to binaries before jsx:encode is called Add a check that customize_hostname_check can be JSON encoded Ensure that customize_hostname_check and match_fun are filtered out from listener data |
||
|---|---|---|
| .. | ||
| rabbit_prelaunch_file_SUITE_data | ||
| rabbit_logger_std_h_SUITE.erl | ||
| rabbit_prelaunch_file_SUITE.erl | ||