partial fix for #1698

This commit is contained in:
StalderT
2018-03-30 01:08:17 +02:00
committed by Stefan Profanter
parent fb64f4a9bb
commit 0803bebc46
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -85,9 +85,11 @@ typedef struct UA_ClientConfig {
void *clientContext;
#ifdef UA_ENABLE_SUBSCRIPTIONS
/* number of PublishResponse standing in the sever */
/* 0 = background task disabled */
UA_UInt16 outStandingPublishRequests;
#endif
} UA_ClientConfig;
+4
View File
@@ -643,11 +643,15 @@ const UA_ClientConfig UA_ClientConfig_default = {
NULL, /*.customDataTypes */
NULL, /*.stateCallback */
#ifdef UA_ENABLE_SUBSCRIPTIONS
NULL, /*.subscriptionInactivityCallback */
#endif
NULL, /*.clientContext */
#ifdef UA_ENABLE_SUBSCRIPTIONS
10 /* .outStandingPublishRequests */
#endif
};
UA_ClientConfig UA_Server_getClientConfig(void)