Commit Graph

15068 Commits

Author SHA1 Message Date
Greg Wilkins 22f95ad847 Issue #1901 Backport some java9 support to 9.3 2017-10-17 17:01:21 +11:00
Greg Wilkins 8bcf10395d Fix #1814 Java Version utility 2017-10-17 15:25:25 +11:00
Greg Wilkins 6b7bbbe66a Issue #1797 Multi Release Jar javadoc 2017-10-17 15:09:19 +11:00
Greg Wilkins 5de895af88 Issue #1797
Converted jetty-util to be a multi release jar
Added org/eclipse/jetty/util/MultiReleaseJarFile as botha  java8 and java9 version
deprecated jarScanner
updated AnnotationParser to use MultiReleaseJarFile
2017-10-17 15:06:09 +11:00
Jan Bartel e00182323b Issue #1692 2017-10-17 14:43:41 +11:00
Joakim Erdfelt 1295dc372d Issue #1797 - Safety checks for Java 9 and Multi-Release JARs during bytecode scanning
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2017-10-17 14:43:14 +11:00
Jan Bartel 15a08f2095 Issue #1900 2017-10-17 14:31:11 +11:00
Greg Wilkins 1b7cfbbf2c Test #1898 2017-10-17 14:13:51 +11:00
Greg Wilkins 0f8bf0a64f Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-10-17 14:08:36 +11:00
Greg Wilkins 52baec434b Test #1898 2017-10-17 14:04:53 +11:00
Simone Bordet 08a43cd0a2 Issue #1807 - HttpChannel events.
Added "dispatchFailure" event, and renamed "request[Before|After]Dispatch"
events to just "[before|after]Dispatch".
2017-10-17 00:09:45 +02:00
Simone Bordet 850e70f27c Fixes #1897 - Introduce a round-robin connection pool for HttpClient. 2017-10-16 18:21:36 +02:00
Simone Bordet 4236f14955 Fixes #1891 - Make HTTP/2 async error notifications configurable.
Introduced HttpConfiguration.notifyRemoteAsyncErrors, true by default.
2017-10-12 12:13:02 +02:00
Simone Bordet c454ce88e8 Formatting cleanup. 2017-10-12 12:02:00 +02:00
Simone Bordet 91c11f5a64 Fixes #1888 - Implement cookie matching on Path attribute.
Implemented path matching following RFC 6265.
2017-10-11 17:39:06 +02:00
Jan Bartel 98f57fa97f Issue #1868
Fix javadoc
2017-10-11 16:18:30 +11:00
Jan Bartel 5656594b4b Issue #1868 2017-10-11 15:40:55 +11:00
Jan Bartel a4618a7ca6 Merge pull request #1886 from upthewaterspout/issue/1885
Issue #1885 Fixed rounding error of negative maxInactiveInterval
2017-10-11 09:41:10 +11:00
Dan Smith a579823f29 Issue #1885 Fixed rounding error of negative maxInactiveInterval
Session.getMaxInactiveInterval should return a negative number if the
the session is configured with a negative maxInactiveInterval. It was
being rounded up to 0 by mistake.

Signed-off-by: Dan Smith <upthewaterspout@apache.org>
2017-10-10 13:59:52 -07:00
Simone Bordet a8d08df84f Issue #901 - Overriding SSL context KeyStoreType requires explicit override of TrustStoreType.
Improved code that defaults trustStore parameters from the keyStore parameters.
2017-10-10 21:23:46 +02:00
Joakim Erdfelt d34f04c559 Issue #1881 - eliminate NPE in id generation against UnixSocketChannel 2017-10-10 12:09:52 -07:00
Joakim Erdfelt ce039eb4cb Merge branch 'issue-272-ws-blockingwrite' into jetty-9.4.x 2017-10-10 11:23:03 -07:00
WalkerWatch 1146ed9ca1 Adding auth documentation. Resolves #1850 2017-10-10 14:04:52 -04:00
Joakim Erdfelt ef65f083b8 Issue #901 - defaulting trustStoreType to keyStoreType if unspecified 2017-10-10 09:34:57 -07:00
Joakim Erdfelt 2eca7492dd Issue #901 - updating exception testing in SslContextFactoryTest 2017-10-10 09:29:25 -07:00
Joakim Erdfelt a6a09d586a Issue #901 - adding safetycheck for null storeType in CertificateUtils 2017-10-10 09:19:23 -07:00
Simone Bordet c87b714a46 Fixes #901 - Overriding SSL context KeyStoreType requires explicit override of TrustStoreType.
The default value of _trustStoreType is now null rather than "JKS", so
that existing logic will use the _keyStoreType also for the trust store.
2017-10-10 16:52:25 +02:00
Simone Bordet 2b847405e0 Code reformatting. 2017-10-10 16:52:25 +02:00
WalkerWatch f29ed835a4 Updating EOL info. Resolves #1883 2017-10-10 09:40:18 -04:00
Jan Bartel 90bd1a7c79 Issue #1879 2017-10-10 16:03:46 +11:00
Simone Bordet 12dcfabd4e Issue #1807 - HttpChannel events.
Implemented events for request and response processing.
Introduced HttpChannel.Listener to handle these events.
2017-10-09 18:06:03 +02:00
Simone Bordet a436b9eb6c Fixes #1878 - Handle 100 Continue response without Expect header.
Fixed - again - accept().
2017-10-09 15:59:41 +02:00
Simone Bordet 6fd3351272 Fixes #1878 - Handle 100 Continue response without Expect header.
Fixed accept() to test for the response code being indeed 100.
2017-10-09 13:38:17 +02:00
Simone Bordet c69c7b29c7 Fixes #1878 - Handle 100 Continue response without Expect header. 2017-10-09 12:08:24 +02:00
Simone Bordet bc7d53b43f Fixes #1696 - WriteFlusher debug of onFail does not log stacktraces.
Fixed logging of exceptions.
2017-10-06 17:08:30 +02:00
Simone Bordet c93360ad9c Issue #1851 - Improve insufficient thread warnings/errors.
Added ExecutorSizedThreadPool, a wrapper around JDK's ThreadPoolExecutor
that implements SizedThreadPool (and therefore returns a ThreadPoolBudget).

Deprecated ExecutorThreadPool, an older version of ExecutorSizedThreadPool.
2017-10-06 16:36:46 +02:00
Simone Bordet da72bff86a Formatting cleanups and added Javadocs. 2017-10-06 16:36:35 +02:00
Simone Bordet b38597a5bc Fixes #1865 - NullPointerException on redirect. 2017-10-06 09:18:28 +02:00
Simone Bordet b626dbdd16 Fixes #1867 - Verbose exception thrown during successful test.
Added guard against self suppression, which otherwise causes
an IllegalStateException.
2017-10-06 09:03:02 +02:00
Simone Bordet 268799b8bc Fixes #1871 - JMXify SslContextFactory.
Fixed toString() formatting.
2017-10-06 00:12:03 +02:00
Simone Bordet cebe2a7c4e Fixes #1871 - JMXify SslContextFactory. 2017-10-05 23:02:02 +02:00
Simone Bordet 4389da9196 Issue #272 - WebSocket hangs in blockingWrite.
Rewritten FrameFlusher.
2017-10-05 22:20:22 +02:00
Jan Bartel 0282232ca4 Issue #1868 2017-10-05 17:12:21 +11:00
Jan Bartel 09e9cd1bef Issue #1640
Use unique package names for it tests for jenkins tracking.
2017-10-04 13:24:26 +11:00
Joakim Erdfelt 6faaf3346c Issue #272 - Read/Parse exceptions should flow out, so Session can handle it via new Session.close() 2017-10-03 15:30:32 -07:00
Joakim Erdfelt c0dfa1dd50 Issue #272 - Attempting to centralize close logic in Session.close() 2017-10-03 15:29:27 -07:00
Joakim Erdfelt bb5195192a Issue #272 - Addressing some concerns with multithreading in FrameFlusher 2017-10-03 15:20:16 -07:00
WalkerWatch 49e85101da Minor link fix 2017-10-03 15:45:08 -04:00
Simone Bordet e2d7057988 Fixes #1209 - IllegalStateException when HTTP/2 push is disabled.
Aligned the behavior with Servlet 4.0, returning null if push is
not supported or disabled by the client.
2017-10-03 18:53:00 +02:00
Simone Bordet 8d0af35a5f Issue #1857 - GZIPContentTransformer fails to send entire message if used with BufferedContentTransformer.
Modified the logic to invoke the transformer when there are input bytes
but there are no decoded bytes and it's the last content.
Could not write a test case for this though.
2017-10-03 18:01:30 +02:00