Skip to content

Fixed: return 4.00 Bad Request in case of a malformed /.well-known/core (Update net.c)#25

Merged
obgm merged 1 commit intodevelopfrom
unknown repository
Jan 28, 2016
Merged

Fixed: return 4.00 Bad Request in case of a malformed /.well-known/core (Update net.c)#25
obgm merged 1 commit intodevelopfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jan 28, 2016

In case of a malformed /.well-known/core discovery method for a unicast request, libcoap should return a "4.00 Bad Request", not "WARN discard malformed PDU"[1]

[1] https://tools.ietf.org/html/draft-ietf-core-resource-directory-05#section-5.1

obgm added a commit that referenced this pull request Jan 28, 2016
Fixed: return 4.00 Bad Request in case of a malformed /.well-known/core (Update net.c)
@obgm obgm merged commit 20a8c55 into obgm:develop Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant