add tests for setting v1 cookie values

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557017 13f79535-47bb-0310-9956-ffa450edef68
Refactor to aid re-use

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557080 13f79535-47bb-0310-9956-ffa450edef68
Add tests for setting null and duplicate read and write listeners for
non-blocking IO.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557081 13f79535-47bb-0310-9956-ffa450edef68
Fix failures in newly added tests

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557082 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55978
Ensure that container makes first call on onWritePossible when using non-blocking IO with an HTTP upgraded connection

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557092 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55893
Split AccessLogValve and extract the formatting logic in an AbstractAccessLogValve to facilitate other implementations that output to destinations other than files.
Patch provided by Cyrille Le Clerc

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557113 13f79535-47bb-0310-9956-ffa450edef68
More graceful handling (a 403 rather than a 500 response) when file permissions allow Tomcat to know a resource exists but not to read it

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557127 13f79535-47bb-0310-9956-ffa450edef68
ResourceSets added via a context.xml file need a default internalPath

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557146 13f79535-47bb-0310-9956-ffa450edef68
ResourceSets added via a context.xml file need a default internalPath

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1557147 13f79535-47bb-0310-9956-ffa450edef68
Ensure directory name is displayed as part of directory listings

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