diff options
author | Dan Gudmundsson <[email protected]> | 2010-02-09 15:39:59 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-12 10:03:28 +0100 |
commit | 590a06126b813a306455d340f73c88ebfafce29a (patch) | |
tree | e8cadd36221a5b585edf3a0a96d4b6adb80d0437 /lib/ssl/src/ssl.erl | |
parent | f435df0e065c06e2ae11308c0ec5a19a9ce887fa (diff) | |
download | otp-590a06126b813a306455d340f73c88ebfafce29a.tar.gz otp-590a06126b813a306455d340f73c88ebfafce29a.tar.bz2 otp-590a06126b813a306455d340f73c88ebfafce29a.zip |
Allow <c>ssl:listen/2</c> to be called with option {ssl_imp, old}.
Diffstat (limited to 'lib/ssl/src/ssl.erl')
-rw-r--r-- | lib/ssl/src/ssl.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl index 1222fe97fd..306e3f5419 100644 --- a/lib/ssl/src/ssl.erl +++ b/lib/ssl/src/ssl.erl @@ -129,7 +129,8 @@ listen(Port, Options0) -> %% so that new and old ssl can be run by the same %% code, however the option will be ignored by old ssl %% that hardcodes reuseaddr to true in its portprogram. - Options = proplists:delete(reuseaddr, Options0), + Options1 = proplists:delete(reuseaddr, Options0), + Options = proplists:delete(ssl_imp, Options1), old_listen(Port, Options); Value -> {error, {eoptions, {ssl_imp, Value}}} |