linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH obexd v2 0/8] Transfer cancelation
@ 2012-02-21 13:57 Mikel Astiz
  2012-02-21 13:57 ` [PATCH obexd v2 1/8] gobex: fix callback remove when canceling transfer Mikel Astiz
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Mikel Astiz @ 2012-02-21 13:57 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mikel Astiz

From: Mikel Astiz <mikel.astiz@bmw-carit.de>

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-02-26 17:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 13:57 [PATCH obexd v2 0/8] Transfer cancelation Mikel Astiz
2012-02-21 13:57 ` [PATCH obexd v2 1/8] gobex: fix callback remove when canceling transfer Mikel Astiz
2012-02-21 13:57 ` [PATCH obexd v2 2/8] client: fix obc_session_get_buffer Mikel Astiz
2012-02-21 13:57 ` [PATCH obexd v2 3/8] client: fix cancel when no agent present Mikel Astiz
2012-02-21 13:57 ` [PATCH obexd v2 4/8] client: process transfer queue only if none active Mikel Astiz
2012-02-21 13:57 ` [PATCH obexd v2 5/8] client: terminate queued transfers properly Mikel Astiz
2012-02-26 17:23   ` Johan Hedberg
2012-02-21 13:57 ` [PATCH obexd v2 6/8] client: expose obc_transfer_set_callback Mikel Astiz
2012-02-21 13:57 ` [PATCH obexd v2 7/8] client: fix canceling queued transfers Mikel Astiz
2012-02-22 11:41   ` Jaganath
2012-02-22 11:59     ` Jaganath
2012-02-22 12:15       ` Luiz Augusto von Dentz
2012-02-22 12:24         ` Jaganath
2012-02-22 12:39           ` Luiz Augusto von Dentz
2012-02-26 17:26   ` Johan Hedberg
2012-02-21 13:57 ` [PATCH obexd v2 8/8] client: make sure callback does not match size Mikel Astiz
2012-02-24  9:33 ` [PATCH obexd v2 0/8] Transfer cancelation Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).