-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
In packages/ssl, let alloc.pl consist of:
:- use_module(library(ssl)).
alloc :-
ssl_context(server, _SSL,
[ certificate_file('etc/server/server-cert.pem'),
key_file('etc/server/server-key.pem'),
password(apenoot1)
]),
alloc.
Please run the test case:
$ swipl -g alloc alloc.pl
This allocates more and more SSL contexts that are not garbage collected. If possible, please make them collectible and free them when they are no longer needed. Thank you!
Metadata
Metadata
Assignees
Labels
No labels