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

gcoap/forward_proxy: handle timeout case #20915

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

fabian18
Copy link
Contributor

Contribution description

Handle when the CoAP forward proxy is not getting a response from the remote server, by sending a RST message to the client, so it will not wait further for a response.

Testing procedure

We used nanocoap client and the proxy without uplink connection. So the request will timeout and the client will get a RST.

Issues/PRs references

#20910

@github-actions github-actions bot added Area: network Area: Networking Area: CoAP Area: Constrained Application Protocol implementations Area: sys Area: System labels Oct 16, 2024
@benpicco benpicco changed the title gcoap/farward_proxy: handle timeout case gcoap/forward_proxy: handle timeout case Oct 16, 2024
@benpicco benpicco added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 16, 2024
@riot-ci
Copy link

riot-ci commented Oct 18, 2024

Murdock results

✔️ PASSED

224fdb2 gcoap/farward_proxy: handle timeout case

Success Failures Total Runtime
10215 0 10215 15m:15s

Artifacts

@benpicco benpicco enabled auto-merge October 23, 2024 15:51
@benpicco benpicco added this pull request to the merge queue Oct 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 23, 2024
@benpicco benpicco added this pull request to the merge queue Oct 23, 2024
Merged via the queue into RIOT-OS:master with commit 87c825d Oct 24, 2024
28 checks passed
@benpicco benpicco added this to the Release 2024.10 milestone Nov 27, 2024
@fabian18 fabian18 deleted the pr/gcoap_forward_proxy_timeout branch January 11, 2025 15:16
@MrKevinWeiss MrKevinWeiss added this to the Release 2025.01 milestone Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: CoAP Area: Constrained Application Protocol implementations Area: network Area: Networking Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants