We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d915b7 commit 0d85959Copy full SHA for 0d85959
src/agent.c
@@ -1140,9 +1140,13 @@ int agent_bookkeeping(juice_agent_t *agent, timestamp_t *next_timestamp) {
1140
if (entry->next_transmission && *next_timestamp > entry->next_transmission)
1141
*next_timestamp = entry->next_transmission;
1142
1143
+#if JUICE_DISABLE_CONSENT_FRESHNESS
1144
+ // No expiration
1145
+#else
1146
if (entry->state == AGENT_STUN_ENTRY_STATE_SUCCEEDED_KEEPALIVE && entry->pair &&
1147
*next_timestamp > entry->pair->consent_expiry)
1148
*next_timestamp = selected_pair->consent_expiry;
1149
+#endif
1150
}
1151
1152
return 0;
0 commit comments