TLSSocket.disableRenegotiation method | Bun module | Bun
BuildDocsReferenceGuidesBlogDiscord/
Bun/
TLSSocket/
disableRenegotiationMdisableRenegotiation
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
Bun/
TLSSocket/
disableRenegotiationMdisableRenegotiation
method
TLSSocket.disableRenegotiationdisableRenegotiation(): void;
Disables TLS renegotiation for this Socket instance. Once called, attempts to renegotiate will trigger an error handler on the Socket.
There is no support for renegotiation as a server. (Attempts by clients will result in a fatal alert so that ClientHello messages cannot be used to flood a server and escape higher-level limits.)
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →