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

Fixing Timeout middleware Context propagation #1910

Merged

Conversation

pafuent
Copy link
Contributor

@pafuent pafuent commented Jul 6, 2021

This will let middlewares/handler later on the chain to properly handle the Timeout middleware Context cancellation.

Fixes #1909

This will let middlewares/handler later on the chain to properly handle
the Timeout middleware Context cancellation.

Fixes labstack#1909
@pafuent pafuent requested a review from aldas July 6, 2021 03:20
@pafuent pafuent self-assigned this Jul 6, 2021
@codecov
Copy link

codecov bot commented Jul 6, 2021

Codecov Report

Merging #1910 (dd12563) into master (5e791b0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1910   +/-   ##
=======================================
  Coverage   90.97%   90.97%           
=======================================
  Files          32       32           
  Lines        2791     2792    +1     
=======================================
+ Hits         2539     2540    +1     
  Misses        161      161           
  Partials       91       91           
Impacted Files Coverage Δ
middleware/timeout.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e791b0...dd12563. Read the comment docs.

@pafuent pafuent merged commit 02de901 into labstack:master Jul 10, 2021
@pafuent pafuent deleted the fix_timeout_middleware_context_propagation branch July 10, 2021 02:36
@vishr
Copy link
Member

vishr commented Aug 15, 2021

@all-contributors please add @pafuent for maintenance

@allcontributors
Copy link
Contributor

@vishr

I've put up a pull request to add @pafuent! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeout middleware should propagate context.Context on echo.Context http Request
3 participants