Commit Graph

116 Commits

Author SHA1 Message Date
Olivier Lamy e62cc0344a Updating to version 10.0.15-SNAPSHOT 2023-03-01 18:55:10 +10:00
gregw 7a7d69a69f Happy no year
Remove modification date from copyright notice and instead just have the
project inception year.

Signed-off-by: gregw <gregw@webtide.com>
2023-02-15 15:22:32 +11:00
dependabot[bot] ca19b143a9
Bump maven.surefire.plugin.version from 3.0.0-M5 to 3.0.0-M8 (#9255) 2023-02-02 04:15:39 +00:00
Joakim Erdfelt 54c4c03244
Updating to version 10.0.14-SNAPSHOT 2022-12-07 14:33:17 -06:00
Joakim Erdfelt 1c2636ea05
Updating to version 10.0.13 2022-12-07 14:12:50 -06:00
Joakim Erdfelt be5ed905ee
Jetty 10 - Fix OpenJDK 19 related build issues (#8995)
* Add JDK 19 build to Jenkinsfile
* Fix Javadoc on OpenJDK 19

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-12-01 17:56:34 +01:00
Joakim Erdfelt 2243ee5f3b
Jetty 10 - Flag flaky tests to be skipped on CI (#8865)
* @Tag("flaky") use instead of @Disabled
* Tweaking timeouts on some tests
* Tweaking timeouts on some tests

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-04 14:06:12 -05:00
Joakim Erdfelt 86c0d5b3e5
Disable flaky test (#8816) 2022-11-02 14:55:53 +10:00
Ludovic Orban 5a9f3fb831 #8695: update to quiche 0.16.0
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-18 09:14:04 +02:00
Ludovic Orban b27a528cf5 #8695: move client address binding to QuicClientConnectorConfigurator
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-18 09:14:04 +02:00
Ludovic Orban 3c6c83da07 #8695: make sure the Foreign binding is used for testing when running on JDK 17 and not any older nor a more recent version.
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-18 09:14:04 +02:00
Ludovic Orban 15e90acab6 #8695: fix inconsistencies between quiche's native API and its JNA/Foreign bindings
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-18 09:14:04 +02:00
Ludovic Orban d6a101d463 #8695: update quiche to version 0.15.0
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-18 09:14:04 +02:00
Ludovic Orban 1c242a6849 disabled Foreign module tests on JDK18+
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-10-10 19:15:30 +02: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 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
Joakim Erdfelt 64d12e2a5a
Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194)
* Updating to version 10.0.11

* Updating to version 10.0.12-SNAPSHOT
2022-06-22 16:24:48 -05:00
Joakim Erdfelt c2bc103cb9
Merge Release 10.0.10 back into `jetty-10.0.x` (#8180)
* Updating to version 10.0.11-SNAPSHOT
2022-06-21 14:41:41 +02:00
Joakim Erdfelt 16420f0181
Set version to `10.0.10-SNAPSHOT` (#7823)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-04-03 20:33:44 +10:00
Joakim Erdfelt f079949a35
Merge Release 10.0.9 (#7821)
* Updating to version 10.0.9

* Updating to version 10.0.10
2022-04-02 08:43:44 -05:00
Ludovic Orban f7bbff2cfd Upgrade to quiche version 0.12.0
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-03-02 13:30:04 +01:00
Ning Sun 65a47a369d
Turn off mutual TLS for quic-server by default
Signed-off-by: Ning Sun <sunng@protonmail.com>
2022-02-13 21:36:38 +08:00
Simone Bordet a4fda96f49
Updating to version 10.0.9-SNAPSHOT 2022-02-07 12:02:02 +01:00
Simone Bordet 716c7afd8e
Updating to version 10.0.8 2022-02-07 11:34:12 +01:00
Ludovic Orban 9d3e21365f #7529 upgrade quiche native lib to version 0.11.0
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-02-03 10:46:20 +01:00
Joakim Erdfelt cb127793e5
Happy New Year 2022 (#7459)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-01-27 10:42:30 -06:00
Simone Bordet 7811f40c67 Issue #6728 - QUIC and HTTP/3
Split the http3 module, introducing the jna and quiche modules with their versions and licenses.
Updated project to reference the new groupId of the quiche binaries.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet ea3f2703f0 Issue #6728 - QUIC and HTTP/3
Made ServerProtocolSession's producer task of type EITHER.
This is necessary to allow for example DATA frames to be
processed to unblock blocked reads.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet e81c3ead7a Issue #6728 - QUIC and HTTP/3
Made QuicConnection's fillable callback of type EITHER.
This is necessary when there are no threads available,
because we still want to read from the network and feed
Quiche so that it can progress with respect to packet
acknowledgments and flow control updates.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet 578ae30311 Issue #6728 - QUIC and HTTP/3
Added http3 Jetty module and distribution test.
Implemented simple logic to send the Alt-Svc header in HTTP/2 responses.
Updated JNA dependency to use jna-jpms.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet 3d6578deee Issue #6728 - QUIC and HTTP/3
Updates after merge of #7100.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet 7e00e6a4bc Issue #6728 - QUIC and HTTP/3
- Improved code comments.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet 64296f76f1 Issue #6728 - QUIC and HTTP/3
- Split Stream in Stream.Client and Server.Server, so segregate client-specific actions and events.
Now, only Stream.Server has method respond(), and only Stream.Client.Listener has method onResponse().
- Improved javadocs, and updated javadoc module to create javadocs for both http3 and quic modules.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Ludovic Orban 279eb5a39e Issue #6728 - QUIC and HTTP/3
change quiche native dependency to released version
2021-12-20 09:33:38 +01:00
Olivier Lamy 362458e145 remove native libraries and use external project
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet 5f5312ed55 Issue #6728 - QUIC and HTTP/3
- Larger timeout for file upload test.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Ludovic Orban 003041fcc8 Issue #6728 - QUIC and HTTP/3
- re-order native helper static loader
2021-12-20 09:33:38 +01:00
Ludovic Orban 8ad5dd74c9 Issue #6728 - QUIC and HTTP/3
- JNA seems to require the module to be wide open
2021-12-20 09:33:38 +01:00
Ludovic Orban e31e46b315 Issue #6728 - QUIC and HTTP/3
- add mac amd64/arm64 and windows amd64 native lib
2021-12-20 09:33:38 +01:00
Simone Bordet a587b42ba7 Issue #6728 - QUIC and HTTP/3
- Trying to replicate test failures.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Ludovic Orban d0af388ab4 Issue #6728 - QUIC and HTTP/3
- refactor resource scopes and memory segments usage
2021-12-20 09:33:38 +01:00
Ludovic Orban d2e76b077b Issue #6728 - QUIC and HTTP/3
- commonalize quiche constants across bindings
2021-12-20 09:33:38 +01:00
Ludovic Orban f0eb26533a Issue #6728 - QUIC and HTTP/3
- foreign: delete native lib copy on exit
2021-12-20 09:33:38 +01:00
Simone Bordet a234c7183a Issue #6728 - QUIC and HTTP/3
- Fixed missing <release>17</release> element.
- Fixed --add-opens option in Surefire to run the tests.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet ec942f76bb Issue #6728 - QUIC and HTTP/3
- Renamed Panama/JDK to Foreign/Incubator.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Ludovic Orban 41a2e785a9 Issue #6728 - QUIC and HTTP/3
- use proper parent pom
2021-12-20 09:33:38 +01:00
Ludovic Orban d90ce8327b Issue #6728 - QUIC and HTTP/3
- use proper constant
2021-12-20 09:33:38 +01:00
Ludovic Orban 7df5bbc61b Issue #6728 - QUIC and HTTP/3
- add windows and mac binding support
2021-12-20 09:33:38 +01:00
Simone Bordet eb8444e2c2 Issue #6728 - QUIC and HTTP/3
- Incremented test timeouts.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet 4d778b1aff Issue #6728 - QUIC and HTTP/3
- Fixed session failure notification.
Now the failure is propagated to listeners.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00