gnrc_sock: re-issue MSG_RECV event if there are still received messages after *_recv() was called.#14059
Conversation
... after `*_recv()` was called. This prevents a client from needing to call `*_recv()` in a loop.
|
I might have seen this issue in my CoAP-over-BLE experiements lately, at least the results looked quite bad despite some other bugfixes that were done lately (notably #13962 and #13850). So there might be a chance that the issue described in #14034 has something to do with it. I just started my experiment with this patch included - will let you know in 12h if something has changed :-) In the mean time, it would be nice if anyone could take a look at #13962, otherwise it is getting cumbersome to keep track of all the fixes I need... |
|
Thanks for the information, @haukepetersen. I am actively reviewing, and should have some feedback in the next day or so. |
|
Works for me. I have a question though: Why is this fix necessary? Why doesn't the normal mechanism call |
Because every sock has just one |
|
The alternative would be to have a pool of |
So at the end of |
|
Looks like a spurious failure on last Murdock run. Let's try again. |
|
Murdock is happy now :-). |
|
Perfect. Let's go! |
|
Don't forget its brother #14060. |
Contribution description
This prevents a client from needing to call
*_recv()in a loop.Testing procedure
See #14034
Issues/PRs references
Fixes #14034