hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Exposing IOSession time values
Date Fri, 08 Jul 2011 08:14:16 GMT
On Fri, 2011-07-08 at 08:26 +0530, Asankha C. Perera wrote:
> On 07/08/2011 03:51 AM, Oleg Kalnichevski wrote:
> > On Fri, 2011-07-08 at 02:19 +0530, Asankha C. Perera wrote:
> >> Hi All
> >>
> >> The IOSessionImpl maintains the session established and last read/write
> >> times which would be valuable for connection debugging especially on a
> >> timeout or disconnection. Will there be any objections to making the
> >> following methods public?
> >>
> > Not at all. Would you also need those methods exposed in the IOSession
> > interface?
> I think that would be a good change on the trunk.. However, I will 
> update only IOSessionImpl in the 4.1.x branch
> 
> thanks
> asankha
> 

Asankha

IOSession is a central interface in the HttpCore API. This change will
break a lot of applications, those that decorate IOSession to add
session level logging in particular.

Could you live with moving those methods to an optional interface,
IOSessionTimeInfo or some such?

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message