Remove support for TLS session caches in TLSServerSocket.

This resolves #738
This commit is contained in:
wolfbeast 2018-09-01 23:45:10 +02:00 committed by Roy Tam
commit e2e197cada
10 changed files with 15 additions and 43 deletions

View file

@ -480,7 +480,6 @@ SocketListener.prototype = {
_setAdditionalSocketOptions: Task.async(function* () {
if (this.encryption) {
this._socket.serverCert = yield cert.local.getOrCreate();
this._socket.setSessionCache(false);
this._socket.setSessionTickets(false);
let requestCert = Ci.nsITLSServerSocket.REQUEST_NEVER;
this._socket.setRequestClientCertificate(requestCert);