Skip to content

Consume ignored responses in the ERM sample#122

Merged
berezovskyi merged 4 commits intomasterfrom
b-erm-alwaysconsume
Aug 23, 2022
Merged

Consume ignored responses in the ERM sample#122
berezovskyi merged 4 commits intomasterfrom
b-erm-alwaysconsume

Conversation

@berezovskyi
Copy link
Member

@berezovskyi berezovskyi commented Aug 19, 2022

Didn't have a chance to test yet. Written in response to https://forum.open-services.net/t/rmsample-connectionclosedexception-exception/651/5 Tested on ELM 7.0.2.

I also think we should not be writing such code in consumer code and the client should help with those actions.

Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
This is because some parts of the code try to read the response stream multiple times.

Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
@berezovskyi berezovskyi merged commit 56f6896 into master Aug 23, 2022
@berezovskyi berezovskyi deleted the b-erm-alwaysconsume branch August 23, 2022 14:11
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.

2 participants