Commit Graph

18915 Commits

Author SHA1 Message Date
Joakim Erdfelt 242f6621ae Issue #5684 - Fixing DeploymentTempDirTest
Using unique workdir per testcase.
Don't expect to delete between tests (not supported on windows due to file locking anyway)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-08-02 09:15:09 -07:00
Joakim Erdfelt 1c16aa8993 Issue #5684 - Disable ConcurrentStreamCreationTest
+ Not possible to create all of these streams.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-08-02 07:31:09 -07:00
Joakim Erdfelt 60bfc75ce4 Issue #5684 - Disabled TLSv1.3 tests on windows
If we restrict to TLSv1.2 this passes.

But on TLSv1.3 is a behavior differences between Linux and Windows.

On Linux TLSv.13 on client side will always return a
javax.net.ssl.SSLHandshakeException in those test cases that expect it.

However, on Windows, Only the TLSv1.2 implementation will return a javax.net.ssl.SSLHandshakeException,

All other TLS versions will result in a
javax.net.ssl.SSLException: Software caused connection abort: recv failed

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-08-02 06:54:49 -07:00
Joakim Erdfelt 18f32da373 Issue #5684 - make test less strict due to system speed issues
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-08-02 05:06:37 -07:00
Joakim Erdfelt 93e47a6a66 Issue #5684 - increase timeout
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-08-02 05:06:06 -07:00
Joakim Erdfelt 75c7ce200c Issue #5684 - if unable to start, the stop shouldn't fail
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-08-02 05:05:50 -07:00
Joakim Erdfelt 500e6f2762 Issue #5684 - scan interval is variable on windows
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-08-02 05:05:32 -07:00
Joakim Erdfelt fb1c85496c Issue #5684 - Restrict behaviors to TLSv1.2
+ Windows TLS behaviors between
  OpenJDK 8 and OpendJDK 11
  and even between TLS versions
  make the test unreliable.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-30 15:03:03 -07:00
Joakim Erdfelt 87912d8852 Issue #5684 - Window's test overhaul
+ Cleanup FileBufferedResponseHandlerTest expectations on Windows.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-30 11:04:13 -07:00
Joakim Erdfelt 7741ecc1e5 Issue #5684 - Window's test overhaul
+ Migrate from @DisabledOnOs(WINDOWS) to assumptions on capabilities instead.
+ Fix other outstanding windows testing issues.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 15:02:45 -07:00
Joakim Erdfelt cbb3a550cc
Merge pull request #6549 from eclipse/jetty-9.4.x-remove-dead-useragents-file
Remove unused (and currently empty) useragents file
2021-07-27 12:53:23 -05:00
Joakim Erdfelt 90e8b2a358
Merge pull request #6548 from eclipse/jetty-9.4.x-6545-refresh-mimetypes
Issue #6545 - Add more mime-types
2021-07-27 11:47:55 -05:00
Joakim Erdfelt 9626dbab35
Remove unused (and currently empty) useragents file
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 10:33:54 -05:00
Joakim Erdfelt dae361ff26
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 10:31:44 -05:00
Ludovic Orban 88c383e54b #6491 add test
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-27 11:51:08 +02:00
Ludovic Orban 64a7dda668 #6491 introduce HttpParser.isTerminated()
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-27 11:51:08 +02:00
Ludovic Orban 54763edf33 #6491 add defensive check
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-27 11:51:08 +02:00
Joakim Erdfelt cd20770548
Merge pull request #6419 from eclipse/jetty-9.4.x-remove-disabled-tls-tests
Issue #5684 - Client and HttpServerTestBase disabled test cleanup
2021-07-23 13:01:19 -05:00
Joakim Erdfelt 6782b24d29
Merge pull request #6525 from eclipse/jetty-9.4.x-6520-errorhandler-valid-xhtml-xml
Issue #6520 - Fixing ErrorHandler output of text/html
2021-07-16 20:14:37 -05:00
Joakim Erdfelt 22c4855aaa
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 14:01:03 -05:00
Joakim Erdfelt c6d8bfc973
Merge pull request #6517 from eclipse/jetty-9.4.x-classpathpatterntest-prepend-not-needed
Issue #6515 - Adding Test to ensure that ClasspathPattern doesn't need prepend anymore
2021-07-16 13:35:34 -05:00
Joakim Erdfelt 56cd2800d6
Issue #6515 - Adding Test to ensure that ClasspathPattern doesn't need prepend anymore.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-14 12:18:45 -05:00
Lachlan 9d6db9e098
Merge pull request #6416 from eclipse/jetty-9.4.x-6366-OpenID-IdentityService
Issue #6366 - document how set IdentityService for OpenID support
2021-07-14 16:12:58 +10:00
Olivier Lamy a448e46ad7
jetty 9.4.x hazelcast remote distribution test (#6068)
* Add distribution test using a remote hazelcast only client true and false, false is failing with CNFE

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-07-13 21:03:54 +10:00
Jan Bartel bbdc459c59
Issue #6430 Upgrade to jasper 8.5.68 (#6435)
* Issue #6430 Upgrade to jasper 8.5.68

Signed-off-by: Jan Bartel <janb@webtide.com>
2021-07-12 11:20:08 +10:00
Lachlan 93d58a9bda
Merge pull request #6508 from eclipse/jetty-9.4.x-6277-updateVersionTxt
Issue #6277 - update VERSION.txt with SessionListener CVE number (9.4)
2021-07-09 15:17:25 +10:00
Joakim Erdfelt 2cf5428869
Merge pull request #6488 from eclipse/jetty-9.4.x-6487-expose-chainend-servletholder
Issue #6487 - expose ServletHolder in ChainEnd
2021-07-08 16:19:16 -05:00
Lachlan Roberts 1cde3d0fee Issue #6277 - update VERSION.txt with CVE number
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-07-08 17:19:36 +10:00
Ludovic Orban 8c2116c185 #6443 wait for handshake to be done before closing the socket
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-07 17:14:23 +02:00
Joakim Erdfelt ac81aa3d00
Merge pull request #6502 from eclipse/release-9.4.43
Merge Release 9.4.43
2021-07-07 08:20:59 -05:00
Joakim Erdfelt 1dd66adf6f
Issue #6487 - expose ServletHolder in ChainEnd
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-06-30 12:25:35 -05:00
Joakim Erdfelt e37a708c40 Updating to version 9.4.44-SNAPSHOT 2021-06-30 06:30:31 -05:00
Joakim Erdfelt 526006ecfa Updating to version 9.4.43.v20210629 2021-06-30 05:57:49 -05:00
Lachlan 40535f1cd7
Merge pull request #6486 from eclipse/jetty-9.4.x-6470-MessageInputStreamEOF
Issue #6470 - prevent EOF being released back into pool in MessageInputStream
2021-06-30 19:24:44 +10:00
Lachlan Roberts 039a539aa0 Issue #6470 - prevent EOF being released back into pool
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-30 16:39:00 +10:00
Simone Bordet f045b5a3ba
Issue #6473 - Improve alias checking in PathResource. (#6477)
* Issue #6473 - Improve alias checking in PathResource.

* Reverted %-escape handling for URI query parts.
* Performing canonicalization in ServletContext.getResource(),
  and improving alias checking in ContextHandler.getResource().
* Performing canonicalization checks in Resource.addPath() to avoid
  navigation above of the root.
* Test added and fixed.
* Various cleanups.
* Improved javadoc and comments

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2021-06-29 15:40:45 +02:00
Ludovic Orban 16d8b239cf #6455 disable MaxDuration mechanism in testConnectionMaxUsage as it clashes with the test's assertions
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-06-28 11:01:17 +02:00
Greg Wilkins 122a78aafc
Issue #6473 - canonicalPath refactor & fix alias check in PathResource (#6474)
Reduce multiple canonicalPath calls with single alias check in PathResource
Revert to decoding and the normalizing URLs so that subsequent canonicalPath calls are noops. 
Co-authored-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-28 17:10:11 +10:00
Lachlan a02ade7709
Merge pull request #6456 from eclipse/jetty-9.4.x-6383-FileBufferedResponseHandler
Merge fix to BufferedResponseHandlerTest to 9.4.x
2021-06-28 10:52:46 +10:00
Lachlan a3effb19c4
Issue #6447 - Deprecate support for UTF16 encoding in URIs (#6467)
- Merge from PR #6457.
- Also brought some other ComplianceModes back to disable ambiguous empty segments, and ambiguous encodings.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-24 17:16:56 +10:00
Lachlan 97b52e4e23
Merge pull request #6462 from eclipse/jetty-9.4.x-documentationFix
fix documentation format in community.adoc
2021-06-23 22:50:29 +10:00
Lachlan Roberts 4289716807 fix documentation format in community.adoc
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-23 15:02:25 +10:00
Lachlan 152217a939
Merge pull request #6459 from eclipse/jetty-9.4.x-remove-irc
Fix #6442 Remove IRC
2021-06-23 15:00:01 +10:00
Jan Bartel 7f0b69a9d5
Issue #6426 Upgrade to spifly 1.3.3 (#6449) (#6458)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-23 08:43:51 +10:00
Greg Wilkins 7fde68d1d1
Update community.adoc 2021-06-22 17:14:59 +10:00
Greg Wilkins 678af90623
Fix #6442 Remove IRC
Fix #6442 Remove IRC from contributing documentation
2021-06-22 16:45:43 +10:00
Lachlan Roberts e14047839d Issue #6383 - Make FileBufferedInterceptor package private
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-22 10:03:57 +10:00
Lachlan Roberts c490a10621 Issue #6383 - Fix flaky test FileBufferedResponseHandlerTest
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-22 10:03:08 +10:00
Jan Bartel 52a72eea85
Issue #6425 Upgrade to asm 9.1 (#6439) (#6448)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-22 09:46:29 +10:00
Simone Bordet 734d3b672c Fixes #6382 - HttpClient TimeoutException message reports transient values.
Now using consistently HttpConversation.getTimeout() to report the accurate value.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-06-21 17:10:47 +02:00