-
Notifications
You must be signed in to change notification settings - Fork 368
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
RFC7959 - Block1 Option in Error Response 4.08 (Request Entity Incomplete) #1937
Comments
Fixes: issue eclipse-californium#1937 Signed-off-by: Achim Kraus <[email protected]>
So I guess it make sense to change the current behavior.
I think it make sense to consider it as a bug fix. Just to let you know : So maybe and if possible, it could pay off to let a (not impacting) way to go back to previous behavior with some kind of HACK just in case ? (Maybe making Or we wait to see if we face some issue then we let you know and then we find a way to implement this kind of HACK. |
For 2.7.1 we may also go with a configuration. Anyway, with that, should I also go for a 2.7.1 in short term? If it's the way to get feedback say in Summer or Autumn, I can do that next week and release the 2.7.1 on 17.3.2022. If you prefer to do it in some weeks, that will also be OK for me. |
Configuration seems a bit overkill to me to support "bad implementation".
For the timing as you prefer. But for sure sooner you release a 2.7.1, more chance to have feedback sooner from us. |
Yes. But I'm not sure, if "protected" helps and can be really used. If you're sure, then I would go for that "protected". It may be also possible, to add such a configuration in 2.8.0 or to remove the fix in 2.7.2.
I'm not sure about that. It seems to be more a kind of "interpretation" and someone may unfortunately stick to the block1 option. |
I just had a quick look and it seems it could be possible to create a custom stack with a custom blockwiseLayer with a custom version of I understand that errors, bad interpretations, not clear specifications are real world and so it makes sense to find a way to live with this but I feel (just my option) that configuration is not the right move OR you will add configuration for every possible "bad interpretation" of the specification.
I didn't dig this subject so maybe you're right, but if there is nothing in the spec about this and authors clarify the expectation.
Yes maybe a better plan to first see if there is problem (or if something was missed about this), then find a way to fix it. |
Fixes: issue eclipse-californium#1937 Signed-off-by: Achim Kraus <[email protected]>
I schedule a 2.7.1 for next Thursday, 17. March. |
Fixes: issue #1937 Signed-off-by: Achim Kraus <[email protected]>
Fixes: issue #1937 Signed-off-by: Achim Kraus <[email protected]>
I remembered, that some time ago BLOCKWISE_STRICT_BLOCK2_OPTION was introduced for something similar at block2. |
I just shared my opinion but feel free to handle it as you prefer. |
Up to version 3.3.1, including up to version 2.7.0, Californium adds a block1 option to a Error Response 4.08 on blockwise transfers. Though I didn't find an explicit guidance about that in RFC7959, I opened an issue in CorrClar and the current common interpretation is not to use the block1 option for these Error Response.
Therefore I plan to start with
Any thoughts on it?
The text was updated successfully, but these errors were encountered: