Commit Graph

24866 Commits

Author SHA1 Message Date
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
Joakim Erdfelt 12581c0ea0
Merge pull request #9688 from eclipse/dependabot/maven/jetty-10.0.x/apache.directory.api.version-2.1.3
Bump apache.directory.api.version from 2.1.2 to 2.1.3
2023-05-01 14:34:45 -05:00
Joakim Erdfelt 77a5514f25
Merge remote-tracking branch 'origin/jetty-10.0.x' into dependabot/maven/jetty-10.0.x/apache.directory.api.version-2.1.3 2023-05-01 10:16:36 -05:00
Joakim Erdfelt d1195b5123
Merge pull request #9693 from eclipse/dependabot/maven/jetty-10.0.x/maven.plugin-tools.version-3.8.2
Bump maven.plugin-tools.version from 3.8.1 to 3.8.2
2023-05-01 10:14:49 -05:00
dependabot[bot] 9355ad7163
Bump maven.plugin-tools.version from 3.8.1 to 3.8.2
Bumps `maven.plugin-tools.version` from 3.8.1 to 3.8.2.

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 11:18:02 +00:00
Joakim Erdfelt 7f55e82d00
Merge pull request #9689 from eclipse/dependabot/maven/jetty-10.0.x/ch.qos.logback-logback-core-1.3.7
Bump logback-core from 1.3.6 to 1.3.7
2023-05-01 06:16:38 -05:00
Joakim Erdfelt 18e5813c4c
Merge pull request #9708 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-checkstyle-plugin-3.2.2
Bump maven-checkstyle-plugin from 3.2.1 to 3.2.2
2023-05-01 06:16:22 -05:00
Joakim Erdfelt d852542287
Merge pull request #9705 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-enforcer-plugin-3.3.0
Bump maven-enforcer-plugin from 3.2.1 to 3.3.0
2023-05-01 06:16:10 -05:00
Joakim Erdfelt 2c05e7b614
Merge pull request #9690 from eclipse/dependabot/maven/jetty-10.0.x/maven.resolver.version-1.9.8
Bump maven.resolver.version from 1.9.7 to 1.9.8
2023-05-01 06:15:56 -05:00
Joakim Erdfelt cc6ef95f6d
Merge pull request #9698 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.maven.plugins-maven-plugin-plugin-3.8.2
Bump maven-plugin-plugin from 3.8.1 to 3.8.2
2023-05-01 06:15:33 -05:00