mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 06:41:50 +00:00
fix: check min/max version for ssl context re-use
This commit is contained in:
@@ -726,7 +726,7 @@ pub const ServerConfig = struct {
|
||||
|
||||
{
|
||||
//numbers
|
||||
const fields = .{ "secure_options", "request_cert", "reject_unauthorized", "low_memory_mode" };
|
||||
const fields = .{ "secure_options", "request_cert", "reject_unauthorized", "low_memory_mode", "min_version", "max_version" };
|
||||
|
||||
inline for (fields) |field| {
|
||||
const lhs = @field(thisConfig, field);
|
||||
|
||||
Reference in New Issue
Block a user