When setting the configuration of FCM, I get the warning from Vapor: Cannot modify client configuration after client has been used..
This happens because FCM is trying to set application.http.client.configuration.ignoreUncleanSSLShutdown to true after using the application.client property in the following code:
public init(application: Application) {
self.init(application: application, client: application.client)
}
I'm wondering, does this configuration really need to be set to true in the first place (as there is no documentation on why this is done)? If it is needed, this code probably needs to be moved to the public init with the application, to avoid the warning and actually setting the value to true.
When setting the configuration of FCM, I get the warning from Vapor:
Cannot modify client configuration after client has been used..This happens because FCM is trying to set
application.http.client.configuration.ignoreUncleanSSLShutdowntotrueafter using theapplication.clientproperty in the following code:I'm wondering, does this configuration really need to be set to
truein the first place (as there is no documentation on why this is done)? If it is needed, this code probably needs to be moved to the public init with the application, to avoid the warning and actually setting the value totrue.