Commit Graph

24875 Commits

Author SHA1 Message Date
dependabot[bot] 161fabd1b9
Merge pull request #9823 from eclipse/dependabot/maven/jetty-10.0.x/org.asciidoctor-asciidoctor-maven-plugin-2.2.4 2023-06-02 11:57:08 +00:00
dependabot[bot] 9ac6527ded
Merge pull request #9860 from eclipse/dependabot/maven/jetty-10.0.x/org.testcontainers-testcontainers-bom-1.18.3 2023-06-02 11:55:39 +00:00
Joakim Erdfelt 1c006ec9ac
Merge pull request #9850 from eclipse/dependabot/maven/jetty-10.0.x/org.asciidoctor-asciidoctorj-diagram-2.2.8
Bump asciidoctorj-diagram from 2.2.7 to 2.2.8
2023-06-01 13:05:32 -05:00
Alexey Markevich 33976b30eb jetty-util: don't override Enumeration methods in QuotedStringTokenizer
There is no code difference in base implementation

Signed-off-by: Alexey Markevich <a_markevich@itos.eu.org>
2023-06-01 10:26:35 +02:00
dependabot[bot] fa1809fc8a
Bump testcontainers-bom from 1.18.0 to 1.18.3
Bumps [testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.18.0 to 1.18.3.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.18.0...1.18.3)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 01:15:30 +00:00
dependabot[bot] fc0bd75274
Bump asciidoctorj-diagram from 2.2.7 to 2.2.8
Bumps [asciidoctorj-diagram](https://github.com/asciidoctor/asciidoctorj-diagram) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/asciidoctor/asciidoctorj-diagram/releases)
- [Commits](https://github.com/asciidoctor/asciidoctorj-diagram/commits/v2.2.8)

---
updated-dependencies:
- dependency-name: org.asciidoctor:asciidoctorj-diagram
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 01:12:01 +00:00
dependabot[bot] 248788a411
Bump asciidoctor-maven-plugin from 2.2.3 to 2.2.4
Bumps [asciidoctor-maven-plugin](https://github.com/asciidoctor/asciidoctor-maven-plugin) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/asciidoctor/asciidoctor-maven-plugin/releases)
- [Changelog](https://github.com/asciidoctor/asciidoctor-maven-plugin/blob/asciidoctor-maven-plugin-2.2.4/CHANGELOG.adoc)
- [Commits](https://github.com/asciidoctor/asciidoctor-maven-plugin/compare/asciidoctor-maven-plugin-2.2.3...asciidoctor-maven-plugin-2.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 01:02:45 +00:00
Ludovic Orban 33bdbfe1ed increase awaitility timeouts
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-31 11:39:32 +02:00
Ludovic Orban 134fb0a3ff avoid logging expected stack trace
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-31 11:39:32 +02:00
Ludovic Orban e4f4828a0e #9524 do not create AsynchronousCloseException unnecessarily
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-31 11:39:32 +02:00
Lachlan 6567a4478e
Merge pull request #9798 from eclipse/jetty-10.0.x-QPACK-encoding
review and cleanup of HTTP/3 QPACK Integer and String encoding
2023-05-29 16:43:05 +10:00
Simone Bordet 94c2649d7b
Fixed default table size for the HpackDecoder.
This is necessary because the remote encoder may encode fields assuming that the default size is 4096, and never send the table resize instruction.
In this case, the decoder table cannot start at zero, it must start at the default of 4096.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-05-28 00:38:43 +02:00
Simone Bordet 420ec7cc1d
HTTP/2 improvements. (#9749)
* Implemented a few required error handlings.
* Changed `Parser.init()` to directly take the listener, rather than wrapping it.
  The reason for this change was to be able to reconfigure the Parser upon receiving a SETTINGS frame.
* Initially setting the encoder and decoder max table capacity at the default of 4096, as per spec.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-05-27 19:14:01 +02:00
Ludovic Orban debb124dc9 handle review comments
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-26 23:09:24 +02:00
Ludovic Orban bf5527ba43 #9397 add tls alert to error message
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-26 23:09:24 +02:00
Ludovic Orban 9982381e18 #9397 add support for sending a client cert over quic
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-26 23:09:24 +02:00
Ludovic Orban 871022f3b0 #9397 add trust store config to H3
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-26 23:09:24 +02:00
Ludovic Orban e30b23aca6 #9397 fix keystores with invalid Subject Alternate Names
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-26 23:09:24 +02:00
Ludovic Orban b3b1d93152 #9397 add quiche_conn_peer_cert() API mapping
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-26 23:09:24 +02:00
Ludovic Orban 07a1c124f2 #9772 improve QuicServerConnector key+crt export folder
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-26 23:09:24 +02:00
Ludovic Orban b24c180749 #8694 use SslContextFactory.getKeyStore() API in QuicServerConnector instead of re-creating the keystore
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-26 23:09:24 +02:00
Lachlan Roberts c855f4ca55 PR #9798 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-26 17:19:54 +10:00
Lachlan Roberts dca4e9832e review and cleanup of HTTP/3 Integer and String encoding
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-25 23:09:24 +10:00
Lachlan 1c010876dc
Merge pull request #9759 from eclipse/jetty-10.0.x-websocket-bufferLeak
Issue #9682 - fix RetainableByteBuffer release bug in WebSocket
2023-05-22 17:52:17 +10:00
Greg Wilkins e7f9abffce
Fix #9777 CrossOriginFilter Vary Header (#9779)
* Fix #9777 CrossOriginFilter Vary Header

Always set the Vary Header.
2023-05-17 23:33:03 +02:00
Lachlan 6e8457cfde
Fixes to QPACK configuration from SETTINGS frames. (#9728)
* Improved configuration upon sending/receiving SETTINGS frames.
* Improved handling of blocked frames in HTTP3StreamConnection.
* Fixed locking and reentrance in QPACK encoder/decoder.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-05-15 15:07:33 +02:00
Ludovic Orban 7ac49cd43c
H3: Fix racy read from stream-less channel (#9761)
* #9655 introduce new Stream.Client.Listener.onNewStream() method to allow setting the channel's stream before sending any data to the network

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-05-15 09:50:36 +02:00
Lachlan Roberts c51ccd1faf Issue #9682 - changes after review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-15 10:14:14 +10:00
Lachlan Roberts 7f7551a2a8 Issue #9682 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-12 04:44:06 +10:00
Lachlan 8eae62d622
Merge pull request #9741 from eclipse/jetty-10.0.x-websocket-parser
Review of websocket parser, improve testing & comments.
2023-05-11 11:06:13 +10:00
Lachlan Roberts c8b8ef6bd5 Issue #9682 - fix RetainableByteBuffer release bug in WebSocket
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-11 10:58:42 +10:00
Jan Bartel a138bfbe1a
Add tests for combining of Constraints as per spec (#9664)
* Add tests for combining of Constraints as per spec
2023-05-10 17:13:58 +02:00
Lachlan Roberts 413a644a44 remove longLengthAccumulator field in websocket Parser
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-09 19:02:39 +10:00
Lachlan 7d10cd5cd6
Merge pull request #9737 from eclipse/jetty-10.0.x-jetty-jaspi
Issue #9631 - update jaspi jar and permissions for Jetty-10
2023-05-09 13:56:58 +10:00
Lachlan Roberts 69200f6161 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-websocket-parser 2023-05-09 13:42:21 +10:00
Lachlan a8c9eea75b
Merge pull request #9634 from eclipse/jetty-10.0.x-9554-qpack-hpack
Issue #9554 - move common hpack/qpack code to jetty-http (jetty-10)
2023-05-08 12:48:48 +10:00
Lachlan Roberts 736a576f75 Review of websocket parser, improve testing & comments.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-05 18:51:37 +10:00
Lachlan Roberts be0620ed12 Issue #9631 - use correct artifactId for exclusions
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-05 16:41:27 +10:00
Lachlan Roberts 89c42c89e7 Issue #9631 - update remaining pom.xml files
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-05 16:36:55 +10:00
Lachlan Roberts 33f1320a71 Issue #9631 - update jaspi jar and permissions for Jetty-10
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-05 14:42:45 +10:00
Simone Bordet d5f68a78ca
Merge pull request #9727 from eclipse/fix/jetty-10-7091-socks5
Fixes #7091 - Add SOCKS5 support
2023-05-04 11:03:36 +02:00
Lachlan 32f026cc5d
Merge pull request #9715 from eclipse/jetty-10.0.x-PushSessionCacheFilter
deprecate PushSessionCacheFilter
2023-05-04 09:47:41 +10:00
Lachlan Roberts 03d6afae91 Issue #9554 - rename NBitIntegerParser and NBitStringParser to decoders
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-04 09:31:20 +10:00
Lachlan Roberts 2d935efe4d Issue #9554 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-04 09:26:31 +10:00
Simone Bordet d4e9f6a520
Fixes #7091 - Add SOCKS5 support.
Spin-off of the work in #9653.
Simplified the implementation, fixed a few mistakes, added more tests.
Made the implementation of Socks5.Authentication more extensible (for example to implement GSSAPI authentication).
Updated documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-05-03 19:40:55 +02:00
huisongma 28cd6d8ada
Initial implementation for #7091 - SOCKS5 support. 2023-05-03 19:40:55 +02:00
Olivier Lamy 6a0752384f
Update VERSION.txt: Jan is now using IntelliJ (#9666) 2023-05-03 19:24:24 +02:00
Lachlan Roberts 6ad6dea1a2 fix test case
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-02 21:23:59 +10:00
Lachlan Roberts 0e5a8d6bc0 align the vchar javadoc in HttpTokens.sanitizeFieldVchar
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-02 12:10:09 +10:00
Lachlan Roberts ce80bf46d4 update javadoc and add log warning message for PushSessionCacheFilter
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-02 12:02:16 +10:00