stream: don't flush destroyed writable#29028
Hidden character warning
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? |
mcollina
left a comment
There was a problem hiding this comment.
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
mcollina
left a comment
There was a problem hiding this comment.
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.
|
addaleax
left a comment
There was a problem hiding this comment.
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.
errorOrDestroyadded in this PR should preferably be async.