Repository: trafficserver Updated Branches: refs/heads/6.0.x 7a336b8bf -> 53f150c33
TS-3810 traffic_manager leaks that thread stack, make sure to detach the threads Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/53f150c3 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/53f150c3 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/53f150c3 Branch: refs/heads/6.0.x Commit: 53f150c334c0c6b97edab4ef6e0e0c3c6b70fc09 Parents: 7a336b8 Author: Leif Hedstrom <[email protected]> Authored: Fri Jul 31 14:35:35 2015 -0600 Committer: Leif Hedstrom <[email protected]> Committed: Fri Jul 31 14:36:10 2015 -0600 ---------------------------------------------------------------------- cmd/traffic_manager/MgmtHandlers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/53f150c3/cmd/traffic_manager/MgmtHandlers.cc ---------------------------------------------------------------------- diff --git a/cmd/traffic_manager/MgmtHandlers.cc b/cmd/traffic_manager/MgmtHandlers.cc index a7f44ce..5e974ef 100644 --- a/cmd/traffic_manager/MgmtHandlers.cc +++ b/cmd/traffic_manager/MgmtHandlers.cc @@ -254,7 +254,7 @@ mgmt_synthetic_main(void *) mgmt_log(stderr, "[SyntheticHealthServer] Connect by disallowed client %s, closing\n", inet_ntoa(clientInfo.sin_addr)); close_socket(clientFD); } else { - ink_thread thrId = ink_thread_create(synthetic_thread, (void *)&clientFD); + ink_thread thrId = ink_thread_create(synthetic_thread, (void *)&clientFD, 1); if (thrId <= 0) { mgmt_log(stderr, "[SyntheticHealthServer] Failed to create worker thread");
