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

Fix NRE when using bad authentication and ping is enabled. #86

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Jul 6, 2023

This could result in a NRE GetMostRecentDetails() since it assumes
PipelineExceptions has a response or a response is already available.

But part of the job from its parent callsite FinalizeResponse is
to create a response if one is missing in these case through
pipeline.BadResponse() later on.

This could result in a NRE GetMostRecentDetails() since it assumes
PipelineExceptions has a response or a response is already available.

But part of the job from its parent callsite `FinalizeResponse` is
to create a response if one is missing in these case through
`pipeline.BadResponse()` later on.
@Mpdreamz Mpdreamz requested review from stevejgordon and flobernd July 6, 2023 15:06
Copy link
Member

@flobernd flobernd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Mpdreamz Mpdreamz added bug Something isn't working v0.4.12 labels Jul 7, 2023
@Mpdreamz Mpdreamz merged commit 331ed0d into main Jul 7, 2023
@Mpdreamz Mpdreamz deleted the fix/nre branch July 7, 2023 07:52
Mpdreamz added a commit to elastic/elastic-ingest-dotnet that referenced this pull request Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v0.4.12
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants