You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The poolAquires metric is wrong because of a typo in HttpClientListener:
@OverrideprotectedvoidonPoolAcquireSuccess(longduration, TimeUnittimeUnit) {
HttpClientListener.this.onPoolReleaseSuccess(duration, timeUnit); // wrong API called
}
However, it seems that the connection count problem is caused by no listeners added to ClientChannelFactoryImpl.eventsSubject, after RxContexts.withChannelFactory() is called in RxContexts constructs.
The text was updated successfully, but these errors were encountered:
NiteshKant
pushed a commit
to NiteshKant/RxNetty
that referenced
this issue
Jul 4, 2014
The client connection factory created by RxContexts was not having the reference to the eventsubject.
This made the connection factory create a fresh subject.
Fixed the same and added the testcase for this.
The problem was that the client connection factory created by RxContexts was not having the reference to the eventsubject.This made the connection factory create a fresh subject.
Here is the JUnit test case that shows connection count is not incremented after a successful connection to www.google.com:
It prints out zero for both counts.
The poolAquires metric is wrong because of a typo in
HttpClientListener
:However, it seems that the connection count problem is caused by no listeners added to
ClientChannelFactoryImpl.eventsSubject
, afterRxContexts.withChannelFactory()
is called in RxContexts constructs.The text was updated successfully, but these errors were encountered: