mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-22 16:02:29 +02:00
fixed GH# 251: HTTPStreamFactory::unregisterFactory missing implementation?
This commit is contained in:
@@ -181,8 +181,13 @@ std::istream* HTTPSStreamFactory::open(const URI& uri)
|
||||
|
||||
void HTTPSStreamFactory::registerFactory()
|
||||
{
|
||||
std::string https("https");
|
||||
URIStreamOpener::defaultOpener().registerStreamFactory(https, new HTTPSStreamFactory);
|
||||
URIStreamOpener::defaultOpener().registerStreamFactory("https", new HTTPSStreamFactory);
|
||||
}
|
||||
|
||||
|
||||
void HTTPSStreamFactory::unregisterFactory()
|
||||
{
|
||||
URIStreamOpener::defaultOpener().unregisterStreamFactory("https");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user