Commit Graph

24528 Commits

Author SHA1 Message Date
Simone Bordet 3c35b2dce4
Merge pull request #8624 from eclipse/jetty-10.0.x-inputstreamresponselistener-autolock
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-09-27 12:45:38 +02:00
Simone Bordet 39bf8ff24d
Fixes #8623 - Use AutoLock in InputStreamResponseListener.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-09-27 12:39:20 +02:00
Joakim Erdfelt ab2a65f74f
Rework GitHub Projects tasks (#8588)
* Rework GitHub Projects tasks
2022-09-23 10:07:58 -05:00
Greg Wilkins 47c289188e
Fix #8536 HotSwap start race (#8544)
Don't stop until after new handler installed.
2022-09-23 16:54:21 +10:00
Lachlan 2ebc4d8223
Merge pull request #8599 from eclipse/jetty-10.0.x-7286-websocketWriteTimeout
Issue #7286 - fix potential issue with websocket write timeout
2022-09-23 14:38:55 +10:00
Joakim Erdfelt ebfb7c63bb
Bump log4j2 to 2.19.0 (#8605)
* Bump log4j2 to 2.19.0
+ Remove old exclusions to log4j in infinispan
  (no longer relevant)
* fix usage of log4j-slf4j2-impl

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
Co-authored-by: Olivier Lamy <oliver.lamy@gmail.com>
2022-09-22 17:38:48 +10:00
Vincent Latombe 090104d643
Allow to pass instances of ClientConfig and Config to Hazelcast data store factory (#8600)
* Allow to pass instances of ClientConfig and Config to Hazelcast data store factory

This increases flexibility when configuring it programmatically.

Patterns such as

HazelcastSessionDataStoreFactory f = new HazelcastSessionDataStoreFactory();
f.setOnlyClient(true);
f.setClientConfig(ClientConfig.load());

or

HazelcastSessionDataStoreFactory f = new HazelcastSessionDataStoreFactory();
f.setServerConfig(Config.load());

can then be used to configure Hazelcast according to standard Hazelcast
locations if needed.

Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2022-09-22 07:38:28 +10:00
Jochen Schalanda 35fe649749
Bump Logback to version 1.4.1 (#8604)
> # 2022-09-14 Release of logback versions 1.3.1 and 1.4.1
> Logback components written for logback 1.2 should work without change in version 1.3. However, Joran, logback's configuration system, has been rewritten to use an internal representation model which can be processed separately. Thus, code depending on Joran needs to be adapted to changes in Joran (logback's internal configuration mechanism).
> 
> As a result of enhancements to Joran, logback configuration scripts are now largely order-free. For example, appenders can now be defined after they are first referenced in a logger. Moreover, unreferenced appenders are no longer instantiated.
> 
> - Logback-classic now correctly invokes DefaultJoranConfigurator when running in a (JPMS) modular environment. This fixes LOGBACK-1670 reported by Alexey Gavrilov who also provided the relevant test case.
> -Logback will now correctly retrieve its own version information when running in a (JPMS) modular environment. This fixes LOGBACK-1677.
> - Logback version 1.3.1 now correctly declares javax.servlet.ServletContainerInitializer as a provided service. This fixes LOGBACK-1671 as reported by Chad Wilson.
2022-09-21 07:14:20 -05:00
Jochen Schalanda 1bc0c0634a
Bump SLF4J to version 2.0.2 (#8603)
SLF4J 2.0.0, 2.0.1, and 2.0.2 have been released recently.

https://www.slf4j.org/news.html

> # 2022-09-20 - Release of SLF4J 2.0.2
> - Fixed bug in the setContextMap() method of Reload4jMDCAdapter. This issue was reported in [SLF4J-563](https://jira.qos.ch/browse/SLF4J-563) by Michael Wartes.
> - The binary of this version can be reproduced by checking out the tag v_2.0.2 from the source code repository (GitHub). Release built using Java "18" 2022-03-22 build 18+36-2087 under Linux Debian 11.2.
> # 2022-09-14 - Release of SLF4J 2.0.1
> - The Logger.makeLoggingEventBuilder method semantics has changed so that overriding implementations should now always build a new LoggingEventBuilder instance as appropraiate for the implementation, i.e the logging backend. For more details see [SLF4J-560](https://jira.qos.ch/browse/SLF4J-560).
> - Deprecated unused LoggerFactoryBinder and MarkerFactoryBinder classes. This issue was raised in [SLF4J-555](https://jira.qos.ch/browse/SLF4J-555) by Witalij Berdinskich who provided the relevant patch.
> - The binary of this version can be reproduced by checking out the tag v_2.0.1 from the source code repository (GitHub). Release built using Java "18" 2022-03-22 build 18+36-2087 under Linux Debian 11.2.
> 
> # 2022-08-20 - Release of SLF4J 2.0.0
> The the 2.0.x series requires Java 8 and adds a backward-compatible [fluent logging api](https://www.slf4j.org/manual.html#fluent).
> 
> Moreover, SLF4J has been modularized per [JPMS/Jigsaw](http://openjdk.java.net/projects/jigsaw/spec/) specification. The resulting internal changes are [detailed](https://www.slf4j.org/faq.html#changesInVersion200) in the FAQ page.
SLF4J 2.0.x series requires Java 8. It builds upon the 1.8.x series and adds a backward-compatible [fluent logging api](https://www.slf4j.org/manual.html#fluent). By backward-compatible, we mean that existing logging frameworks do not have to be changed for the user to benefit from the fluent logging API. However, existing frameworks must migrate to the ServiceLoader mechanism. The resulting internal changes are [detailed](https://www.slf4j.org/faq.html#changesInVersion200) in the FAQ page.
> - Except minor javadoc changes, this release is identical to 2.0.0-beta1 released earlier this month.
> - The binary of this version can be reproduced by checking out the tag v_2.0.0 from the source code repository (GitHub). Release built using Java "18" 2022-03-22 build 18+36-2087 under Linux Debian 11.2.
2022-09-21 07:14:09 -05:00
Lachlan Roberts b2b7517297 Issue #7286 - fix potential issue with websocket write timeout
Let websocket-core handle any idleTimeout & writeTimeouts instead of bad attempt to do it in Jetty/Javax API layers.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-09-19 19:04:08 +10:00
Lachlan 6b2db685cd
Merge pull request #8473 from eclipse/jetty-10.0.x-WebSocketUpgradeHandler-Configuration
add getter for the WebSocketUpgradeHandler configuration
2022-09-19 10:51:33 +10:00
Olivier Lamy dbd07146ec
merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593)
* Updating to version 10.0.12

* Updating to version 10.0.13-SNAPSHOT

* VERSION.TXT =+ content of jetty-9.4.49.v20220914 release

* remove strange line and reorder
2022-09-16 19:50:12 +10:00
Simone Bordet 8d2b182afe
Fixes #8558 - Idle timeout occurs on HTTP/2 with InputStreamResponseListener.
Fixed override of reset().

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-09-15 11:01:45 +02:00
Simone Bordet dab4fe60d3
Fixes #8558 - Idle timeout occurs on HTTP/2 with InputStreamResponseL… (#8585)
* Fixes #8558 - Idle timeout occurs on HTTP/2 with InputStreamResponseListener.

The issue was that HttpReceiverOverHTTP2.ContentNotifier.offer() was racy,
as a network thread could have offered a DATA frame, but not yet called
process() -- yet an application thread could have stolen the DATA frame
completed the response and started another response, causing the network
thread to interact with the wrong response.

The implementation has been changed so that HttpReceiverOverHTTP2.ContentNotifier
does not have a queue anymore and it demands DATA frames to the Stream
only when the application demands more -- a simpler model that just forwards
the demand.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-09-15 10:18:36 +02:00
Olivier Lamy 270f491ea8
add a step to push tag to a fork (#8577)
* add a step to push tag to a fork
* add creation of branch release/
2022-09-15 07:14:48 +10:00
Joakim Erdfelt 2a49f86658
Merge pull request #8580 from eclipse/fix/jetty-10.0.x-proxy-rewrite-null-uri
Issue #8578 - `getRequestURL` can append "null" if `getRequestURI` is unspecified in an authority-form request-target
2022-09-13 09:39:39 -05:00
Joakim Erdfelt 8eba1c9924
Issue #8578 - Changes from review
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-09-12 09:55:14 -05:00
Joakim Erdfelt a6a386a6cc
Issue #8578 - restore backward compat of getRequestURL and getRequestURI when working with CONNECT method
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-09-09 15:11:46 -05:00
dependabot[bot] 3df45b92de
Merge pull request #8569 from eclipse/dependabot/maven/jetty-10.0.x/com.fasterxml.jackson.core-jackson-databind-2.13.4 2022-09-09 00:44:37 +00:00
dependabot[bot] 2b2889c6cd
Merge pull request #8566 from eclipse/dependabot/maven/jetty-10.0.x/org.codehaus.mojo-versions-maven-plugin-2.12.0 2022-09-08 22:45:35 +00:00
dependabot[bot] 3c004043e1
Bump jackson-databind from 2.13.3 to 2.13.4
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.3 to 2.13.4.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 21:58:36 +00:00
dependabot[bot] 6445affc96
Merge pull request #8572 from eclipse/dependabot/maven/jetty-10.0.x/com.fasterxml.jackson.core-jackson-core-2.13.4 2022-09-08 21:44:53 +00:00
dependabot[bot] dfa1e20df3
Merge pull request #8568 from eclipse/dependabot/maven/jetty-10.0.x/org.eclipse.tycho-tycho-p2-repository-plugin-2.7.5 2022-09-08 21:20:25 +00:00
dependabot[bot] 6904b4eca1
Bump jackson-core from 2.13.3 to 2.13.4
Bumps [jackson-core](https://github.com/FasterXML/jackson-core) from 2.13.3 to 2.13.4.
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.13.3...jackson-core-2.13.4)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 12:28:44 +00:00
dependabot[bot] c1ab3949ef
Merge pull request #8570 from eclipse/dependabot/maven/jetty-10.0.x/com.fasterxml.jackson.core-jackson-annotations-2.13.4 2022-09-08 12:27:24 +00:00
dependabot[bot] bb54a2058f
Bump versions-maven-plugin from 2.11.0 to 2.12.0
Bumps [versions-maven-plugin](https://github.com/mojohaus/versions-maven-plugin) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/mojohaus/versions-maven-plugin/releases)
- [Changelog](https://github.com/mojohaus/versions-maven-plugin/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/mojohaus/versions-maven-plugin/compare/versions-maven-plugin-2.11.0...versions-maven-plugin-2.12.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:versions-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 12:07:36 +00:00
dependabot[bot] e4fc142c86
Merge pull request #8562 from eclipse/dependabot/maven/jetty-10.0.x/com.github.spotbugs-spotbugs-maven-plugin-4.7.2.0 2022-09-08 12:06:09 +00:00
dependabot[bot] ba798bf218
Merge pull request #8561 from eclipse/dependabot/maven/jetty-10.0.x/io.hawt-hawtio-default-2.15.1 2022-09-08 12:05:18 +00:00
dependabot[bot] df1e4d80ea
Bump jackson-annotations from 2.13.3 to 2.13.4
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.13.3 to 2.13.4.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-annotations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 10:38:23 +00:00
dependabot[bot] d71b33c357
Bump tycho-p2-repository-plugin from 2.7.4 to 2.7.5
Bumps tycho-p2-repository-plugin from 2.7.4 to 2.7.5.

---
updated-dependencies:
- dependency-name: org.eclipse.tycho:tycho-p2-repository-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 10:37:58 +00:00
dependabot[bot] f9d920e6ba
Bump spotbugs-maven-plugin from 4.7.1.1 to 4.7.2.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.1.1 to 4.7.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.7.1.1...spotbugs-maven-plugin-4.7.2.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 10:36:14 +00:00
dependabot[bot] d81a564b8c
Bump hawtio-default from 2.15.0 to 2.15.1
Bumps [hawtio-default](https://github.com/hawtio/hawtio) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/hawtio/hawtio/releases)
- [Changelog](https://github.com/hawtio/hawtio/blob/main/CHANGES.md)
- [Commits](https://github.com/hawtio/hawtio/compare/hawtio-2.15.0...hawtio-2.15.1)

---
updated-dependencies:
- dependency-name: io.hawt:hawtio-default
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 10:36:07 +00:00
Olivier Lamy e89b985fd5
remove infinispan-remote from bom as it doesn't have to be here (#8554)
* remove infinispan-remote and  infinispan-embedded from bom as they doesn't have to be here
2022-09-07 13:46:59 +10:00
Simone Bordet 77ad0189ba
Fixes #8532 - Review System.nanoTime() usages. (#8535)
* Fixes #8532 - Review System.nanoTime() usages.

Introduced o.e.j.util.NanoTime class to deal with nanoTimes.

Now NanoTime.now() should be used instead of System.nanoTime(),
and various <unit>[elapsed|since|until]() methods to calculate nanoTimes.

Furthermore, comparing 2 nanoTimes should be done via isBefore(),
rather than using the < operator, which is wrong as specified in
the System.nanoTime() javadocs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-09-06 09:30:02 +02:00
MoonLord-LM df2826f0c3
Issue #8540, add classifier (#8541)
closes #8540
2022-09-03 13:54:22 +10:00
Joakim Erdfelt f2e9744a3c
Merge pull request #8499 from varunsh-coder/token-perms
[GitHub] Add minimum GitHub token permissions for workflows
2022-09-02 11:41:38 -05:00
dependabot[bot] fa13370000
Merge pull request #8516 from eclipse/dependabot/maven/jetty-10.0.x/org.mariadb.jdbc-mariadb-java-client-3.0.7 2022-09-02 06:37:31 +00:00
dependabot[bot] 2078fa368f
Merge pull request #8519 from eclipse/dependabot/maven/jetty-10.0.x/org.infinispan.protostream-protostream-4.4.4.Final 2022-09-02 06:35:03 +00:00
dependabot[bot] d0225dc102
Bump protostream from 4.4.3.Final to 4.4.4.Final
Bumps [protostream](https://github.com/infinispan/protostream) from 4.4.3.Final to 4.4.4.Final.
- [Release notes](https://github.com/infinispan/protostream/releases)
- [Commits](https://github.com/infinispan/protostream/compare/4.4.3.Final...4.4.4.Final)

---
updated-dependencies:
- dependency-name: org.infinispan.protostream:protostream
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-02 04:57:53 +00:00
dependabot[bot] 7fa2fbb114
Bump mariadb-java-client from 3.0.6 to 3.0.7
Bumps [mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.0.6...3.0.7)

---
updated-dependencies:
- dependency-name: org.mariadb.jdbc:mariadb-java-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-02 04:56:08 +00:00
Olivier Lamy 6b1eb1486b
remove some unused plugins from poms (#8534)
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2022-09-02 14:25:46 +10:00
Michael Weigmann 1b78db7be2
Use getSchemaTableName also in the create table statement (#8006)
When all other sql statements are built, this method is used for including the schema name in front of the table name (if specified). So to make it more consistent, it would be better to also create the table in the specified schema.

PS: Please indulge me for not opening an issue, as i think this optimization is pretty trivial and need no big discussion.

Signed-off-by: Michael Weigmann <michael.weigmann@hsh-berlin.com>

Signed-off-by: Michael Weigmann <michael.weigmann@hsh-berlin.com>
2022-09-02 14:18:27 +10:00
dependabot[bot] 7caeb3ba4c
Merge pull request #8507 from eclipse/dependabot/maven/jetty-10.0.x/com.google.errorprone-error_prone_annotations-2.15.0 2022-09-02 04:04:58 +00:00
dependabot[bot] 30eea1d717
Bump maven-javadoc-plugin from 3.4.0 to 3.4.1 (#8509)
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.4.0...maven-javadoc-plugin-3.4.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 16:25:38 -05:00
dependabot[bot] d3e0d55781
Bump error_prone_annotations from 2.14.0 to 2.15.0
Bumps [error_prone_annotations](https://github.com/google/error-prone) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](https://github.com/google/error-prone/compare/v2.14.0...v2.15.0)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 20:53:04 +00:00
dependabot[bot] 5808d1cc4d
Merge pull request #8513 from eclipse/dependabot/maven/jetty-10.0.x/com.puppycrawl.tools-checkstyle-10.3.3 2022-09-01 20:50:40 +00:00
dependabot[bot] 5695d8cf6f
Merge pull request #8515 from eclipse/dependabot/maven/jetty-10.0.x/org.codehaus.mojo-flatten-maven-plugin-1.3.0 2022-09-01 20:50:18 +00:00
Ludovic Orban de13ceff36 Fixes #8493: RemoveIdleDestinations's race condition and improve logging.
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-09-01 14:45:41 +02:00
dependabot[bot] 935d894872
Merge pull request #8522 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-checkstyle-plugin-3.2.0 2022-09-01 07:41:32 +00:00
dependabot[bot] 25925bd3c3
Merge pull request #8511 from eclipse/dependabot/maven/jetty-10.0.x/ch.qos.logback-logback-core-1.4.0 2022-09-01 06:08:20 +00:00