Am 03.11.2015 um 13:31 schrieb Konstantin Kolinko:
2015-11-03 0:04 GMT+03:00 Mark Thomas <ma...@apache.org>:
Version 1.2.1 includes the following changes:
- Fix to enable 1.2.x to work with Tomcat releases that do not have
the SNI callback implemented on the Java side
The proposed release artefacts can be found at [1],
and the build was done using tag [2].
The Apache Tomcat Native 1.2.1 is
[ ] Stable, go ahead and release
[ ] Broken because of ...
Interim results. Testing 7.0.x (@r1712220) with Java 8u66 (32-bit)
[concat] Testsuites with failed tests:
[concat]
TEST-org.apache.catalina.authenticator.TestNonLoginAndBasicAuthenticator.APR.txt
[concat]
TEST-org.apache.catalina.authenticator.TestSSOnonLoginAndBasicAuthenticator.APR.txt
[concat]
TEST-org.apache.catalina.authenticator.TestSSOnonLoginAndDigestAuthenticator.APR.txt
[concat]
TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.APR.txt
[concat] TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.APR.txt
1) All 3 authenticator tests are failing in an odd way:
I guess that there is a change in Java 8 HttpURLConnection so that
tests in Tomcat 7 became incorrect.
IIRC somebody mentioned that there is some security feature protecting
access tor request headers, and it can be turned off by some option.
Testcase: testBasicLoginRejectProtectedWithSession took 0,265 sec
Caused an ERROR
Illegal character(s) in message header field: Cookie:
java.lang.IllegalArgumentException: Illegal character(s) in message
header field: Cookie:
at
sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(HttpURLConnection.java:489)
at
sun.net.www.protocol.http.HttpURLConnection.isExternalMessageHeaderAllowed(HttpURLConnection.java:459)
at
sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(HttpURLConnection.java:3018)
at
org.apache.catalina.startup.TomcatBaseTest.methodUrl(TomcatBaseTest.java:648)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:625)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:619)
at
org.apache.catalina.authenticator.TestNonLoginAndBasicAuthenticator.doTestNonLogin(TestNonLoginAndBasicAuthenticator.java:419)
at
org.apache.catalina.authenticator.TestNonLoginAndBasicAuthenticator.testBasicLoginRejectProtectedWithSession(TestNonLoginAndBasicAuthenticator.java:401)
The message "Illegal character(s) in message header field" is thrown in
Java 8 if the header names contains a line feed "\n". Problems with the
header value would be signaled with "header value" not "header field".
So you might be able to debug into the problem by looking at
TomcatBaseTest.methodUrl(), especially the keys of reqHead.entrySet().
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org