projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce LTTNG_RELAYD_WORKING_DIRECTORY environment variable
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
connection.c
diff --git
a/src/bin/lttng-relayd/connection.c
b/src/bin/lttng-relayd/connection.c
index eeaa0a559c74d3f7aa1ee6d5ffdfa146498ec195..cf93fb6e7ba93df52b548ace622c2387eea43c97 100644
(file)
--- a/
src/bin/lttng-relayd/connection.c
+++ b/
src/bin/lttng-relayd/connection.c
@@
-127,6
+127,10
@@
static void rcu_free_connection(struct rcu_head *head)
viewer_session_destroy(conn->viewer_session);
conn->viewer_session = NULL;
}
+ if (conn->type == RELAY_CONTROL) {
+ lttng_dynamic_buffer_reset(
+ &conn->protocol.ctrl.reception_buffer);
+ }
free(conn);
}
This page took
0.022938 seconds
and
4
git commands to generate.