Commit 72e0b45f authored by simon's avatar simon

test: disable resume

parent c7951f8e
...@@ -5,6 +5,7 @@ import * as crypto from 'crypto'; ...@@ -5,6 +5,7 @@ import * as crypto from 'crypto';
import * as DuplexPair from 'native-duplexpair'; import * as DuplexPair from 'native-duplexpair';
import debug from 'debug'; import debug from 'debug';
import * as NodeCache from 'node-cache'; import * as NodeCache from 'node-cache';
import * as constants from 'constants';
import * as config from '../../config'; import * as config from '../../config';
const log = debug('radius:tls'); const log = debug('radius:tls');
...@@ -12,6 +13,7 @@ const log = debug('radius:tls'); ...@@ -12,6 +13,7 @@ const log = debug('radius:tls');
// https://nodejs.org/api/tls.html // https://nodejs.org/api/tls.html
const tlsOptions: tls.SecureContextOptions = { const tlsOptions: tls.SecureContextOptions = {
...config.certificate, ...config.certificate,
secureOptions: constants.SSL_OP_NO_TICKET,
}; };
log('tlsOptions', tlsOptions); log('tlsOptions', tlsOptions);
const secureContext = createSecureContext(tlsOptions); const secureContext = createSecureContext(tlsOptions);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment