Protect subrequests from post-complete messages
authorMike Rylander <mrylander@gmail.com>
Thu, 16 May 2013 14:17:15 +0000 (10:17 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Dec 2013 16:14:55 +0000 (08:14 -0800)
commitd9736002b13d12bda7ce66c1de0198c18be13a91
treeecb4ff45aa4bb0c177ebd3b6beb7f6c5f7fc9e12
parentf60d276f6b482afeb2639a9d2dac6e80092e750b
Protect subrequests from post-complete messages

Subrequests (AKA method_lookup()-based API calls) sometimes append
final-lvalue responses to the response list even after respond_complete()
has been called from within the implementation method.  This commit
discards all post-respond_complete values, protecting against extra,
spurious values being returned to the ultimate client.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
src/perl/lib/OpenSRF/AppSession.pm