Sailfin

 
Quick Search:

SFIN-19 Fixes for TCK issues

Binod PG.
Patch: tckfix.patch.
+ Following are the issues fixed.

1. SipServletMessageImpl.setContent(content, type) does not honor charset in the text/plain content-type. This is because the decoded character encoding is set, after the bytes are processed. Affected file is SipServletMessageImpl.java.

2. B2buaHelperImpl.java should throw an invalidargumentexception, if the session passed in to unlinkSessions is invalid.

3. when Proxy.setAddtoPath for REGISTER requests, the container throw an exception if the request does not contain "path" in the "Supported" header. However as per setAddtoPath javadoc, it is a best practice for the servlet to check whether "path" is present in the Supported header.

4. ProxyBranch.isStarted now uses its own "isStarted" flag.

5. committed state checking now, includes a check for presence of transaction request. If transaction request is present,
(i.e, the clonned request has a transaction request), then check its committed status first.

6. markReadyToInvalidate logic in updateSipSessionState method of SipSessionImplBase now take care of proxy branches.
- When a 601>status>299 response for a proxy branch reach on server, now the server checks if that is the last
response the proxy is expecting (i.e still dont have 200 response from any of the branches and this is the last
branch).

- If atleast one proxy branch is has record-route true, the 200 response wont mark the session for invalidation.
7. reset() method is now applicable for all repsonses, when state is INITIAL.

8. If servlet do getProxyBranch(uri), right after crateProxyBranches(list), the code was failing. That was fixed.

9. I have temperorily reverted Jie's latest changes on multihoming to get the tests passing. It wont be checked in.
It is just for me to get a clean test run.
~
~
Under Review
0 comments Open for 2 months 24 days
Show Diffs: Show Comments: Source Commit Log
[-] /src/java/com/ericsson/ssa/config/ConvergedContextConfig.java Open in Tab 14 Oct 2008 05:46:17 -0000 1.41 to working copy Modified
[-] /src/java/com/ericsson/ssa/container/SipBindingResolver.java Open in Tab 8 Oct 2008 13:21:09 -0000 1.18 to working copy Modified
[-] /src/java/com/ericsson/ssa/sip/B2buaHelperImpl.java Open in Tab 23 Sep 2008 15:19:21 -0000 1.36 to working copy Modified
[-] /src/java/com/ericsson/ssa/sip/ProxyBranchImpl.java Open in Tab 13 Oct 2008 13:58:22 -0000 1.28 to working copy Modified
[-] /src/java/com/ericsson/ssa/sip/ProxyImpl.java Open in Tab 8 Oct 2008 12:25:43 -0000 1.36 to working copy Modified
[-] /src/java/com/ericsson/ssa/sip/SipServletMessageImpl.java Open in Tab 30 Sep 2008 12:15:00 -0000 1.45 to working copy Modified
[-] /src/java/com/ericsson/ssa/sip/SipServletRequestImpl.java Open in Tab 13 Oct 2008 14:00:44 -0000 1.56 to working copy Modified
[-] /src/java/com/ericsson/ssa/sip/SipServletResponseImpl.java Open in Tab 13 Oct 2008 13:25:50 -0000 1.45 to working copy Modified
[-] /src/java/com/ericsson/ssa/sip/SipSessionImplBase.java Open in Tab 10 Oct 2008 08:37:24 -0000 1.69 to working copy Modified
Crucible: Open Source License registered to Atlassian.
Atlassian Crucible, painless code review. (Version:1.6.2 Build:build-rspud1 2008-10-22) - Administration - Page generated 2009-01-08 19:24 -0600