Commit Graph

21296 Commits

Author SHA1 Message Date
Chris Walker 5a5b7fe9cd
Updated Quickstart links and fixed some formatting. 2020-08-25 11:43:39 -05:00
Simone Bordet 7fe313ae0e Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-08-25 16:35:09 +02:00
Simone Bordet 0b8b7061b8 Issue #3974 - Flaky AsyncMiddleManServletTest.
Now using WorkDir instead of manually creating and
deleting test directories, so that tests run in
parallel won't interfere with each other.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-25 16:30:37 +02:00
Simone Bordet 30303c7979 Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-08-25 16:15:33 +02:00
Simone Bordet 0dd8274f9f
Merge pull request #5187 from eclipse/jetty-9.4.x-5147-h2_round_robin_max_usage
Issue #5147 - HTTP2 RoundRobinConnectionPool with maxUsage
2020-08-25 15:54:32 +02:00
Lachlan Roberts 2282d16c98 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-08-25 14:32:16 +10:00
Lachlan 4dfcb807d8
Merge pull request #5180 from eclipse/jetty-9.4.x-5122-ConnectionStatistics
Change the way ConnectorStatistics is added to the Servers Connectors
2020-08-25 14:28:26 +10:00
Lachlan Roberts 8faa71818f change addToAllConnectors method to addBeanToAllConnectors
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-25 10:22:18 +10:00
gregw b03bdb9db4 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
Signed-off-by: gregw <gregw@webtide.com>
2020-08-24 18:09:16 +02:00
Greg Wilkins 1159fa399f
Issue #5095 - XmlConfiguration Parser Pool (#5148)
* Issue #5095 XmlConfiguration Parser Pool

Use a pool of parsers rather than a shared static

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Some updates to the new Pool class:

 + fixed a race with pending reservations
 + use a pending counter
 + Reservation API to simplify Entry API
 + removed public methods on Entry API

* Some updates to the new Pool class:

 + fixed a race with pending reservations
 + use a pending counter
 + Reservation API to simplify Entry API
 + removed public methods on Entry API

* Updates from review

* Updates from review
Tests for cache size and acquire with creator

* Method no longer required with Reservation

* update from the feedback on the feedback of the feedback from the review.

Moved enable to Entry, removed Reservation class and clarified usage in javadoc

* Issue #5095 XmlConfiguration locking  Use pool instead of static shared instance

* removed fake test

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #5095 XmlConfiguration locking  Use pool instead of static shared instance

updates from review
2020-08-24 18:00:28 +02:00
Jan Bartel 80ad5f0333 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-08-24 17:40:28 +02:00
Jan Bartel f143babcf7
Issue #5087 Use lock to protect Deployment Mgr startup errors (#5139)
* Issue #5087 Use lock to protect Deployment Mgr startup errors

Signed-off-by: Jan Bartel <janb@webtide.com>
2020-08-24 17:21:53 +02:00
Jan Bartel 77779ed6d8
Issue #4996 - Regularlize logging (#5167)
* Issue #4996 Regularize logging

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

Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-24 17:15:13 +02:00
Joakim Erdfelt 75e4a93b3f
Merge pull request #5192 from eclipse/dependabot/maven/apacheds.version-2.0.0.AM26
Bump apacheds.version from 2.0.0-M24 to 2.0.0.AM26
2020-08-24 09:24:12 -05:00
Joakim Erdfelt 7e7cdad030
Merge pull request #5188 from eclipse/dependabot/maven/org.apache.derby-derbytools-10.15.2.0
Bump derbytools from 10.14.2.0 to 10.15.2.0
2020-08-24 09:14:32 -05:00
Jan Bartel 49fb18d2b4
Issue #5181 Update to spifly 1.3.0 (#5182)
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-08-24 14:51:17 +02:00
Jan Bartel d2e23a32cb Fix doc for jetty-maven-plugin
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-08-24 13:46:36 +02:00
dependabot[bot] a6ea2ac6aa
Bump apacheds.version from 2.0.0-M24 to 2.0.0.AM26
Bumps `apacheds.version` from 2.0.0-M24 to 2.0.0.AM26.

Updates `apacheds-all` from 2.0.0-M24 to 2.0.0.AM26
- [Release notes](https://github.com/apache/directory-server/releases)
- [Commits](https://github.com/apache/directory-server/compare/2.0.0-M24...2.0.0.AM26)

Updates `apacheds-server-integ` from 2.0.0-M24 to 2.0.0.AM26
- [Release notes](https://github.com/apache/directory-server/releases)
- [Commits](https://github.com/apache/directory-server/compare/2.0.0-M24...2.0.0.AM26)

Updates `apacheds-core-integ` from 2.0.0-M24 to 2.0.0.AM26
- [Release notes](https://github.com/apache/directory-server/releases)
- [Commits](https://github.com/apache/directory-server/compare/2.0.0-M24...2.0.0.AM26)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 07:03:33 +00:00
dependabot[bot] 85bd78ae34
Bump derbytools from 10.14.2.0 to 10.15.2.0
Bumps derbytools from 10.14.2.0 to 10.15.2.0.

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 07:03:00 +00:00
Lachlan Roberts bfb6b9f39a Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-08-24 16:48:52 +10:00
Lachlan Roberts 65c4e86bdb Issue #3974 - disable testAfterContentTransformerOverflowingToDisk()
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-24 15:24:58 +10:00
Simone Bordet 0af5f676cd Issue #5147 - HTTP2 RoundRobinConnectionPool with maxUsage
Reworked HTTP/2 release after an exchange is terminated.

Previously, the release was bound to 2 events: onStreamClosed(),
introduced for #2796, and exchangeTerminated().
Unfortunately, if the former happens before the latter and
closes the connection, the latter will see the exchange as
aborted, while in fact it was successful, causing what
reported in #5147, an AsynchronousCloseException.

Now, the release is always performed by the exchangeTerminated()
event. With respect to #2796, the stream is always already
closed by the time the exchangeTerminated() event fires (it
was not before).

Reworked the implementation of RoundRobinConnectionPool using
a lock and aggressively trying to open new connections.

A second fix is related to HttpDestination.release(Connection).
If the connection is closed for e.g. overuse, we need to trigger
the processing of queued requests via send(create: true).

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-22 22:10:08 +02:00
Simone Bordet 823e713ee4 Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-08-22 17:35:25 +02:00
Simone Bordet 2d3f0e0c10 Improved logging and toString() implementations,
small refactorings in code and tests.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-22 17:31:12 +02:00
dependabot[bot] 78c5c5c0c7
Bump ant from 1.8.4 to 1.10.8 (#5157)
Bumps ant from 1.8.4 to 1.10.8.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 19:19:20 +10:00
Jan Bartel 728daadd92
Issue #5178 Update to asm8.0.1 (#5179)
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-08-21 10:39:46 +02:00
Lachlan Roberts 623d1be7c7 Change the way ConnectorStatistics is added to the Servers Connectors
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-21 15:45:58 +10:00
Lachlan Roberts ef2f1dfd0d Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-08-21 10:37:24 +10:00
Lachlan Roberts 70a679f5f4 reorder some CustomRequestLog methods to be same as jetty-10
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-21 10:29:22 +10:00
Lachlan b19de0aec3
Merge pull request #5176 from eclipse/jetty-9.4.x-CustomRequestLogCleanup
cleanup various warnings and TODOs in CustomRequestLog
2020-08-21 10:23:29 +10:00
Joakim Erdfelt c0dc907a30
Merge pull request #4997 from eclipse/jetty-10.0.x-4572-message-indent
Issue #4572 - Implementing old logging TAG_PAD as Message Alignment.
2020-08-20 14:14:30 -05:00
Joakim Erdfelt 47229e0190
Addressing checkstyle error
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-20 13:31:17 -05:00
Joakim Erdfelt 5a0f18513b
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-4572-message-indent 2020-08-20 13:29:50 -05:00
olivier lamy a196f9636a no need to this in the pom for a jar
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-20 19:33:44 +08:00
Lachlan Roberts 12381e9cf5 cleanup various warnings and TODOs in CustomRequestLog
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-20 12:02:00 +10:00
Lachlan Roberts 35f3f1886e Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-08-19 09:39:31 +10:00
Lachlan Roberts 37a8e44347 fix WebSocketStatsTest numMessages back to 1000
Remove server getConnections check after client open event
as the server connection may not be open yet.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-19 09:36:56 +10:00
Lachlan Roberts 7d6f692721 disable autoFragment for WebSocketStatsTest
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-19 09:32:54 +10:00
Lachlan Roberts 931e10458a Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-08-19 08:34:39 +10:00
Lachlan cfd31b2cf5
Merge pull request #5125 from eclipse/jetty-9.4.x-5122-WebSocketStats
Issue #5122 - Improve connection statistics for WebSocket
2020-08-19 08:04:47 +10:00
Simone Bordet 158a57276e Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-08-18 12:22:44 +02:00
Simone Bordet 0646e4d0b5 Fixes #5165 - Wrong messagesIn count for HttpClient.
Now incrementing inMessages only when the response is complete.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-18 11:41:18 +02:00
olivier lamy babf8f3d1e Merge branch 'jetty-9.4.x' into jetty-10.0.x 2020-08-18 14:08:57 +08:00
olivier lamy ff3ebeff54 add dependabot for 9.4.x branch
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-18 14:08:28 +08:00
olivier lamy 084db1916b let do this weekly only
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-18 14:07:05 +08:00
Lachlan Roberts c37d902ef7 remove tri-state logic from IncludeExcludeConnectionStatistics
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-18 10:18:44 +10:00
Lachlan 471a06dc37
Merge pull request #5154 from eclipse/jetty-10.0.x-SurefireUpdateWebSocketFailure
Fix WebSocketServerExamplesTest to work after maven surefire update
2020-08-17 09:45:52 +10:00
sullis 74a16382ab
enable Dependabot v2 (#5077)
Signed-off-by: Sean C. Sullivan <github@seansullivan.com>
2020-08-15 11:17:24 +10:00
olivier lamy 3998d87d0f Merge branch 'jetty-9.4.x' into jetty-10.0.x 2020-08-15 09:13:28 +08:00
Olivier Lamy 2d9fcf20ea
upgrade some maven plugins version (#5143)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-15 10:32:01 +10:00