Comments (14)
Hi @evgeniynickolaev,
this is a very good observation you have made. Thanks for pointing this out and doing the debugging :-)
Your proposal for fixing it goes in the right direction, I think. However, we will need to distinguish between requests originating locally vs. requests we are sending a response to.
Would you like to create a PR for fixing it? If so, make sure to read the contribution guide ...
from californium.
Thanks for reply!
Yes, I am very keen to contribute, I'll work on it.
from californium.
Cool :-) Looking forward to your PR (and discussing it) ...
from californium.
This is the PR.
Now it invokes CoapHandler#onError.
Not sure if checking the message class is sufficient to cover:
However, we will need to distinguish between requests originating locally vs. requests we are sending a response to.
Also I've found this case too special to be included in BlockwiseTransferTest.
from californium.
However, it would still be good to have a test case for this.
I think you can create one along the lines of the org.eclipse.californium.core.test.lockstep.BlockwiseClientSideTest
...
from californium.
OK, will add
from californium.
I've pushed a test case. I don't really like it but wanted to confirm if the approach is appropriate at first.
from californium.
I think the test itself does exactly what it should do 👍
Why don't you like it? ;-)
I have added some proposals for simplification ...
from californium.
Oh, BTW: please rebase your branch onto current master ...
from californium.
Thank you)
Is it OK to smash my commits into one during rebase and push it with force?
2016-04-22 10:40 GMT+03:00 Kai Hudalla [email protected]:
Oh, BTW: please rebase your branch onto current master ...
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#36 (comment)
from californium.
Absolutely
from californium.
Done
from californium.
Hi, also thanks from my side on spotting and fixing this.
I noticed that we are more and more smeering the layers. While this is a valid fix for now, I will try to solve it purely from the BlockwiseLayer, probably by attaching a MessageObserver there on the intermediary blocks.
from californium.
Good idea, @mkovatsc 👍
from californium.
Related Issues (20)
- Minor Release 3.9.0 - Available HOT 11
- Why do DTLS_CONNECTOR_THREAD_COUNT and DTLS_RECEIVER_THREAD_COUNT default to 1? HOT 1
- IllegalStateException: automatic message IDs exhausted HOT 9
- FETCH and blockwise - Behavior change of Californium 3.8
- I have a question about simple file server HOT 15
- DatagramFilterExtended#onDrop called with not "full" Record HOT 5
- I used californium for Android 11, and there is some mistakes, and I don't understand why? HOT 5
- CoAP Request-Tag option Support HOT 2
- Add Sequence Token Generator ? HOT 3
- CoAP Echo option Support HOT 3
- Bugfix Release 3.9.1 - Available HOT 1
- I wanna save the whole logs of SenML JSON. HOT 7
- Demo certificates renewed
- Request response metrics - Experience using Azure Insights and Californium HOT 8
- Runtime dependency - logback 1.2 - CVE-2023-6378 fix available HOT 10
- Minor Release 3.10.0 - Available HOT 1
- Handshake with [x.x.x.x:xxxx] failed after session was established! Alert Protocol Level: FATAL Description: HANDSHAKE_FAILURE HOT 17
- Californium Deployment issues HOT 12
- ignoring ACK, possible MID reuse before lifetime end for token HOT 4
- Resource /msr not found HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from californium.