All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Kampas <martin.kampas@tieto.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH] obex-client-tool: Set the length header
Date: Wed, 23 Apr 2014 09:54:37 +0200	[thread overview]
Message-ID: <7726122.LGD9fIbFvh@5th> (raw)
In-Reply-To: <CABBYNZL763g4AptiqcS-M4LvwD1BwMQnZg=HLHiJGYCG9qznFg@mail.gmail.com>

Hi Luiz,

On Wednesday, April 23, 2014 10:24:17 AM Luiz Augusto von Dentz wrote:
> The patch itself is fine but there got to be something wrong with
> obexd if it cannot accept a PUT without length, maybe it is the agent
> that is rejecting it?

If I am not wrong it is rejected inside the opp plugin in opp_chkput() [1] (where OBJECT_SIZE_DELETE should be the initial value of obex_session::size), called from check_put() [2]

I also tried with an Android 4.1 device and got the same result.

BR,
Martin

[1] http://git.kernel.org/cgit/bluetooth/obexd.git/tree/plugins/opp.c?id=0.48#n122
[2] http://git.kernel.org/cgit/bluetooth/obexd.git/tree/src/obex.c?id=0.48#n918

  reply	other threads:[~2014-04-23  7:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22  5:08 [PATCH] obex-client-tool: Set the length header Martin Kampas
2014-04-23  7:24 ` Luiz Augusto von Dentz
2014-04-23  7:54   ` Martin Kampas [this message]
2014-04-23  8:20     ` Luiz Augusto von Dentz
2014-04-23  8:28       ` Luiz Augusto von Dentz
2014-04-23 10:20         ` Martin Kampas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7726122.LGD9fIbFvh@5th \
    --to=martin.kampas@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.