Thread (17 messages) 17 messages, 4 authors, 2012-02-26
STALE5328d

Revision v2 of 3 in this series.

Revisions (3)
  1. v1 [diff vs current]
  2. v2 current
  3. v3 [diff vs current]

[PATCH obexd v2 0/8] Transfer cancelation

From: Mikel Astiz <hidden>
Date: 2012-02-21 13:57:04

From: Mikel Astiz <redacted>

This patch series proposes several fixes regarding the cancelation of transfers.

The goal is that the Cancel method defined in the transfer's D-Bus API should work for any registered transfer, be it in progress or queued. Currently none of them seem to work properly.

This second version is mostly a refacting of the previous proposal, according to the review from Luiz. The exceptions are patch 4/9 which has now been dropped, and patch 7/9, which now prevents from setting the callback twice.

Mikel Astiz (8):
  gobex: fix callback remove when canceling transfer
  client: fix obc_session_get_buffer
  client: fix cancel when no agent present
  client: process transfer queue only if none active
  client: terminate queued transfers properly
  client: expose obc_transfer_set_callback
  client: fix canceling queued transfers
  client: make sure callback does not match size

 client/session.c  |   45 ++++++++++++++++++++++++++++++++++++++-------
 client/transfer.c |   37 ++++++++++++++++++-------------------
 client/transfer.h |   10 ++++++----
 gobex/gobex.c     |    3 +++
 4 files changed, 65 insertions(+), 30 deletions(-)

-- 
1.7.6.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help