Commit Graph

18635 Commits

Author SHA1 Message Date
Lachlan Roberts a1aa5dcd14 Issue #5499 - use ByteBufferAccumulator for websocket compression
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-16 18:33:38 +11:00
Lachlan Roberts e7bed39239 Issue #5499 - add javadoc for ByteBufferAccumulator
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-13 09:56:32 +11:00
Lachlan Roberts e0031e0585 Issue #5499 - takeBuffer releases all the buffers in the list
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-13 09:22:57 +11:00
Simone Bordet dd9bdc7ac3 Fixes #5633 - Allow to configure HttpClient request authority.
Updated after review.
Added more tests.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-12 17:13:36 +01:00
Simone Bordet 96e4b38624 Fixes #5633 - Allow to configure HttpClient request authority.
Fixed initial session recv window update: it was wrong if the initial value was less than the default value (65535).

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-12 17:13:17 +01:00
Greg Wilkins f4c32e788a
Fix #5562 Improve HTTP Field cache allocation (#5565)
* Fix #5562 Improve HTTP Field cache allocation

Fix #5562 by initially putting cacheable fields into a inexpensive arraylist.
Only create the Trie (with space and complexity costs) if a second request is received.

* Fixed NPE

* Feedback from review

Create `HttpHeader.isPseudo()`` method
improved clarity with `createFieldCacheIfNeeded()``

* Feedback from review

Only defer Trie creation to first cacheable field, not until next request.

* Updates from review

* Update from review

 + more javadoc
 + empty set return
2020-11-12 17:05:32 +01:00
Lachlan Roberts d75e6de1b2 add takeByteBuffer method to ByteBufferOutputStream2
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-12 08:48:50 +11:00
Chris Walker 3660e38148
Fixes broken link to security reports. Resolves #5642 2020-11-11 14:18:50 -06:00
Jan Bartel 3a99c89350
Issue #5486 PropertyFileLoginModule retains PropertyUserStores (#5518)
* Issue #5486 PropertyFileLoginModule retains PropertyUserStores

Signed-off-by: Jan Bartel <janb@webtide.com>
2020-11-11 18:21:06 +01:00
Greg Wilkins bb886ad932
Fix #5575 SEARCH method (#5576)
+ Added all IANA methods
 + Used Trie for most lookups
 + Fixed ArrayTernayTrie lookup
 + optimised GET, POST and HEAD

Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-11 17:48:08 +01:00
Joakim Erdfelt 6b82637624
Merge pull request #5629 from eclipse/dependabot/maven/jetty-9.4.x/org.apache.maven.shared-maven-artifact-transfer-0.12.0
Bump maven-artifact-transfer from 0.11.0 to 0.12.0
2020-11-11 10:35:14 -06:00
Simone Bordet a308881fab Fixes #5633 - Allow to configure HttpClient request authority.
Introduced HttpDestination.send(Request, Response.CompleteListener) to send a request using the given destination.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-11 17:13:00 +01:00
Lachlan Roberts 595d4bfcc4 changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-11 22:18:26 +11:00
Lachlan 23f75a395b
Merge pull request #5599 from eclipse/jetty-9.4.x-XML-Review
Fixes to XML formatting and comments.
2020-11-11 13:55:26 +11:00
olivier lamy 8b3de3beb3 some build do not generate amnymore junit results
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-11-11 10:54:34 +10:00
olivier lamy 5ebc36c450 do not activate remote session tests for javadoc and compaact3 builds
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-11-11 07:36:50 +10:00
Ludovic Orban 30a916174d
Merge pull request #5571 from lorban/lorban-gpg-and-devtag
Add lorban's GPG key and developer tag
2020-11-10 19:54:36 +01:00
Joakim Erdfelt 3b5bb78eed
Merge pull request #5625 from eclipse/dependabot/maven/jetty-9.4.x/com.puppycrawl.tools-checkstyle-8.37
Bump checkstyle from 8.36.2 to 8.37
2020-11-10 12:06:10 -06:00
Simone Bordet 298ddfd722 Issue 5310 - Review HTTP/2 GOAWAY handling.
Fixed javadocs and TODOs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 17:38:05 +01:00
Simone Bordet a02012fb3e Issue 5310 - Review HTTP/2 GOAWAY handling.
Fixed logic in onShutdown(): in case of abort the closing action must be
run as callback, so it executes at the end of all the other callbacks.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 16:17:32 +01:00
Simone Bordet 1de622f72f Issue 5310 - Review HTTP/2 GOAWAY handling.
Updates after initial review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 15:25:44 +01:00
Joakim Erdfelt 21c27f6370
Fixing checkstyle violations
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-10 06:33:04 -06:00
dependabot[bot] 0a345420ff
Bump checkstyle from 8.36.2 to 8.37
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.36.2 to 8.37.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.36.2...checkstyle-8.37)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-10 11:53:24 +00:00
dependabot[bot] 5ed40b251c
Bump maven-artifact-transfer from 0.11.0 to 0.12.0
Bumps [maven-artifact-transfer](https://github.com/apache/maven-artifact-transfer) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/apache/maven-artifact-transfer/releases)
- [Commits](https://github.com/apache/maven-artifact-transfer/compare/maven-artifact-transfer-0.11.0...maven-artifact-transfer-0.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-10 11:53:07 +00:00
olivier lamy 2af2821a0e Revert "Bump maven-bundle-plugin from 3.5.1 to 5.1.1" until we figure out the problem
This reverts commit 1475e4e225.
2020-11-10 20:34:23 +10:00
olivier lamy f691ed81b9 derby 10.15 not supporting java8
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-11-10 20:31:49 +10:00
Simone Bordet 226d616a8a Issue 5310 - Review HTTP/2 GOAWAY handling.
Reimplemented close/idle_timeout/stop/onGoAway/input_shutdown following more closely the specification.

In particular, the semantic of sending a GOAWAY is now to:
* stop creation of new both local and remote streams
* record the last processed stream
* continue processing streams that are pending

This means that a GOAWAY is "graceful" in the sense that it allows for streams to be completed by applications.

The semantic of stop() and idle timeout is harsher: for pending streams a RST_STREAM is sent to the other peer and they are failed locally.

Added support for GOAWAY with 2^31-1 lastStreamId.

Added support for a peer to send and receive multiple GOAWAY frames.

Reviewed the stream creation/destruction mechanism so that when the last stream completes after a GOAWAY, proper actions can be run to tear down the connection.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 10:07:19 +01:00
Simone Bordet 044052d717 Issue 5310 - Review HTTP/2 GOAWAY handling.
Code cleanups: removed unnecessary final modifiers and fixed code warnings.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 09:56:33 +01:00
Simone Bordet 206050df7f Issue 5310 - Review HTTP/2 GOAWAY handling.
Refactored push code in a single place: HTTP2Session.push().

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 09:56:32 +01:00
Simone Bordet 0dc2894002 Issue 5310 - Review HTTP/2 GOAWAY handling.
Refactored reset code in a single place: HTTP2Session.reset().

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 09:56:32 +01:00
Simone Bordet 62e17da2d0 Issue 5310 - Review HTTP/2 GOAWAY handling.
Moved stream "close" event after returning from listener methods.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 09:56:32 +01:00
dependabot[bot] 949a89c15b
Bump geronimo-interceptor_1.2_spec from 1.1 to 1.2 (#5632)
Bumps geronimo-interceptor_1.2_spec from 1.1 to 1.2.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 16:34:46 +10:00
olivier lamy f192edc1d6 fix derby version and hazelcast version in mod files
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-11-10 15:59:29 +10:00
dependabot[bot] 85de903a92
Bump maven-project-info-reports-plugin from 3.0.0 to 3.1.1 (#5613)
Bumps [maven-project-info-reports-plugin](https://github.com/apache/maven-project-info-reports-plugin) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/apache/maven-project-info-reports-plugin/releases)
- [Commits](https://github.com/apache/maven-project-info-reports-plugin/compare/maven-project-info-reports-plugin-3.0.0...maven-project-info-reports-plugin-3.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 15:44:27 +10:00
dependabot[bot] 35655acaab
Bump error_prone_core from 2.2.0 to 2.4.0 (#5628)
Bumps [error_prone_core](https://github.com/google/error-prone) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](https://github.com/google/error-prone/compare/v2.2.0...v2.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:33:27 +10:00
dependabot[bot] eb2faea107
Bump ant.version from 1.10.8 to 1.10.9 (#5627)
Bumps `ant.version` from 1.10.8 to 1.10.9.

Updates `ant` from 1.10.8 to 1.10.9

Updates `ant-launcher` from 1.10.8 to 1.10.9

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:32:01 +10:00
dependabot[bot] b5c3835967
Bump maven-jar-plugin from 3.1.2 to 3.2.0 (#5624)
Bumps [maven-jar-plugin](https://github.com/apache/maven-jar-plugin) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/apache/maven-jar-plugin/releases)
- [Commits](https://github.com/apache/maven-jar-plugin/compare/maven-jar-plugin-3.1.2...maven-jar-plugin-3.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:30:51 +10:00
dependabot[bot] 759b61a6b2
Bump plexus-compiler-javac-errorprone from 2.8.2 to 2.8.8 (#5620)
Bumps plexus-compiler-javac-errorprone from 2.8.2 to 2.8.8.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:30:27 +10:00
dependabot[bot] 662f6cc949
Bump exec-maven-plugin from 1.6.0 to 3.0.0 (#5616)
Bumps [exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 1.6.0 to 3.0.0.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/exec-maven-plugin-1.6.0...exec-maven-plugin-3.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:29:15 +10:00
dependabot[bot] 7c5e960506
Bump derby from 10.14.2.0 to 10.15.2.0 (#5611)
Bumps derby from 10.14.2.0 to 10.15.2.0.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:28:42 +10:00
dependabot[bot] 195df90d3f
Bump openpojo from 0.8.1 to 0.8.13 (#5609)
Bumps [openpojo](https://github.com/oshoukry/openpojo) from 0.8.1 to 0.8.13.
- [Release notes](https://github.com/oshoukry/openpojo/releases)
- [Changelog](https://github.com/OpenPojo/openpojo/blob/master/doc/release_steps.txt)
- [Commits](https://github.com/oshoukry/openpojo/compare/openpojo-0.8.1...openpojo-0.8.13)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:27:44 +10:00
dependabot[bot] deef0b4e30
Bump geronimo-jcdi_2.0_spec from 1.1 to 1.3 (#5607)
Bumps geronimo-jcdi_2.0_spec from 1.1 to 1.3.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:26:52 +10:00
Joakim Erdfelt 8fb60ced18
Merge pull request #5601 from eclipse/dependency/jetty-9.4.x/tycho-2.1.0
Bump tycho from 1.4.0 to 2.1.0
2020-11-09 15:59:01 -06:00
Joakim Erdfelt b285888115
Merge pull request #5587 from eclipse/dependabot/maven/jetty-9.4.x/org.apache.felix-maven-bundle-plugin-5.1.1
Bump maven-bundle-plugin from 3.5.1 to 5.1.1
2020-11-09 15:56:06 -06:00
Joakim Erdfelt a1e8c09e34
Merge pull request #5604 from eclipse/dependency/jetty-9.4.x/com.googlecode.xmemcached-xmemcached-2.4.6
Bump xmemcached from 2.4.5 to 2.4.6
2020-11-09 15:44:31 -06:00
Joakim Erdfelt 70524d0e54
Merge pull request #5602 from eclipse/dependency/jetty-9.4.x/hazelcast.version-3.12.10
Bump hazelcast from 3.12.6 to 3.12.10
2020-11-09 15:41:53 -06:00
Joakim Erdfelt 63fba2763b
Minor tweaks to dependabot.yml
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-09 14:40:15 -06:00
Joakim Erdfelt 9152fc313e
Bump xmemcached from 2.4.5 to 2.4.6
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-09 14:20:37 -06:00
Joakim Erdfelt 005053d63f
Bump tycho from 1.4.0 to 2.1.0
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-09 14:17:26 -06:00
Joakim Erdfelt 1f8a348e20
Merge pull request #5600 from eclipse/dependency/jetty-9.4.x/net.java.dev.jna-jna-5.6.0
Bump jna from 5.5.0 to 5.6.0
2020-11-09 14:15:08 -06:00