jira-importer opened a new issue, #1280:
URL: https://github.com/apache/httpcomponents-core/issues/1280

   **[Harold 
Hotelling](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=harold)**
 opened 
**[HTTPCORE-227](https://issues.apache.org/jira/browse/HTTPCORE-227?redirect=false)**
 and commented
   
   DefaultNHttpClientConnection.consumeInput(NHttpClientHandler) should call 
this.connMetrics.incrementResponseCount() instead of 
this.connMetrics.incrementRequestCount(). DefaultNHttpClientConnection.java, 
line 160.
   
   With the current code, after 3 requests on a connection I see:
   
   NHttpConnection conn;
   // Get connection object...
   HttpConnectionMetrics metrics = conn.getMetrics();
   long reqs = metrics.getRequestCount(); // returns 6
   long rsps = metrics.getResponseCount(); // returns 0
   
   
   ---
   
   **Affects:** 4.1-beta1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to