Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coap_block.c: Fix returning 2.03 for ETag match #1545

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

mrdeep1
Copy link
Collaborator

@mrdeep1 mrdeep1 commented Nov 23, 2024

Tag server returned data with a digest computed ETag option value so requests with an ETag option can return 2.03 if there is a match.

The size of bytes hash that is computed for the ETag can be overwritten by localy defining COAP_ETAG_MAX_BYTES to be a value between 1 and 8 bytes inclusive. It is set to 4 by default.

Tag server returned data with a digest computed ETag option value so
requests with an ETag option can return 2.03 if there is a match.

The size of bytes hash that is computed for the ETag can be overwritten by
localy defining COAP_ETAG_MAX_BYTES to be a value between 1 and 8 bytes
inclusive.  It is set to 4 by default.
@mrdeep1 mrdeep1 merged commit 5f4c2ab into obgm:develop Dec 2, 2024
31 checks passed
@mrdeep1 mrdeep1 deleted the etag_fix branch December 2, 2024 10:18
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