(options)
| 117 | const kTLSSessionStatePrefix = Buffer.from('\0nodejs:tls:session:1\0'); |
| 118 | |
| 119 | function getSessionServerIdentity(options) { |
| 120 | return options?.servername || |
| 121 | options?.host || |
| 122 | options?.socket?._host || |
| 123 | 'localhost'; |
| 124 | } |
| 125 | |
| 126 | function wrapSessionState(session, options) { |
| 127 | if (!Buffer.isBuffer(session) || options?.isServer) |
no outgoing calls
no test coverage detected
searching dependent graphs…