Commit Graph

12196 Commits

Author SHA1 Message Date
Greg Wilkins 0f6933fca1 Issue #515 Alternate start modules
Allow enable when provided capability from transient
sort usecases
2016-04-16 23:04:14 +10:00
Greg Wilkins bbc84a3d01 Issue #515 Alternate start modules
Replaced the module Name mechanism with a Provides mechanism for #515.  This keeps a modules
name immutable, which makes it easier to find.

Simplified the unit tests by removing all the use-casees with real names (can be confusing and does
not age well).  Deleted more specific unit tests in favour of a more capable generic usecase test
mechanism.   Have added multiple tests per base; exceptional results.  Still need to add in
support for running --add-to-start type commands prior to execution and then to add many more
usecases
2016-04-16 11:01:08 +10:00
Mikko Tiihonen aa8597c19e Sort equal quality accept-encoding values based on server configured preference (#507)
* Sort equal quality accept-encoding values based on server configured preference. Add fixed size cache to reduce overhead of complex header parsing. #507 

Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>

* Only look at the first Accept-Encoding header value in the request. Jetty has never supported handling of multiple headers before and the worst thing that can happen is that the static content is sent uncompressed

* Rename tieBreakerFunction to secondaryOrderingFunction

* Make accept-encoding header cache size configurable

* Add back multiple accept-encoding header handling (with optimizations). Merge QuotedEncodingQualityCSV back to QuotedQualityCSV. Fix documentation on how to use precompressed servlet init parameter
2016-04-15 20:04:01 +10:00
Jan Bartel 9212a62d74 Correct session store xml config files 2016-04-15 11:08:46 +10:00
Jan Bartel d28dffb16e Remove SessionManager; refactor names of session classes; add start modules for new session arch 2016-04-15 11:08:46 +10:00
Simone Bordet b3fa4abaa0 Merged branch 'jetty-9.3.x' into 'master'. 2016-04-14 23:45:48 +02:00
Joakim Erdfelt 2fa7d3fa37 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-04-14 14:36:02 -07:00
Joakim Erdfelt b402524401 Bumping up jetty-version-maven-plugin rev 2016-04-14 12:11:07 -07:00
Simone Bordet a37fdcd0e2 Fixes #514 - Allow ExecutionStrategy to be configurable.
Introduced setters and constructor parameters to components that use
ExecutionStrategy.
2016-04-14 12:28:52 +02:00
Simone Bordet 6827c5b045 Fixes #514 - Allow ExecutionStrategy to be configurable.
Introduced setters and constructor parameters to components that use
ExecutionStrategy.
2016-04-14 12:20:31 +02:00
Greg Wilkins 6163ee7293 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-14 16:32:51 +10:00
Greg Wilkins e1b0967e59 removed needless warning 2016-04-14 16:32:26 +10:00
Joakim Erdfelt 5cd89d9efc Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-04-13 13:42:23 -07:00
Joakim Erdfelt f28c58044e Fix #437 - updates to NPE prevention 2016-04-13 13:40:14 -07:00
Joakim Erdfelt 2c4cdbe259 Merge branch 'jetty-9.3.x' 2016-04-13 11:52:53 -07:00
Joakim Erdfelt 6abb272619 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-04-13 11:52:36 -07:00
Joakim Erdfelt 210f9a8d7c Fixes #510 - Module [depend] property expansion should support eg foo/${bar}/${bar}-xxx 2016-04-13 11:50:57 -07:00
Joakim Erdfelt 76476b6d28 Issue #437 - Avoid NPE on receiving empty message though MessageHandler.Partial
Minor updates to use features elsewhere in Jetty.
2016-04-13 11:40:13 -07:00
Pavel Baranchikov 3630f623d8 Fix #437 Avoid NPE on receiving empty message though MessageHandler.Partial
Signed-off-by: Pavel Baranchikov <p.a.baranchikov@gmail.com>
2016-04-13 11:39:56 -07:00
Joakim Erdfelt 6fb338e50d Updating to version 9.3.9-SNAPSHOT 2016-04-11 16:20:50 -07:00
Joakim Erdfelt bb4f3c4882 Updating to version 9.3.9.M1 2016-04-11 15:35:22 -07:00
Simone Bordet e2f252f817 Merged branch 'jetty-9.3.x' into 'master'. 2016-04-11 19:39:04 +02:00
Simone Bordet f0a1ccf4d3 Fixes #504 - HTTP/2 client transport cannot send request after idle timeout.
Made sure that the idle timeout mechanism notifies the destination
that the connection will close.

Also reviewed the close protocol to be: notify destination, then abort,
then close. In this way, HTTP/2 can send RST_STREAM before the
connection is closed.
2016-04-11 19:15:17 +02:00
Simone Bordet 11242ae1ec Fixes #503 - Wrong request-per-connection counting in MultiplexHttpDestination in case of failures. 2016-04-11 19:15:17 +02:00
Simone Bordet ac4ee8fec4 Ignoring tests that connect to external sites. 2016-04-11 19:15:17 +02:00
Simone Bordet abf0307e5e Merged branch 'jetty-9.3.x' into 'master'. 2016-04-11 12:56:09 +02:00
Simone Bordet 5c3e068cb3 Fixes #481 - Event response.success notified without waiting for content callback for HTTP/2 transport.
Improved fix, notifying the response.success event using a
CompletableCallback to avoid that HttpReceiver.responseContent()
fails the update from ResponseState.TRANSIENT.
2016-04-11 12:55:37 +02:00
Greg Wilkins ef92338dd6 Merge branch 'master' of github.com:eclipse/jetty.project 2016-04-08 18:20:19 +10:00
Greg Wilkins d2b818c8bb Merge branch 'jetty-9.3.x' 2016-04-08 18:19:53 +10:00
Jesse McConnell d8a6bed74a set proper scm info 2016-04-07 10:43:12 -05:00
Greg Wilkins d9bfc8b8e0 Issue #490 serverClasses set from jetty-web.xml
Provided a mode that ignores server classes, but still allows them to be edited.
2016-04-07 17:35:03 +10:00
Greg Wilkins 2fb9b55da2 Issue #485 Multiple compressed formats from static content
Renamed ResourceCache as per TODO
Added javadoc and XML comments
2016-04-07 17:33:47 +10:00
Greg Wilkins a72838162d Issue #485 Multiple compressed formats from static content
Fixed formatting from the PR
2016-04-07 16:47:28 +10:00
Mikko Tiihonen 3261e03edb Support for configurable set of precompressed static resources
* Support for configurable set of precompressed static resources

Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>

* Use QuotedQualityCSV to parse preferred content encodings

Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
2016-04-07 13:57:00 +10:00
Greg Wilkins 21e4cfecfc Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-07 11:41:29 +10:00
Greg Wilkins 4b94aa2c97 Issue #491 Do not assume gzip acceptable for HTTP/2
Removed the HTTP/2 specific code for #491
2016-04-07 11:39:34 +10:00
Jan Bartel 6514158e6a Remove unneeded SessionManager interface. 2016-04-06 16:31:23 +10:00
Simone Bordet 2cd8d55d26 Merged branch 'jetty-9.3.x' into 'master'. 2016-04-05 11:01:17 +02:00
Simone Bordet b047c6332e Fixed ALPN files merge. 2016-04-05 11:00:47 +02:00
Jan Bartel d897663c1c Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-05 17:27:43 +10:00
laeubi f057691cc1 Fix #480 [jetty-osgi] org.eclipse.jetty.annotations should be optional
Signed-off-by: laeubi <laeubi@laeubi-soft.de>
2016-04-05 17:25:03 +10:00
Jan Bartel 1dde94fdb7 Merge pull request #484 from laeubi/issue480
Fix #480 [jetty-osgi] org.eclipse.jetty.annotations should be optional
2016-04-05 17:17:17 +10:00
Greg Wilkins eeb42338fc Merge pull request #468 from thesnowgoose/master
Improve canonicalPath method in URIUtil.java contemplating new test added on issue #466
2016-04-05 15:12:06 +10:00
Greg Wilkins 92904d2b7d Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-05 13:30:01 +10:00
Greg Wilkins 815764c279 Issue #472 Use LongAdder for statistics
Improved JMX context names
2016-04-05 12:53:19 +10:00
Greg Wilkins bbb7f2188c Merge branch 'jetty-9.3.x' into issue-472 2016-04-05 12:24:25 +10:00
Greg Wilkins 23ad5a2bdf Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-05 12:23:32 +10:00
Greg Wilkins b087e6db28 Issue #467 Compact // rule
Improved the rewrite classes and modules to make it easier to compact // withing a URL.
This can now be done with --module=rewrite,rewrite-compactpath
2016-04-05 12:13:29 +10:00
Greg Wilkins 8f74ff3585 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-05 10:01:22 +10:00
Greg Wilkins 557ca69f59 Merge branch 'jetty-9.3.x' into issue-472 2016-04-05 10:00:09 +10:00