Yes, they should happen when the Http2ClientSession is allocated and freed and not per stream. I still think the hooks would be useful.
-Bryan > On May 12, 2015, at 12:48 PM, Alan M. Carroll <a...@apache.org> wrote: > > My view is the SSN hooks should be called on the user agent connect / > disconnect, the base client session object. That would mean that for an > Http/2 session, the SSN hook is called only when the user agent initially > connects for HTTP/2 and once when the HTTP/2 connect is terminated, and *not* > for each transaction. Since SPDY and HTTP/2 only do one transaction per > stream/channel the SSN hooks aren't very useful. >