You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2016/02/22 00:14:26 UTC
trafficserver git commit: TS-4201: call cont->handleEvent with
OneWayTunnel object This closes #476.
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 <xu...@gmail.com>
Authored: Sun Feb 14 20:31:20 2016 +0800
Committer: Alan M. Carroll <am...@apache.org>
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);
}