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

Revert "context: inherits context cancelation and deadline from http.Request context for Go>=1.7 (#1690)" #1736

Merged
merged 1 commit into from Jan 9, 2019

Conversation

thinkerou
Copy link
Member

@thinkerou thinkerou commented Jan 8, 2019

revert #1690
Here #153 (comment) @manucorporat said gin.Context behave like context.Background + Value, and revert it to fix #1731 first.
cc @rbeuque74

@appleboy please help me to review the revert, thanks!

…Request context for Go>=1.7 (#1690)"

This reverts commit f67d7a9.
@codecov
Copy link

codecov bot commented Jan 8, 2019

Codecov Report

Merging #1736 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1736      +/-   ##
=========================================
- Coverage    99.4%   99.4%   -0.01%     
=========================================
  Files          42      41       -1     
  Lines        2029    2023       -6     
=========================================
- Hits         2017    2011       -6     
  Misses          9       9              
  Partials        3       3
Impacted Files Coverage Δ
context_17.go 100% <ø> (ø) ⬆️
context.go 99.51% <100%> (ø) ⬆️

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 d8fb18c...7db3021. Read the comment docs.

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.

[bug] panic: context: internal error: missing cancel error
2 participants