Skip to content

about httpasyncclient4.x enhancement #6305

@whfjam

Description

@whfjam

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [*] Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

In the enhancement of httpasyncclient4.x because of the class SessionRequestImpl was not always be created(when reuse the connection),so the enhancement was failed when resuse the httpconnection。
I have found a way to correct this problem by enhancing the class “org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl” as it was always being created new,and i could get it from HttpAsyncRequestExecutor.requestReady so that i could use it to deliver the skywalkingdynamicfield。
But the most important thing was that the DefaultClientExchangeHandlerImpl is not “public”,i wonder if it is a right thing to enhance the class which is not “public” in skywalking。

Metadata

Metadata

Assignees

Labels

agentLanguage agent related.bugSomething isn't working and you are sure it's a bug!no updateThe owner doesn't provide further feedback.pluginPlugin for agent or collector. Be used to extend the capabilities of default implementor.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions