Review from kkolinko
The filename of a tagged war file should be  versioned + tag + baseName.war.  The "tag" part was lost.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1578310 13f79535-47bb-0310-9956-ffa450edef68
kkolinko review
Use deployed which is known to be absolute
Also, deprecate use of getAppBase() method as it does not exist in 8.0.x and use deployed instead (deployed only needs to be absolute not canonical).

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1578313 13f79535-47bb-0310-9956-ffa450edef68
Make upload process more robust. If upload fails and it was going to update an existing WAR, don't remove the existing WAR.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1578339 13f79535-47bb-0310-9956-ffa450edef68
Improve processing of chuck size from chunked headers. Avoid overflow and use a bit shift instead of a multiplication as it is marginally faster.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1578341 13f79535-47bb-0310-9956-ffa450edef68