Commit Graph

23421 Commits

Author SHA1 Message Date
Lachlan Roberts 14c09e3c98 Issue #6566 - fix WebSocketComponents LifeCycle issue
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-04 13:28:10 +10:00
Lachlan Roberts bbabaee8cc Issue #6566 - add executor to WebSocketComponents & use for Dispatched Messages
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-04 11:24:10 +10:00
Greg Wilkins 4e3e99c5c5
Fix #6565 Deploy Symlinked applications (#6567)
Fix #6565 Deploy Symlinked applications by treating extracting context name (which becomes the default context path) from the base resource and then following aliases, so that base resource will not be an alias.   Added warning in ContextHandler if the base resource is an alias that we may not support this in future releases.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-08-02 18:16:34 +10:00
Lachlan Roberts d35ff03e61 Issue #6554 - DefaultAuthenticatorFactory should not create BasicAuthenticator for null AuthMethod
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-02 15:32:45 +10:00
Lachlan Roberts 29a8d5d2bd Issue #6554 - create the DefaultIdentityService even if no realmName is provided
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-02 15:22:43 +10:00
Jan Bartel 90a72b0798
Issue #6556 Ensure context classloader set when operating on memcache. (#6557)
* Issue #6556 Ensure context classloader set when operating on memcache.

Signed-off-by: Jan Bartel <janb@webtide.com>
2021-08-02 10:04:51 +10:00
Joakim Erdfelt 409a2fc9ff
Merge pull request #6550 from eclipse/jetty-10.0.x-6544-gziphandler-excludedMimeTypes
Issue #6544 - Fixing broken `jetty.gzip.excludedMimeTypeList` property support
2021-07-30 13:47:29 -05:00
Joakim Erdfelt dc48a4b452
Issue #6544 - Adding comment about mime-type in web.xml
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-30 08:56:21 -05:00
Joakim Erdfelt d5da842ea8
Issue #6544 - Remove braces
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-30 07:32:19 -05:00
Joakim Erdfelt 3868360555
Issue #6544 - More updates based on review and merge
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-30 07:29:59 -05:00
Joakim Erdfelt 4d35dd736d
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-6544-gziphandler-excludedMimeTypes 2021-07-30 07:25:18 -05:00
Joakim Erdfelt 72fc018cc5
Issue #6544 - Updates based on review
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-30 07:25:03 -05:00
Lachlan 55d638db01
Merge pull request #6561 from eclipse/jetty-10.0.x-CVE-2021-34429
Update VERSION.txt with CVE-2021-34429 (Jetty-10)
2021-07-30 17:47:45 +10:00
Greg Wilkins 6201d3b107
Non blocking ReservedThreadExecutor (#6535) (#6559)
A call to offer must never block, nor even yield, since to do so give an opportunity for the allocated CPU core to change, defeating the whole purpose of the class.
There is also some reasonable level of diagnostic warnings if a reserved thread misses too many offers consecutively, based on tracking the state of the reserved thread.

Remove the stack data structure entirely.  ReservedThreads all poll the same SynchronousQueue and tryExecute does a non blocking offer.

Added test for busy shrinking

Remember last time we hit zero reserved threads

Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2021-07-30 09:08:36 +10:00
Lachlan Roberts 40c79346c1 Issue #6553 - give 403 response if UNAUTHENTICATED and auth is mandatory
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-07-29 20:17:34 +10:00
Ludovic Orban d8a890f71e #6541 improve testConcurrentAccess perf
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-29 11:11:54 +02:00
Ludovic Orban 9e047ab412 #6541 improve testTake perf
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-29 11:11:54 +02:00
Lachlan Roberts 61bcc6068e Update VERSION.txt with CVE-2021-34429.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-07-29 15:07:43 +10:00
Joakim Erdfelt 5dcc14b114
Merge pull request #6551 from eclipse/jetty-10.0.x-6545-refresh-mimetypes
Issue #6545 - Add more mime-types
2021-07-28 05:47:36 -05:00
Ludovic Orban 73ab70d174 #6491 extract common parseAndFillForContent method
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-28 10:14:19 +02:00
Ludovic Orban bd11d6f682 #6491 add defensive check and introduce HttpParser.isTerminated()
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-28 10:14:19 +02:00
Joakim Erdfelt a4053578cb
Merge pull request #6547 from eclipse/jetty-10.0.x-optimize-imports
Remove unused import lines
2021-07-27 12:53:01 -05:00
Joakim Erdfelt 8971ea991f
Issue #6545 - Add more mime-types
+ Adding webp + avif + apng based on current
  `Accept` header offerings from current browsers.

Firefox 90.0
`Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8`

Chrome 92.0.4515.107
`Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9`

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 11:48:39 -05:00
Joakim Erdfelt 1bdb69dc07
Issue #6544 - Fixing broken `jetty.gzip.excludedMimeTypeList` property support
+ Adding GzipHandler tests
+ Adding Gzip module tests
+ Updating jetty-gzip.xml for
  includedMimeTypesList and
  excludedMimeTypesList behavior
+ Adding GzipHandler support for
  setIncludedMimeTypesList(String) and
  setExcludedMimeTypesList(String

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 11:36:56 -05:00
Joakim Erdfelt fdc210f382
Remove unused imports
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 08:03:00 -05:00
Joakim Erdfelt 330fc0ba0b
Merge pull request #6537 from eclipse/jetty-10.0.x-tls-test-revamp
Issue #5684 - Update TLS tests
2021-07-27 07:44:21 -05:00
Joakim Erdfelt 5344717c39
Merge pull request #6524 from eclipse/jetty-10.0.x-classpathpatterntest-prepend-not-needed
Issue #6515 - Adding Test to ensure that ClasspathPattern doesn't need prepend anymore.
2021-07-27 07:41:35 -05:00
Greg Wilkins d781ec3546
Improve #6322 extensible ArrayRetainableByteBufferPool (#6538)
Add a exponential bucket size impl to test ArrayRetainableByteBufferPool extensibility

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-07-26 10:43:50 +10:00
Olivier Lamy 41481669af
use bom for junit with upgrade to 5.7.2 and testcontainer dependencies (#6532)
* use bom for junit and testcontainer dependencies

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>

* remove some duplicate and redundant dependencies declaration as we now have the bom

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-07-25 21:23:57 +10:00
Ludovic Orban c9a5d8df58 #6322 Use RetainableByteBuffer and write a new pool for it
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-24 11:14:21 +02:00
Joakim Erdfelt 713136fb0e
Issue #5684 - Update TLS tests
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-23 13:33:57 -05:00
Joakim Erdfelt c4021023ee
Merge pull request #6526 from eclipse/jetty-10.0.x-6520-errorhandler-valid-xhtml-xml
Issue #6520 - Fixing ErrorHandler output of text/html
2021-07-23 12:56:17 -05:00
Joakim Erdfelt 5e2f14fd63
Merge pull request #6534 from eclipse/jetty-10.0.x-update-jdk-build-test
Update Build to work with JDK 17
2021-07-23 11:36:37 -05:00
Joakim Erdfelt 5485f8357e
Fixing profile jdk range start
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 15:30:38 -05:00
Joakim Erdfelt 43954e7325
Fix javadoc issues
+ <td valign=""> attribute not supported
+ bad </p> in @param tag

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 07:46:00 -05:00
Joakim Erdfelt 730921fcc5
Disable spotbugs & jacoco plugins on JDK17
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 07:45:13 -05:00
Joakim Erdfelt a37a3f31ca
Add TODO to remove JDK16 builds
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 07:44:42 -05:00
Joakim Erdfelt 3f0660e9e1
Bumping weld to 3.1.8.Final
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 05:56:19 -05:00
Joakim Erdfelt bbf1d7a870
Adding build/test for jdk-17 ea releases
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-21 15:51:50 -05:00
Olivier Lamy 6f3a694250
cherry-pick hazelcast remote distribution test from 9.4.x (#6068) (#6516)
* cherry-pick jetty hazelcast remote distribution test from jetty-9.4.x (#6068)

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-07-20 15:38:46 +10:00
Joakim Erdfelt cb2aeb3c7a
Issue #6520 - Fixing ErrorHandler output of text/html
+ Updating tests to ensure that output is xml verified
+ Updating output to use `<hr>` element properly.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-16 20:15:55 -05:00
Joakim Erdfelt 94d1a67329
Issue #6515 - Adding Test to ensure that ClasspathPattern doesn't need prepend anymore.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-16 13:37:12 -05:00
Simone Bordet 34c03ddf1d Fixed cross references from "link:#" to "xref:".
Fixed links prepending "link:".
Fixed Asciidoctor errors reported during build.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-07-16 17:11:13 +02:00
Simone Bordet f240d7ac42 Updated plugin to redact the Jetty version.
This allows to generate the documentation for a version different than the POM's.

Updated Asciidoctor attributes, removing the unused ones and converting them
all to kebab-case (lower case separated by dash), as Asciidoctor requires them
to be lowercase.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-07-16 17:11:13 +02:00
Lachlan 8f80c59946
Merge pull request #6507 from eclipse/jetty-10.0.x-6277-updateVersionTxt
Issue #6277 - update VERSION.txt with SessionListener CVE number
2021-07-14 10:57:30 +10:00
Joakim Erdfelt 110e8bbbdb
Merge pull request #6511 from eclipse/jetty-10.0.x-6487-expose-chainend-servletholder
Issue #6487 - expose ServletHolder in ChainEnd (Jetty 10)
2021-07-12 07:11:43 -05:00
Jan Bartel a760f71c74
Issue #6431 Update to jasper 9.0.48 (#6436)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-07-12 11:20:40 +10:00
Joakim Erdfelt fd7a399e78
Issue #6487 - expose ServletHolder in ChainEnd
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-08 16:21:20 -05:00
Joakim Erdfelt 535bd628b3
Merge pull request #6505 from eclipse/jetty-10.0.6-update-versiontxt
Update VERSION.txt (from releases in jetty-9.4.x)
2021-07-08 12:13:02 -05:00
Simone Bordet c1eca6b7b6 Issue 5805 - Documentation images
Now the plantuml generated images will be in the `images/` directory
and any external image linked should also be saved in the `images/` directory.

Unfortunately this does not render well in the IntelliJ editor,
but it renders correctly in the HTML documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-07-08 16:44:14 +02:00