OSDN Git Service

gobex: fix automatically including SRM header in CONNECT responses
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sun, 22 Jan 2012 21:07:33 +0000 (23:07 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 4 Dec 2012 21:22:05 +0000 (22:22 +0100)
commita4f6139e728b0201de5d552c80f8d90256806a62
treea4b2e48e76dfa48766f1ad3d4de54f34cd3912eb
parentf55ddf7376b24c37d7004b047968d521be4b9e0f
gobex: fix automatically including SRM header in CONNECT responses

GOEP 2.0 test specification forbids the server to include SRM headers in
CONNECT response:

  "3.16 TP/SRM/BI-03-C Process an OBEX CONNECT request (incorrectly)
  containing a SRM header:

  • Expected Outcome
  Pass Verdict:
  – On receiving the invalid SRM header in the OBEX_CONNECT request, the
  IUT responds with a SUCCESS without a SRM header.
  – OBEX/L2CAP channel is established.
  Fail Verdict:
  – On receiving the invalid SRM header in the OBEX_CONNECT request, the
  IUT does not respond with a SUCCESS and/or includes a SRM header in the
  response.
  – OBEX/L2CAP channel is not established or OBEX/RFCOMM channel is
  established."
gobex/gobex.c