forked from microsoft/cpprestsdk
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use after free in HTTPS listener on non-windows.
The boost examples for ssl::stream all use stack allocated contexts and streams; considering that the ssl::context is noncopyable, it seems that its lifetime must exceed any streams.
- Loading branch information
1 parent
5f75ec9
commit ef8e748
Showing
1 changed file
with
6 additions
and
3 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