Repository: trafficserver Updated Branches: refs/heads/master 39b2eb4b9 -> c106b8554
TS-4201: call cont->handleEvent with OneWayTunnel object This closes #476. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c106b855 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c106b855 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c106b855 Branch: refs/heads/master Commit: c106b8554f741a25af8ad44e633a93b06cf1280d Parents: 39b2eb4 Author: Oknet <[email protected]> Authored: Sun Feb 14 20:31:20 2016 +0800 Committer: Alan M. Carroll <[email protected]> Committed: Sun Feb 21 17:13:59 2016 -0600 ---------------------------------------------------------------------- iocore/utils/OneWayTunnel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c106b855/iocore/utils/OneWayTunnel.cc ---------------------------------------------------------------------- diff --git a/iocore/utils/OneWayTunnel.cc b/iocore/utils/OneWayTunnel.cc index 62d082b..cf2704f 100644 --- a/iocore/utils/OneWayTunnel.cc +++ b/iocore/utils/OneWayTunnel.cc @@ -350,7 +350,7 @@ OneWayTunnel::connection_closed(int result) #ifdef TEST cout << "OneWayTunnel::connection_closed() ... calling cont" << endl; #endif - cont->handleEvent(result ? VC_EVENT_ERROR : VC_EVENT_EOS, cont); + cont->handleEvent(result ? VC_EVENT_ERROR : VC_EVENT_EOS, this); } else { OneWayTunnel_free(this); }
