Commit Graph

15394 Commits

Author SHA1 Message Date
Greg Wilkins 45472bf10b
Merge pull request #2263 from lachlan-roberts/jetty-9.4.x-2206-MissingOverride
Resolved errorprone MissingOverride warnings #2206 
Built locally as CI is currently down.
2018-03-01 16:05:48 +11:00
Jan Bartel 1173be318c
Issue #2203 Provide module for using GlobalWebAppConfig with Deployer (#2215)
* Issue #2203 Provide module for using GlobalWebAppConfig with Deployer
2018-03-01 14:45:07 +11:00
Lachlan Roberts a639ee9275 Resolved errorprone MissingOverride warnings #2206
`@Override` was added to methods which were missing the annotation #2206

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-01 13:59:25 +11:00
Jan Bartel 8cf357a17d
Jetty 9.4.x 2247 2256 modernize osgi test code (#2258)
* Issue #2247 Ensure random unused ssl port for osgi tests

Signed-off-by: Jan Bartel <janb@webtide.com>

* Issue #2256 code cleanup of osgi tests

Signed-off-by: Jan Bartel <janb@webtide.com>
2018-03-01 10:14:37 +11:00
Simone Bordet 718ac76815 Issue #2255 - Notify SSL handshake failures on write failures.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-28 21:32:42 +01:00
Joakim Erdfelt 8728f2b2c7 Marking stages with jdk name too (helping in jenkins UI) 2018-02-28 12:43:03 -06:00
Lachlan Roberts 480c0e718a Merge branch 'jetty-9.4.x' into jetty-9.4.x-2206-ReferenceEquality 2018-02-28 16:14:49 +11:00
Lachlan Roberts 016c8076e0 updates after review #2206
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-28 16:02:47 +11:00
Jan Bartel 0b89ffd055 Issue #2247 Ensure random unused ssl port for osgi tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-02-28 15:03:44 +11:00
Greg Wilkins 48eebacd6c more robust test
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-28 14:28:58 +11:00
Lachlan Roberts 0cfc25d4ed Resolved errorprone ReferenceEquality warnings #2206
Objects which inherit or implement an `equals()` method should not be compared with == or !=
When the comparison of references is intentional `@SuppressWarnings("ReferenceEquality")` can be used

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-28 14:26:02 +11:00
Simone Bordet cd7432da95 Issue #2238 - RoundRobinConnectionPoolTest.testRoundRobin test failure
Improved logging in case of test failures.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-27 18:49:23 +01:00
Joakim Erdfelt 72f4f13510 Making DosFilterTest.testDelayedIP more resilient 2018-02-27 11:28:26 -06:00
Joakim Erdfelt 8dc073e5ba Fixing Windows test. '/tmp' is invalid path on Windows 2018-02-27 09:56:43 -06:00
Simone Bordet f4b82755ad Now also logging the readyOps of the key that has been selected.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-27 12:03:36 +01:00
Greg Wilkins 04c0632d47
Merge pull request #2252 from lachlan-roberts/jetty-9.4.x-2206-OperatorPrecedence
Disabled errorprone OperatorPrecedence warnings #2206
2018-02-27 14:58:45 +11:00
Lachlan Roberts 27a0cbfacd Merge remote-tracking branch 'eclipse/jetty-9.4.x' into jetty-9.4.x-2206-OperatorPrecedence 2018-02-27 14:56:33 +11:00
Lachlan Roberts 6e3f581ae4 Disabled errorprone OperatorPrecedence warnings #2206
brackets can be used optionally for clarity but aren't manditory #2206

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-27 14:49:17 +11:00
Greg Wilkins 0cb4f5629d
Jetty 9.4.x 1803 proposal 0+2 (#2199)
Merging this PR for #2199 as we currently think it is not worse than previous and the code base is definitely simpler.   While JMH has shown significant benefits for this approach, we have yet been able to demonstrate them in full scale integration tests - however that is likely due to GC and thread pool issues dominating.

A `org.eclipse.jetty.http2.PEC_MODE` System property has been added to allow the EWYK scheduling to be disabled for HTTP/2 if need be.


* Implementation of #1803 proposal 2 - EITHER dispatch type for EWYK
* made code more readable
* increase small threadpools in tests for extra reserved thread
* clean up
* minor code simplifications
* Work in progress to simplify reserved thread pool
* use a single ReservedThreadPool built into the QueuedThreadPool
* fixed javadoc
* removed more old reserved thread references
* disable EWYK for h2
* fixes from review
* use EWYK for HTTP2
* Fixed javadocs, imports and QueuedThreadPool constructors.
* fix javadoc
* EWYK avoid unnecessary pendings
* after review
* fixed merge with jetty-threadpool.xml
* alternate EWYK implementations
* added jetty copyright headers
* Simplified EWYK code after review
* fixed bad merge
* Code cleanups.
* Improved Javadocs for deprecated property "reservedThreads".
* Improved Javadocs for deprecated property "reservedThreads".
* added a system property to enable only PEC for HTTP/2

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-27 14:29:59 +11:00
Greg Wilkins eb42a9e71f
Merge pull request #2251 from lachlan-roberts/jetty-9.4.x-2206-util-defaultCharset
Resolved default charset warning in jetty-util for #2206

Merging prior to CI as no substantive code changes (and CI is borked anyway at the moment)
2018-02-27 12:26:55 +11:00
Lachlan Roberts 67d12a0839 Updates from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-27 12:12:40 +11:00
Joakim Erdfelt 057a367fd1
Merge pull request #2245 from olamy/bugfix/duplicate_dependency
fix duplicate dependency
2018-02-26 18:28:03 -06:00
Lachlan Roberts db4f2928ba Merge branch 'jetty-9.4.x' into jetty-9.4.x-2206-util-defaultCharset 2018-02-27 11:21:19 +11:00
Joakim Erdfelt 61bc00694a
Merge pull request #2216 from olamy/feature/speed_up_build
use a separated local maven repo per build and run maven in multi thread surefire configuration improvment
2018-02-26 18:09:53 -06:00
Lachlan Roberts cf5b501254 Resolved default charset warning in jetty-util for #2206
Ignored warning in B64Code
US-ASCII in UnixCrypt

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-27 11:09:47 +11:00
olivier lamy 866461a501 use a separated local maven repo per build and run maven in multi thread surefire configuration improvement
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-02-27 10:06:52 +10:00
Joakim Erdfelt be64f322ad Issue #2217 adding parameter naming to help identify test run 2018-02-26 14:01:26 -06:00
Joakim Erdfelt a19995b755 Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2018-02-26 13:34:05 -06:00
Joakim Erdfelt dc87eec9bd Fixes #2246 - Reworking await for messages to be more resilient 2018-02-26 13:33:30 -06:00
Joakim Erdfelt 6fa855e856 Fixes #2234 - Making assertion on reason phrase more resilient to race condition for Abnormal closure. 2018-02-26 13:26:03 -06:00
olivier lamy e5817db14a fix diplicate dependency
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-02-26 21:13:11 +10:00
Greg Wilkins 5aaf8b4a5e Ignore SSLException wrapping SocketException #2244
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-26 17:45:25 +11:00
Greg Wilkins 1a84a8d129 ignored test #2243
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-26 17:32:54 +11:00
Joakim Erdfelt edf83aab10 Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2018-02-23 14:40:24 -06:00
Joakim Erdfelt 8515f809ca Fixes #2224 - windows rollover file tests 2018-02-23 14:39:34 -06:00
Jesse McConnell cb67476de0
Resolves #2241 clean up javadoc warnings 2018-02-23 14:18:52 -06:00
Jesse McConnell d179bcf7ac
Resolves #2241 clean up javadoc warnings 2018-02-23 14:09:33 -06:00
Greg Wilkins f8a3ffea48 improved tests #2229
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-23 15:15:34 +11:00
Greg Wilkins 8bd27cd18a improved or ignored tests #2230
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-23 14:52:37 +11:00
Joakim Erdfelt 4d2cbf76d7 Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2018-02-22 17:10:08 -06:00
Joakim Erdfelt cc4e85a525 Issue #2230 - improving failure message 2018-02-22 17:09:47 -06:00
Joakim Erdfelt e27001b580 Fixing #2223 - test issue on Windows 2018-02-22 16:59:46 -06:00
Greg Wilkins c751a8b1bb improve fragile tests
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-23 08:29:31 +11:00
WalkerWatch 9805d16b39 Resolves #2178 - Updates documentation regarding tmpdir. 2018-02-22 16:22:10 -05:00
WalkerWatch d25561441f Resolves #2124 - Clarifies classpath for jetty-web.xml 2018-02-22 10:54:31 -05:00
Simone Bordet 8674b05134 Improved toString() adding the age of the request in ms.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-22 15:25:32 +01:00
Simone Bordet f8c45b1c6c Simplified toString().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-22 15:25:32 +01:00
Simone Bordet c7c85a9a01 Removed unused test class.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-22 15:25:32 +01:00
Greg Wilkins e46459e8a8 improve fragile tests
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-22 17:29:29 +11:00
Greg Wilkins d39663f1db improve fragile tests
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-22 17:03:59 +11:00