aungmyo / impala

Automatically exported from code.google.com/p/impala
0 stars 0 forks source link

Partitioned HttpRequest should cache session #274

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Applies as of r4962

Currently, each time getSession is called and a session is returned, a
wrapped session instance may be created (e.g
StateProtectingWrapperHttpSession). This is unnecessarily inefficient.
Should at least be able to cache the wrapped session instance in the
request level, so that this will need to be done once per request at most.

Should also take care that session hasn't been invalidated. In other words,
should check that session is still ok before returning.

Original issue reported on code.google.com by philzoio...@googlemail.com on 5 Dec 2009 at 11:35

GoogleCodeExporter commented 9 years ago

Original comment by philzoio...@googlemail.com on 7 Dec 2009 at 9:28

GoogleCodeExporter commented 9 years ago

Original comment by philzoio...@googlemail.com on 18 Dec 2009 at 5:37

GoogleCodeExporter commented 9 years ago
Fixed with r5265

Original comment by philzoio...@googlemail.com on 31 Jan 2010 at 9:21