Christian Amsüss
2018-03-15 14:32:06 UTC
Hello CoAP-over-TCP authors and working group,
during a RFC8323 interop, a question concerning BERT came up:
Can a request block operation (say, a large PUT) be conducted with BERT
by a TCP client without waiting for the CSM?
If the client does not wait for the server's CSM, it can't know the
Max-Message-Size, and whether the server indicates the
Block-Wise-Transfer capability. The only way to send the PUT right away
is to send an 1:(0/1/1024) regular block with szx=6.
The server then sends back its CSM (say, MMS=64k and supporting block).
Now who can take the started operation up to BERT? The server would send
2:(0/1/1024) acknowledging the first block, and the client preparing the
next block "SHOULD [...] use the block size preferred by the server or a
smaller one".
Is BERT an exception to that rule, and if so, is that written somewhere?
Or can such a transfer never become a BERT one, and clients with large
requests should take the time to wait for the CSM rather than save a
single round-trip and suffer the penalty of a dozens more due to limited
block sizes?
Best regards
Christian
during a RFC8323 interop, a question concerning BERT came up:
Can a request block operation (say, a large PUT) be conducted with BERT
by a TCP client without waiting for the CSM?
If the client does not wait for the server's CSM, it can't know the
Max-Message-Size, and whether the server indicates the
Block-Wise-Transfer capability. The only way to send the PUT right away
is to send an 1:(0/1/1024) regular block with szx=6.
The server then sends back its CSM (say, MMS=64k and supporting block).
Now who can take the started operation up to BERT? The server would send
2:(0/1/1024) acknowledging the first block, and the client preparing the
next block "SHOULD [...] use the block size preferred by the server or a
smaller one".
Is BERT an exception to that rule, and if so, is that written somewhere?
Or can such a transfer never become a BERT one, and clients with large
requests should take the time to wait for the CSM rather than save a
single round-trip and suffer the penalty of a dozens more due to limited
block sizes?
Best regards
Christian
--
To use raw power is to make yourself infinitely vulnerable to greater powers.
-- Bene Gesserit axiom
To use raw power is to make yourself infinitely vulnerable to greater powers.
-- Bene Gesserit axiom