-
Notifications
You must be signed in to change notification settings - Fork 30k
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
stream: don't flush destroyed writable #29028
The head ref may contain hidden characters: "stream-flush-destro\u00FDed-writable"
Conversation
3b3305a
to
481e6d1
Compare
481e6d1
to
44d3d57
Compare
Hmm.. I'm thinking this is more bug fix than breaking change. What do you think @mcollina? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need a unit test.
I'm happy to land this as a bug fix as long as it does not break anything on CITGM.
def bugfix |
44d3d57
to
7332cb5
Compare
test added and fixed |
7332cb5
to
0906aa6
Compare
f0ea5f3
to
372588a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would still consider this a bugfix, but we should:
- verify that CITGM passes
- let it bake for LTS (10.x) for some time before backporting.
372588a
to
e1542b7
Compare
@mcollina: Sorry, found further issues.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn’t mind being careful and labelling this semver-major.
e1542b7
to
d7e8b4c
Compare
Ok, I think everything |
It doesn't make much sense (and is a bit weird) to flush a stream which has been destroyed.
I need help creating a relevant test for this.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesNOTE TO SELF: Look into needFinish & stream destroyed.
errorOrDestroy
added in this PR should preferably be async.