bluez/gobex
Amisha Jain d35bae1515 obex: Resolve SRM issue for PTS testcases
Add check for unknown/undefined srm value.

This fix is required to pass the below the PTS testcases :
1. OPP/SR/GOEP/SRM/BI-02-C
2. FTP/SR/GOEP/SRM/BI-02-C
3. PBAP/PSE/GOEP/SRM/BI-05-C

Description - Verify that the Server ignores a SRM header with an
invalid value in the PUT/GET request and carries on with the
PUT/GET operation with SRM disabled.

Current Behaviour - Server is sending SRM enable in the response even
though receiving the unknown SRM value.

To fix this, I have added the check to verify the valid SRM values
before continuing with SRM enable.
2024-10-24 10:19:25 -04:00
..
gobex-apparam.c gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-apparam.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-debug.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-defs.c gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-defs.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-header.c gobex: Replace g_convert by utf16_to_utf8 2024-09-10 15:22:51 -04:00
gobex-header.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-packet.c build: Replace use of g_memdup with util_memdup 2022-01-06 12:58:39 -08:00
gobex-packet.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-transfer.c gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex.c obex: Resolve SRM issue for PTS testcases 2024-10-24 10:19:25 -04:00
gobex.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00