Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
af9546db
Commit
af9546db
authored
May 23, 2022
by
Andrey Skryabin
Committed by
Olivier Crête
May 26, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Conncheck: always updating remote_consent.last_received for selected pair on keepalive
parent
be870e75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
agent/conncheck.c
agent/conncheck.c
+5
-4
No files found.
agent/conncheck.c
View file @
af9546db
...
@@ -4329,12 +4329,13 @@ static gboolean priv_map_reply_to_relay_remove (NiceAgent *agent,
...
@@ -4329,12 +4329,13 @@ static gboolean priv_map_reply_to_relay_remove (NiceAgent *agent,
static
gboolean
priv_map_reply_to_keepalive_conncheck
(
NiceAgent
*
agent
,
static
gboolean
priv_map_reply_to_keepalive_conncheck
(
NiceAgent
*
agent
,
NiceComponent
*
component
,
StunMessage
*
resp
)
NiceComponent
*
component
,
StunMessage
*
resp
)
{
{
guint64
now
=
g_get_monotonic_time
();
nice_debug
(
"Agent %p : Keepalive for selected pair %p received."
,
nice_debug
(
"Agent %p : Keepalive for selected pair %p received."
,
agent
,
&
component
->
selected_pair
);
agent
,
&
component
->
selected_pair
);
if
(
agent
->
consent_freshness
)
{
guint64
now
=
g_get_monotonic_time
();
/* timeout is checked even if consent_freshness is disabled */
component
->
selected_pair
.
remote_consent
.
last_received
=
now
;
component
->
selected_pair
.
remote_consent
.
last_received
=
now
;
}
return
TRUE
;
return
TRUE
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment