Repository navigation
Do not callback one SM EVENT_ERROR twice. - #1559
Merged
Merged
Conversation
oknet
force-pushed
the
i1559
branch
2 times, most recently
from
March 9, 2017 05:25
988d100 to
f0c816f
Compare
After apache#947 (c1ac5f) and apache#1522 (a128d5) , the EVENT_ERROR which caused by EPOLLERR will be sent to read.vio._cont first and then write.vio._cont. The reader SM could close or shutdown(WRITE) the VC, but we do not check these operations before we callback write.vio._cont. The SM would received EVENT_ERROR twice if write.vio._cont == read.vio._cont.
Member
Author
|
clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/277/ |
Member
|
@oknet I it work well on my test env, and jtest can not re-product any more ! |
Contributor
|
@oknet Yes, ignore AU tests for now. |
Contributor
|
Nice! Testing this PR on docs.trafficserver now. Remember to close #1531 after we land this :). |
zwoop
approved these changes
Mar 9, 2017
| return; | ||
| } | ||
| // If vc is closed or shutdown(WRITE) in last read_signal_error callback, | ||
| // or reader_cont is same as write.vio._cont. |
Contributor
There was a problem hiding this comment.
Great comment, this really helps explaining the issue / solution.
bryancall
approved these changes
Mar 9, 2017
vmamidi
added a commit
to vmamidi/trafficserver
that referenced
this pull request
Jun 8, 2017
…s to the VConnection" this reverts PRs apache#1559, apache#1522 and apache#947 This reverts commit c1ac5f8.
Merged
vmamidi
added a commit
that referenced
this pull request
Jun 8, 2017
vmamidi
added a commit
to vmamidi/trafficserver
that referenced
this pull request
Jun 8, 2017
This reverts PRs apache#1559, apache#1522 and apache#947 PR apache#947 made the HTTP state machine unstable and lead to crashes in production like apache#1930 apache#1559 apache#1522 apache#1531 apache#1629 This reverts commit c1ac5f8.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After #947 (c1ac5f) and #1522 (a128d5) , the EVENT_ERROR which caused by
EPOLLERR will be sent to read.vio._cont first and then write.vio._cont.
The reader SM could close or shutdown(WRITE) the VC, but we do not check
these operations before we callback write.vio._cont. The SM would
received EVENT_ERROR twice if write.vio._cont == read.vio._cont.