Skip to content

Commit

Permalink
tm: Reset socket variable while forking
Browse files Browse the repository at this point in the history
- Reset sock_str variable so values from previous forks are not stored in contact_flows AVP
(cherry picked from commit 53263a2)
  • Loading branch information
Hugh Waite committed Jan 7, 2016
1 parent a453784 commit e393ad5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/tm/t_serial.c
Expand Up @@ -626,6 +626,8 @@ int t_next_contacts(struct sip_msg* msg, char* key, char* value)
}
} else {
sock = NULL;
sock_str.s = 0;
sock_str.len = 0;
}

vavp = xavp_get(&flags_name, xavp->val.v.xavp);
Expand Down

0 comments on commit e393ad5

Please sign in to comment.