-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject requests over TLS if it has been disabled
If we were running TLS on a site and then disable it, any active connections that were made over TLS will still be valid until closed. This could be confusing if you disable TLS then refresh your browser and find that it's still working. Instead, we can reject the request with an error so that the change applies to active connections as well.
- Loading branch information
1 parent
eaf506e
commit 8065f92
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters