Serialize created listeners to disk
The created listeners are now stored to disk like created servers are. This allows them to be used even after a restart. Currently, the listeners cannot be deleted and need to be manually removed.
This commit is contained in:
@ -3121,8 +3121,8 @@ int create_new_listener(CONFIG_CONTEXT *obj)
|
||||
}
|
||||
else
|
||||
{
|
||||
serviceAddProtocol(service, obj->object, protocol, socket, 0,
|
||||
authenticator, authenticator_options, ssl_info);
|
||||
serviceCreateListener(service, obj->object, protocol, socket, 0,
|
||||
authenticator, authenticator_options, ssl_info);
|
||||
}
|
||||
}
|
||||
|
||||
@ -3138,8 +3138,8 @@ int create_new_listener(CONFIG_CONTEXT *obj)
|
||||
}
|
||||
else
|
||||
{
|
||||
serviceAddProtocol(service, obj->object, protocol, address, atoi(port),
|
||||
authenticator, authenticator_options, ssl_info);
|
||||
serviceCreateListener(service, obj->object, protocol, address, atoi(port),
|
||||
authenticator, authenticator_options, ssl_info);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user