Skip to content
File

Blob: src/node/internal/internal_tls_constants.ts

typescript16 lines
1// Copyright (c) 2026 Cloudflare, Inc.
2// Licensed under the Apache 2.0 license found in the LICENSE file or at:
3// https://opensource.org/licenses/Apache-2.0
4 
5// Allow {CLIENT_RENEG_LIMIT} client-initiated session renegotiations
6// every {CLIENT_RENEG_WINDOW} seconds. An error event is emitted if more
7// renegotiations are seen. The settings are applied to all remote client
8// connections.
9export const CLIENT_RENEG_LIMIT = 3;
10export const CLIENT_RENEG_WINDOW = 600;
11export const DEFAULT_CIPHERS = '';
12export const DEFAULT_ECDH_CURVE = 'auto';
13export const DEFAULT_MIN_VERSION = 'TLSv1.2';
14export const DEFAULT_MAX_VERSION = 'TLSv1.3';
15export const rootCertificates = [];