diff options
author | Henrik Nord <[email protected]> | 2014-02-24 16:14:16 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2014-02-24 16:14:44 +0100 |
commit | 109a06739bdbb5ca1e21cea2d4cf288fc0848d57 (patch) | |
tree | 25abfecf02dfb64fa2e5c0d8d47fce5c739e95cf /lib/ssl/src/ssl_manager.erl | |
parent | ca693a05bda78d701ff8b47d851505098c79c077 (diff) | |
parent | f2169928a77d5a6b2e3e069b8cf9b8f5300ed543 (diff) | |
download | otp-109a06739bdbb5ca1e21cea2d4cf288fc0848d57.tar.gz otp-109a06739bdbb5ca1e21cea2d4cf288fc0848d57.tar.bz2 otp-109a06739bdbb5ca1e21cea2d4cf288fc0848d57.zip |
Merge branch 'fenollp/otp-edoc-usage-fixes'
* fenollp/otp-edoc-usage-fixes:
Fix edoc usage errors
OTP-11702
Diffstat (limited to 'lib/ssl/src/ssl_manager.erl')
-rw-r--r-- | lib/ssl/src/ssl_manager.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssl/src/ssl_manager.erl b/lib/ssl/src/ssl_manager.erl index 4d5eaeb607..fbc73e0e42 100644 --- a/lib/ssl/src/ssl_manager.erl +++ b/lib/ssl/src/ssl_manager.erl @@ -167,27 +167,27 @@ clean_cert_db(Ref, File) -> ok. %%-------------------------------------------------------------------- --spec register_session(inet:port_number(), #session{}) -> ok. --spec register_session(host(), inet:port_number(), #session{}) -> ok. %% %% Description: Make the session available for reuse. %%-------------------------------------------------------------------- +-spec register_session(host(), inet:port_number(), #session{}) -> ok. register_session(Host, Port, Session) -> cast({register_session, Host, Port, Session}). +-spec register_session(inet:port_number(), #session{}) -> ok. register_session(Port, Session) -> cast({register_session, Port, Session}). %%-------------------------------------------------------------------- --spec invalidate_session(inet:port_number(), #session{}) -> ok. --spec invalidate_session(host(), inet:port_number(), #session{}) -> ok. %% %% Description: Make the session unavailable for reuse. After %% a the session has been marked "is_resumable = false" for some while %% it will be safe to remove the data from the session database. %%-------------------------------------------------------------------- +-spec invalidate_session(host(), inet:port_number(), #session{}) -> ok. invalidate_session(Host, Port, Session) -> cast({invalidate_session, Host, Port, Session}). +-spec invalidate_session(inet:port_number(), #session{}) -> ok. invalidate_session(Port, Session) -> cast({invalidate_session, Port, Session}). |