summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppmodelmanager_test.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2014-11-27 09:17:21 +0100
committerhjk <hjk121@nokiamail.com>2014-11-27 13:50:17 +0100
commit888191056592ee0832e1c3155dd822beaa4db552 (patch)
tree4eaa9748d7c2bc68cc469033050094dfcda2a208 /src/plugins/cpptools/cppmodelmanager_test.cpp
parent0ef06c75233c73589e045760415e9de19c53c349 (diff)
downloadqt-creator-888191056592ee0832e1c3155dd822beaa4db552.tar.gz
SSH: Delay channel close request to server in SessionRequested state.
If closeChannel() is called in between our channel open request to the server and the corresponding reply, we cannot forward the close request to the server, as we don't have its channel id yet. So wait until we do. Our failure to correctly handle this sequence of events was the root cause for the following user-visible errors: - A (since-removed) Q_ASSERT in ~SshRemoteProcess() was hit. - The server closed the connection because we referred to an invalid channel ("Received ieof for nonexistent channel -1"). Commits 26920307f0 and 3027bcc952 are also related to this issue. Change-Id: I4994d85f5b21a72682f75389cdf8769738bd6768 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager_test.cpp')
0 files changed, 0 insertions, 0 deletions