-
Notifications
You must be signed in to change notification settings - Fork 6.6k
about httpasyncclient4.x enhancement #6305
Copy link
Copy link
Closed
Labels
agentLanguage agent related.Language agent related.bugSomething isn't working and you are sure it's a bug!Something isn't working and you are sure it's a bug!no updateThe owner doesn't provide further feedback.The owner doesn't provide further feedback.pluginPlugin for agent or collector. Be used to extend the capabilities of default implementor.Plugin for agent or collector. Be used to extend the capabilities of default implementor.
Milestone
Metadata
Metadata
Assignees
Labels
agentLanguage agent related.Language agent related.bugSomething isn't working and you are sure it's a bug!Something isn't working and you are sure it's a bug!no updateThe owner doesn't provide further feedback.The owner doesn't provide further feedback.pluginPlugin for agent or collector. Be used to extend the capabilities of default implementor.Plugin for agent or collector. Be used to extend the capabilities of default implementor.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Please answer these questions before submitting your issue.
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。