Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Always send response #55

Merged
merged 1 commit into from
Nov 23, 2024
Merged

Always send response #55

merged 1 commit into from
Nov 23, 2024

Conversation

trask
Copy link
Contributor

@trask trask commented Aug 16, 2024

Hi!

Over in the OpenTelemetry Java Instrumentation project, we got a report about our project causing OOM when instrumenting xxl-rpc's netty usage (open-telemetry/opentelemetry-java-instrumentation#11942).

We have mitigated the OOM (open-telemetry/opentelemetry-java-instrumentation#12003), but we aren't able to correctly instrument netty when there's no response sent for a request (because we can't tell the difference between that and HTTP pipelining).

Is there any chance you'd accept this PR to send an empty response here, so that we can correctly instrument xxl-rpc? Thanks!

}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I edited this file in GitHub UI, not sure why it added this trailing newline, let's see if I can remove it(?)

Suggested change
}
}

@xuxueli xuxueli merged commit d43fcd3 into xuxueli:master Nov 23, 2024
@trask trask deleted the patch-1 branch November 23, 2024 15:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants