[SIPSERVLET_SPEC-19] Clarify doResponse vs. doBranchedRespone handling Created: 25/Oct/12  Updated: 26/Mar/14  Resolved: 24/Feb/14

Status: Resolved
Project: sipservlet-spec
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0-pr

Type: Improvement Priority: Major
Reporter: bpulito Assignee: binod
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


Clarify what the container returns for a doResponse when a single branch is created one at a time. Should doResponse return the best response or the actual response? Its clear in the JSR that doBranchResponse always returns the actual response. So just clarify what the doResponse returns after reProxying. We had a customer run into this when migrating an application to our container implementation.

Comment by binod [ 11/Feb/14 ]

If I read the 289 spec correctly, doResponse is invoked with the best response.

<snip from Correlating responses to proxy branches>
Only after the last branch has received a final response,
the container must determine the best final response and pass it to the doResponse() method.

Comment by binod [ 19/Feb/14 ]

Would the following text work for clarifying this further?
If an application resume to proxy requests in the doResponse(), after completion of each round of such re-proxying, container will invoke doResponse() with the best final response of all the previous rounds of proxying.

Comment by bpulito [ 21/Feb/14 ]

Binod, I think this text takes care of it. Thanks!

Comment by binod [ 24/Feb/14 ]

This clarification is now part of 0.8 version distributed.


Generated at Fri Jul 31 03:46:36 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.