Commit Graph

23296 Commits

Author SHA1 Message Date
dependabot[bot] 3af084ee3a
Bump json-smart from 2.3 to 2.4.7 (#6763)
Bumps [json-smart](https://github.com/netplex/json-smart-v2) from 2.3 to 2.4.7.
- [Release notes](https://github.com/netplex/json-smart-v2/releases)
- [Commits](https://github.com/netplex/json-smart-v2/commits)

---
updated-dependencies:
- dependency-name: net.minidev:json-smart
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-10 10:27:17 +10:00
Jan Bartel 3b04e5af97
Issue #6735 Fix xml for infinispan-remote-query and infinispan-embedded-query (#6747)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-09-10 10:12:05 +10:00
Padraic Renaghan 96945c7e10
Issue #6752 DefaultSessionCache more extensible using ConcurrentMap (#6753)
DefaultSessionCache is designed to be extended, by virtue of its protected session map. Subclasses can set their own map instance instead. However the session map is specified as ConcurrentHashMap, when it only needs to be ConcurrentMap.
Changed data type to ConcurrentMap to allow for wider options for subclasses, such as those wanted to use Caffeine's asMap() method which returns ConcurrentMap.
Although changing to even more relaxed Map would work, that does not provide as much clarity that the map will be used concurrently - therefore used ConcurrentMap instead.

Signed-off-by: Padraic Renaghan <padraic@renaghan.com>
2021-09-10 10:08:42 +10:00
dependabot[bot] 17bc566155
Bump google-cloud-datastore from 1.105.0 to 2.1.0 (#6762)
Bumps [google-cloud-datastore](https://github.com/googleapis/java-datastore) from 1.105.0 to 2.1.0.
- [Release notes](https://github.com/googleapis/java-datastore/releases)
- [Changelog](https://github.com/googleapis/java-datastore/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-datastore/compare/v1.105.0...v2.1.0)

---
updated-dependencies:
- dependency-name: com.google.cloud:google-cloud-datastore
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-10 08:49:26 +10:00
dependabot[bot] 27c67c5fcc
Bump maven.version from 3.6.3 to 3.8.2 (#6760)
Bumps `maven.version` from 3.6.3 to 3.8.2.

Updates `maven-plugin-api` from 3.6.3 to 3.8.2
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.6.3...maven-3.8.2)

Updates `maven-artifact` from 3.6.3 to 3.8.2
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.6.3...maven-3.8.2)

Updates `maven-core` from 3.6.3 to 3.8.2
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.6.3...maven-3.8.2)

Updates `maven-resolver-provider` from 3.6.3 to 3.8.2
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.6.3...maven-3.8.2)

---
updated-dependencies:
- dependency-name: org.apache.maven:maven-plugin-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven:maven-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven:maven-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven:maven-resolver-provider
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-10 08:48:19 +10:00
dependabot[bot] 784f0eb749
Bump maven-plugin-plugin from 3.6.0 to 3.6.1 (#6726)
Bumps [maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/apache/maven-plugin-tools/releases)
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.6.0...maven-plugin-tools-3.6.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-plugin-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-10 07:16:08 +10:00
dependabot[bot] 7955b1e59e
Bump openpojo from 0.8.13 to 0.9.1 (#6714)
Bumps [openpojo](https://github.com/OpenPojo/openpojo) from 0.8.13 to 0.9.1.
- [Release notes](https://github.com/OpenPojo/openpojo/releases)
- [Changelog](https://github.com/OpenPojo/openpojo/blob/master/doc/release_steps.txt)
- [Commits](https://github.com/OpenPojo/openpojo/compare/openpojo-0.8.13...openpojo-0.9.1)

---
updated-dependencies:
- dependency-name: com.openpojo:openpojo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-10 06:08:28 +10:00
dependabot[bot] 30b42d20d9
Bump org.apache.felix.framework from 6.0.3 to 7.0.1 (#6707)
Bumps org.apache.felix.framework from 6.0.3 to 7.0.1.

---
updated-dependencies:
- dependency-name: org.apache.felix:org.apache.felix.framework
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 17:41:52 +10:00
Greg Wilkins ae31c3b576
Bump jnr-unixsocket from 0.38.3 to 0.38.10 (#6712) (#6751)
* Bump jnr-unixsocket from 0.38.3 to 0.38.10

Bumps [jnr-unixsocket](https://github.com/jnr/jnr-unixsocket) from 0.38.3 to 0.38.10.
- [Release notes](https://github.com/jnr/jnr-unixsocket/releases)
- [Commits](https://github.com/jnr/jnr-unixsocket/compare/jnr-unixsocket-0.38.3...jnr-unixsocket-0.38.10)

---
updated-dependencies:
- dependency-name: com.github.jnr:jnr-unixsocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* update jnr dependencies

Bring on native unixdomain support!

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 16:28:41 +10:00
dependabot[bot] e4a71cdcaf
Bump maven.resolver.version from 1.6.1 to 1.7.1 (#6740)
Bumps `maven.resolver.version` from 1.6.1 to 1.7.1.

Updates `maven-resolver-util` from 1.6.1 to 1.7.1
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.6.1...maven-resolver-1.7.1)

Updates `maven-resolver-api` from 1.6.1 to 1.7.1
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.6.1...maven-resolver-1.7.1)

Updates `maven-resolver-spi` from 1.6.1 to 1.7.1
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.6.1...maven-resolver-1.7.1)

Updates `maven-resolver-connector-basic` from 1.6.1 to 1.7.1
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.6.1...maven-resolver-1.7.1)

Updates `maven-resolver-transport-file` from 1.6.1 to 1.7.1
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.6.1...maven-resolver-1.7.1)

Updates `maven-resolver-transport-http` from 1.6.1 to 1.7.1
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.6.1...maven-resolver-1.7.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.resolver:maven-resolver-util
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-spi
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-connector-basic
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-file
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 14:07:43 +10:00
Olivier Lamy 4487a2ec7c
follow up of hazelcast upgrade with .mod files as well (#6736)
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-09-09 14:05:08 +10:00
Jan Bartel b236fb6675
Issue #6677 Update to Apache Jasper 9.0.52 (#6689)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-09-09 12:07:13 +10:00
Greg Wilkins 0b0c231597
Simple Example in README (#6727)
* Simple Example in README

Simple Example in README

* updates from review
2021-09-09 11:32:16 +10:00
dependabot[bot] e7294c5fda
Bump maven-artifact-transfer from 0.12.0 to 0.13.1 (#6724)
Bumps [maven-artifact-transfer](https://github.com/apache/maven-artifact-transfer) from 0.12.0 to 0.13.1.
- [Release notes](https://github.com/apache/maven-artifact-transfer/releases)
- [Commits](https://github.com/apache/maven-artifact-transfer/compare/maven-artifact-transfer-0.12.0...maven-artifact-transfer-0.13.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.shared:maven-artifact-transfer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 10:21:26 +10:00
dependabot[bot] 67011121f9
Bump hazelcast.version from 4.1 to 4.2.2 (#6732)
Bumps `hazelcast.version` from 4.1 to 4.2.2.

Updates `hazelcast` from 4.1 to 4.2.2
- [Release notes](https://github.com/hazelcast/hazelcast/releases)
- [Commits](https://github.com/hazelcast/hazelcast/compare/v4.1...v4.2.2)

Updates `hazelcast-all` from 4.1 to 4.2.2

---
updated-dependencies:
- dependency-name: com.hazelcast:hazelcast
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.hazelcast:hazelcast-all
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 10:20:47 +10:00
dependabot[bot] be327f377a
Bump jmh.version from 1.26 to 1.33 (#6719)
Bumps `jmh.version` from 1.26 to 1.33.

Updates `jmh-core` from 1.26 to 1.33

Updates `jmh-generator-annprocess` from 1.26 to 1.33

---
updated-dependencies:
- dependency-name: org.openjdk.jmh:jmh-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 08:09:33 +10:00
dependabot[bot] d96f7fe9f8
Bump gson from 2.8.6 to 2.8.8 (#6721)
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.8.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.8)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 20:44:49 +10:00
dependabot[bot] 5d59f4072b
Bump xmemcached from 2.4.6 to 2.4.7 (#6710)
* Bump xmemcached from 2.4.6 to 2.4.7

Bumps [xmemcached](https://github.com/killme2008/xmemcached) from 2.4.6 to 2.4.7.
- [Release notes](https://github.com/killme2008/xmemcached/releases)
- [Commits](https://github.com/killme2008/xmemcached/compare/xmemcached-2.4.6...xmemcached-2.4.7)

---
updated-dependencies:
- dependency-name: com.googlecode.xmemcached:xmemcached
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* update mod file as well

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-09-08 20:21:11 +10:00
Lachlan aa75d0430c
Merge pull request #6698 from eclipse/jetty-10.0.x-6696-WebSocketUpgradeRequest
Issue #6696 - don't keep Request object in the WebSocketNegotiation after upgrade
2021-09-08 19:03:54 +10:00
Simone Bordet 6023e13a01
Simplified release ticklist. (#6700)
Integrated test bullets into main ticklist.
Normalized spaces at 2 rather than 3 or 4.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-09-08 09:31:08 +02:00
dependabot[bot] 97f62e406c
Bump h2spec-maven-plugin from 1.0.6 to 1.0.7 (#6706)
Bumps [h2spec-maven-plugin](https://github.com/jetty-project/h2spec-maven-plugin) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jetty-project/h2spec-maven-plugin/releases)
- [Commits](https://github.com/jetty-project/h2spec-maven-plugin/compare/h2spec-maven-plugin-1.0.6...h2spec-maven-plugin-1.0.7)

---
updated-dependencies:
- dependency-name: org.mortbay.jetty:h2spec-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 14:05:22 +10:00
dependabot[bot] 97cf944dfe
Bump jnr-constants from 0.10.0 to 0.10.2 (#6703)
Bumps [jnr-constants](https://github.com/jnr/jnr-constants) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/jnr/jnr-constants/releases)
- [Commits](https://github.com/jnr/jnr-constants/compare/jnr-constants-0.10.0...jnr-constants-0.10.2)

---
updated-dependencies:
- dependency-name: com.github.jnr:jnr-constants
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 13:53:22 +10:00
Joakim Erdfelt eb0755dfb2
Adding back dependabot configuration (#6686)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-09-08 10:40:51 +10:00
Simone Bordet 0bd15e0831
Fixes #6693 - FastCGI review (#6694)
* Fixes #6693 - FastCGI review

- Removed code supporting multiplex in the client.
- Removed code supporting multiplex in the server.
- Reworked the server-side processing of a request, now more similar to HTTP/1.1.
- Improved javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-09-07 09:57:31 +02:00
Lachlan Roberts 2aa966a854 Issue #6696 - change method name to WebSocketNegotiation.upgrade()
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-09-07 10:19:51 +10:00
Ludovic Orban 2231e6496e update javadoc of input state methods
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-09-06 15:47:07 +02:00
Ludovic Orban cd4166ce5b update HttpInput puml diagrams
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-09-06 15:47:07 +02:00
Lachlan Roberts d41a297352 Issue #6696 - don't keep Request object in the WebSocketNegotiation after upgrade
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-09-06 17:14:53 +10:00
Lachlan dff5e14bb5
Merge pull request #6680 from eclipse/jetty-10.0.x-6601-WebSocketJPMS
Issue #6601 - fix JPMS issues for websocket-core-common
2021-09-02 10:24:08 +10:00
Jan Bartel db1c65564f
Issue #6327 Remove/re-enable disabled ShutdownMonitorTest tests (#6630)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-09-02 10:18:44 +10:00
Simone Bordet e2690cc420
Fixes #6603 - HTTP/2 max local stream count exceeded (#6639) (#6682)
* Fixes #6603 - HTTP/2 max local stream count exceeded (#6639)

Made MAX_CONCURRENT_STREAMS setting work on a per-connection basis.
Updated Pool javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
(cherry picked from commit 525fcb3119)
2021-09-01 10:27:40 +02:00
Joakim Erdfelt f129770f4e
Bump slf4j to 2.0.0-alpha5 (#6684)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-08-31 09:53:15 -05:00
Lachlan 0a78b9845d
Merge pull request #6657 from eclipse/jetty-10.0.x-6642-WebSocketConnectionHeaders
Issue #6642 - WebSocket handling of Connection: upgrade,close.
2021-08-31 14:25:47 +10:00
Lachlan Roberts 59a5b7c9ef Changes from review.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-31 11:28:59 +10:00
Lachlan Roberts edcb215ac7 Issue #6642 - use request UPGRADE_CONNECTION_ATTRIBUTE instead of 101 response.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-31 10:51:45 +10:00
Lachlan 453bcbb8c5
Merge pull request #6635 from eclipse/jetty-10.0.x-6566-WebSocketMessageSinks
Issue #6566 - use the demand API for the websocket MessageSinks
2021-08-31 10:19:58 +10:00
Lachlan Roberts 763820e111 ByteBufferCallbackAccumulator.writeTo should do buffer flipping
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-30 14:58:16 +10:00
Lachlan Roberts b2657f1376 fix broken tests: use buffer.remaining() instead of BufferUtil.space()
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-30 12:45:32 +10:00
Lachlan Roberts ead1f6b160 Issue #6601 - export websocket-core-common to jetty-util for DecoratedObjectFactory
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-30 11:43:54 +10:00
Lachlan Roberts e64b390fd6 Issue #6601 - add proper JPMS testing for websocket-core
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-30 11:11:20 +10:00
Olivier Lamy 4be1e63bc1
Issue #6605 cherry-pick changes flaky test HttpOutputTest#testEmptyBufferKnown 10.0.x branch (#6651)
* #6605 testEmptyBufferKnown: make sure the assertion does not happen before the committed flag is read

Signed-off-by: Ludovic Orban <lorban@bitronix.be>

* #6605 rename test

Signed-off-by: Ludovic Orban <lorban@bitronix.be>

Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2021-08-28 19:28:02 +10:00
Lachlan Roberts 7569e4b07a Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-6566-WebSocketMessageSinks 2021-08-27 17:21:53 +10:00
Lachlan Roberts 2d4693a288 Issue #6642 - check for null Metadata in HttpConnection
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-27 14:51:07 +10:00
Lachlan f10ae7c955
Merge pull request #6649 from eclipse/jetty-10.0.x-jetty-jaspi
Issue #6406 - backport of jetty-jaspi changes to jetty-10 (#6412)
2021-08-27 13:20:51 +10:00
Lachlan 5954fc2ca2
Merge pull request #6569 from eclipse/jetty-10.0.x-6554-SecurityHandler
Issue #6554 - create the DefaultIdentityService even if no realmName is provided
2021-08-27 13:12:35 +10:00
Lachlan Roberts 949aa6c342 Issue #6642 - move shutdown logic into HttpChannelOverHTTP and HttpConnection
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-27 11:53:54 +10:00
Lachlan Roberts 1dce9df48d Issue #6566 - cleanups of ByteBufferCallbackAccumulator
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-27 11:49:18 +10:00
Lachlan Roberts 4d579d682c Issue #6406 - backport jetty-jaspi changes to 10.0.x
Co-authored-by: Frode Carlsen <frode.odde.carlsen@nav.no>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-27 11:30:16 +10:00
Joakim Erdfelt c5a33e27d2
Issue #5684 - Windows test overhaul (#6581)
Issue #5684 - Window's test overhaul

+ Migrate from @DisabledOnOs(WINDOWS) to assumptions on capabilities instead.
+ Fix other outstanding windows testing issues.
+ Cleanup FileBufferedResponseHandlerTest expectations on Windows.
+ PathWatcher scan interval is variable on windows
+ If unable to start testcase based on assumption,
  the stop shouldn't fail testcase
+ Increase various wait timeouts
+ Make tests less strict due to system speed issues
+ Disable Sni tests due to TLS behaviors differences in Windows
  + Windows TLSv1.3 seems to introduce this difference
  + If we restrict to TLSv1.2 this passes.
  + 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 on Windows will result in a
  + javax.net.ssl.SSLException: Software caused connection abort: recv failed
+ Disable ConcurrentStreamCreationTest
  + Not possible to create all of these streams.
+ Fixing DeploymentTempDirTest
  + Using unique workdir per testcase.
  + Don't expect to delete files / directories between tests
    (not supported on windows due to file locking anyway)
 + Fixing line ending difference on windows
 + InvalidPathException is a 404 Not Found
 + Cannot reuse test directory between runs due to memory mapped files that are still in use from previous run.
 + java.nio.file.FileSystemException: C:\code\jetty.project\jetty-webapp\target\tests\welcome#\index.html: The requested operation cannot be performed on a file with a user-mapped section open.

	at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
	at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
	at java.base/java.nio.file.Files.newOutputStream(Files.java:220)
	at org.eclipse.jetty.webapp/org.eclipse.jetty.webapp.WebAppDefaultServletTest.prepareServer(WebAppDefaultServletTest.java:84)

 + As is typical on windows, we are often unable to delete a file due to file locking issues.
 + Use a unique resource base between tests.
   This is to avoid file locking behaviors that prevent the
   resource base from being reused too quickly on windows.
 + Prevent test run if symlinks not supported
 + Allowing for Windows slosh char as well in asserts
 + SelectorUtils is File.separator dependent
 + Regex is now FS.separator independent
 + Using SelectorUtils from plexus correctly for include/exclude
 + Turning off mapped files for testing reasons.
 + Fix and re-enable RFC2616NIOHttpsTest
 + Issue #6552 - Fix test failures due to slf4j dep
 + Issue #6552 - upgrade testcontainers
 + Issue #6552 - move to assumption based docker existence
 + Issue #6552 - Fix enforcer rule violation on jna.
  Addresses the following side effect of upgrading testcontainers.

[WARNING] Rule 3: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for net.java.dev.jna:jna:5.6.0 paths to dependency are:
+-org.eclipse.jetty:infinispan-remote-query:10.0.7-SNAPSHOT
  +-org.testcontainers:testcontainers:1.16.0
    +-com.github.docker-java:docker-java-transport-zerodep:3.2.11
      +-net.java.dev.jna:jna:5.6.0 (managed) <-- net.java.dev.jna:jna:5.8.0

 + use annotation to disable test when docker not available and needed
 + Disabling FileSessionDistributionTests.stopRestartWebappTestSessionContentSaved on Windows
 + Using TLS basic
 + Programmatic removal of memory mapped behavior during testing
 + Fixing slf4j warning

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-08-26 11:26:46 -05:00
Lachlan Roberts 83f2265653 Issue #6642 - never shutdown output after generating a request.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-26 14:18:28 +10:00