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

RFC 9175: Add in support #786

Merged
merged 1 commit into from
Jun 22, 2022
Merged

RFC 9175: Add in support #786

merged 1 commit into from
Jun 22, 2022

Conversation

mrdeep1
Copy link
Collaborator

@mrdeep1 mrdeep1 commented Dec 9, 2021

Add in support for the Echo and Request-Tag options.

A unique Request-Tag is added to any PUT/POST/FETCH request that contains
a large body. The server is then able to differentiate between concurrent
sending of large data using the same session.

If a server responds with a 4.01 and Echo option, then the libcoap client
retransmits the request adding in the received option.

If the server responds normally with an Echo option, then the next request
from the client (added by libcoap) will contain that request option.

It is the responsibility of the server application to add in the Echo
option unless this is triggered by OSCORE.

Request-Tag code abstracted from #611
Echo code abstracted from #764

@mrdeep1
Copy link
Collaborator Author

mrdeep1 commented Dec 22, 2021

This PR does not currently have the corner case code referred to in #793. It will be in a different PR based off this code, but it made this PR too complicated.

@mrdeep1 mrdeep1 force-pushed the echo_rtag_options branch 3 times, most recently from 37c239b to 6e80bee Compare February 21, 2022 16:51
@mrdeep1 mrdeep1 force-pushed the echo_rtag_options branch from 6e80bee to e489994 Compare March 3, 2022 16:08
@obgm obgm changed the title draft-ietf-core-echo-request-tag: Add in support RFC 9175: Add in support Mar 4, 2022
@mrdeep1 mrdeep1 force-pushed the echo_rtag_options branch from e489994 to fcec0f5 Compare March 6, 2022 15:00
@mrdeep1 mrdeep1 force-pushed the echo_rtag_options branch from fcec0f5 to 159c04a Compare April 24, 2022 17:41
@mrdeep1 mrdeep1 force-pushed the echo_rtag_options branch from 159c04a to f36161e Compare May 20, 2022 09:53
@mrdeep1 mrdeep1 force-pushed the echo_rtag_options branch from f36161e to 6836104 Compare June 7, 2022 18:08
@mrdeep1 mrdeep1 force-pushed the echo_rtag_options branch 3 times, most recently from 44df810 to c2795da Compare June 18, 2022 11:22
A unique Request-Tag is added to any PUT/POST/FETCH request that contains
a large body.  The server is then able to differentiate between concurrent
sending of large data using the same session.

If a server responds with a 4.01 and includes an Echo option, then the libcoap
client retransmits the request adding in the received Echo option with the same
value.

If the server responds normally with an Echo option, then the next request
from the libcoap client (internally added by libcoap) will contain that Echo
option.

It is the responsibility of the server application to add in the Echo
option if required and validate the next request unless the Echo is triggered
by OSCORE (RFC8613 Appendix B.1.2).
@mrdeep1 mrdeep1 force-pushed the echo_rtag_options branch from c2795da to 2165991 Compare June 21, 2022 14:20
src/block.c Show resolved Hide resolved
@obgm obgm merged commit 415fbdb into obgm:develop Jun 22, 2022
@obgm
Copy link
Owner

obgm commented Jun 22, 2022

🎉

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.

2 participants