telepathy-mission-control: McdConnection: refuse to deal with pre-Requests connections

Simon McVittie smcv at kemper.freedesktop.org
Fri Sep 27 07:01:57 PDT 2013


Module: telepathy-mission-control
Branch: master
Commit: f301252aca8d0635929b60af5b259b3ac1c8fde5
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=f301252aca8d0635929b60af5b259b3ac1c8fde5

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Sep 25 19:38:05 2013 +0100

McdConnection: refuse to deal with pre-Requests connections

If it implements Requests, all is good; if it doesn't, just
disconnect it before it can cause trouble (e.g. new channels
turning up and not being dispatched correctly).

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69856
Reviewed-by: Xavier Claessens <xavier.claessens at collabora.co.uk>

---

 src/mcd-connection.c                               |  143 +++++--------------
 tests/twisted/account-manager/device-idle.py       |    2 +-
 tests/twisted/constants.py                         |    1 +
 tests/twisted/dispatcher/already-has-obsolete.py   |  107 +-------------
 tests/twisted/dispatcher/connect-for-request.py    |    2 +-
 .../dispatcher/dispatch-before-connected.py        |    2 +-
 tests/twisted/dispatcher/dispatch-obsolete.py      |  152 +-------------------
 tests/twisted/mctest.py                            |    9 --
 8 files changed, 55 insertions(+), 363 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-mission-control/diff/?id=f301252aca8d0635929b60af5b259b3ac1c8fde5


More information about the telepathy-commits mailing list