Simone Bordet
bf64d4bc18
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
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
Simone Bordet
3d2f3ddd10
Issue #6728 - QUIC and HTTP/3
...
- Test logging at INFO level.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
b9d63ef10e
Issue #6728 - QUIC and HTTP/3
...
- Giving up on trying to get Jenkins run UDP/QUIC/HTTP3 load tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
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
Simone Bordet
19344ec030
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
Simone Bordet
39bf6eb996
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
Simone Bordet
5263b14864
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
Simone Bordet
6c56f5c5d3
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
Simone Bordet
2a761c35eb
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
Simone Bordet
51dc1046c0
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
Simone Bordet
4b49dbb54f
Issue #6728 - QUIC and HTTP/3
...
- Try to pinpoint the elusive failures.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
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
95d835685f
Issue #6728 - QUIC and HTTP/3
...
- Incremented test timeouts and decremented runs to allow H3 to finish.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
a7ec4ff525
Issue #6728 - QUIC and HTTP/3
...
- Fixed parsing of HEADERS frames.
- Fixed locking in QpackEncoder.
- Fixed creation of QuicStreamEndPoints.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
cd1343fd6c
Issue #6728 - QUIC and HTTP/3
...
- More test fixes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
a31c35e9ad
Issue #6728 - QUIC and HTTP/3
...
- Fixed test case to work more consistently with HTTP/3.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
4c22ae9e1b
Issue #6728 - QUIC and HTTP/3
...
- Fixed idle timeout handling.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
6aedfe52f1
Issue #6728 - QUIC and HTTP/3
...
- Fixed HttpChannelOverHTTP3 input reading.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
85a13cfc20
Issue #6728 - QUIC and HTTP/3
...
- Fixed buffer release to avoid leaks.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
aadc86d36a
Issue #6728 - QUIC and HTTP/3
...
- More fixes and improvement to HTTP client transport tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
6fbe79af46
Issue #6728 - QUIC and HTTP/3
...
- Fixed UNIX_DOMAIN tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
baab1a15b9
Issue #6728 - QUIC and HTTP/3
...
- More fixes and improvement to HTTP client transport tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
aac4232e20
Issue #6728 - QUIC and HTTP/3
...
- More fixes and improvement to HTTP client transport tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
00a4001b5c
Issue #6728 - QUIC and HTTP/3
...
- More fixes and improvement to HTTP client transport tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
40aba07e33
Issue #6728 - QUIC and HTTP/3
...
- More work on making HTTP semantic layer work on top of HTTP/3.
- Various fixes and improvement to HTTP client transport tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Simone Bordet
3585b408b7
Issue #6728 - QUIC and HTTP/3
...
- Made sure Connection.Listeners are properly notified.
- Fixed removal of QuicStreamEndPoints from QuicSession in case of successful request/response exchanges.
- Avoid spurious wakeups by shutting down input after receiving a frame with last=true.
- Updated HttpClient transport tests to work with UNIX_DOMAIN.
- Started updating HttpClient transport tests to work with HTTP/3.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-12-20 09:33:38 +01:00
Joakim Erdfelt
cfc67f86d2
Updating to version 10.0.8-SNAPSHOT
2021-10-06 14:51:32 -05:00
Joakim Erdfelt
da8a4553af
Updating to version 10.0.7
2021-10-06 14:32:37 -05:00
Olivier Lamy
51d44a3401
use dependencyManagement for internal dependencies ( #6940 )
...
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-09-30 16:57:19 +10:00
Ludovic Orban
15bef0c9ed
#6327 rework testRequestIdleTimeout and merge http(s) and fcgi test
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Ludovic Orban
0a98a37cb6
#6327 wait for the request to be committed before sending the data
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Ludovic Orban
72505af846
#6327 stop relying on timeouts to abort tested requests
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Ludovic Orban
8766bddb50
#6327 improve test
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Ludovic Orban
37eb7909be
#6327 enable HttpClientStreamTest.testUploadWithDeferredContentProviderFromInputStream
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Ludovic Orban
2868eea9cc
#6327 enable all disabled tests in HttpClientContinueTest
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Ludovic Orban
7867d51c91
#6327 replace Await helper with awaitility
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Ludovic Orban
5dc856196e
#6327 extract HttpOutput._apiState value from toString
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Ludovic Orban
26d144d708
#6327 enable AsyncIOServletTest.testAsyncWriteClosed
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-08-12 10:47:24 +02:00
Simone Bordet
49a08450c2
Fixes #6043 - Reimplement UnixSocket support based on Java 16. ( #6522 )
...
Fixes #6043 - Reimplement UnixSocket support based on Java 16.
* Introduced new module "jetty-server-unixdomain".
It uses reflection to access the Java 16 Unix-Domain classes to keep compatibility with the other modules and the build.
* Added Jetty module with only HTTP/1.1 support for now (requires review of the modules to reuse them with various connectors).
* Updated documentation to mention UnixDomainServerConnector.
* Updated client libraries to support Unix-Domain.
* Updated PROXY protocol implementation to support Unix-Domain.
* Replaced unix.socket.tmp with better named jetty.unixdomain.dir property.
Defaulted jetty.unixdomain.dir property to system property user.home under Windows.
Simplified code that runs Unix-Domain tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-08-05 10:04:37 +02:00
Joakim Erdfelt
fdc210f382
Remove unused imports
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 08:03:00 -05:00
Joakim Erdfelt
c245a70893
Updating to version 10.0.7-SNAPSHOT
2021-06-29 10:51:22 -05:00
Joakim Erdfelt
37e7731b4b
Updating to version 10.0.6
2021-06-29 10:27:56 -05:00
Joakim Erdfelt
9d2d1e29b7
Updating to version 10.0.6-SNAPSHOT
2021-06-11 09:42:42 -05:00
Joakim Erdfelt
dc21b2d73c
Updating to version 10.0.5
2021-06-11 09:18:00 -05:00
Joakim Erdfelt
987066aac1
Updating to version 10.0.5-SNAPSHOT
2021-06-04 13:28:47 -05:00
Joakim Erdfelt
5523480c54
Updating to version 10.0.4
2021-06-04 13:09:44 -05:00
Simone Bordet
9ace21992e
Updated POM versions to 10.0.4-SNAPSHOT.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-05-21 17:07:46 +02:00
Ludovic Orban
1d5d8071ba
review comments
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-05-19 17:23:01 +02:00
Ludovic Orban
6ed64e1e65
fix HttpChannelOverHTTP2 recycling order to make sure no demanding content can be left pending
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-05-19 17:23:01 +02:00
Simone Bordet
de2d764290
Fixes #6254 - Total timeout not enforced for queued requests.
...
Fixed logic in HttpDestination.RequestTimeouts, where now a timeout
is scheduled only when the expiration time is less than the existing one.
Various code cleanups.
Renamed HttpDestination.TimeoutTask to RequestTimeouts for clarity.
Improved javadocs, code comments and logging.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit 5f23689aa7
)
(cherry picked from commit da50e06b64
)
(cherry picked from commit 88ac10439a
)
2021-05-12 10:19:11 +02:00
Simone Bordet
1b6fb39867
Re-enabled ConnectionStatisticsTest.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-04-22 15:49:15 +02:00
Olivier Lamy
a0796d1055
Updating to version 10.0.3-SNAPSHOT
2021-03-26 06:31:31 +00:00
Olivier Lamy
7bd207b309
Updating to version 10.0.2
2021-03-26 06:13:42 +00:00
Olivier Lamy
d27363fa55
back to 10.0.2-SNAPSHOT
...
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-03-26 06:10:47 +00:00
Jesse McConnell
7a9e01ac56
Updating to version 10.0.3-SNAPSHOT
2021-03-25 10:38:15 -05:00
Jesse McConnell
aac6bfbd48
Updating to version 10.0.2
2021-03-25 10:21:44 -05:00
Simone Bordet
6fca106160
Reverted version to 10.0.2-SNAPSHOT.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-03-25 16:02:45 +01:00
Olivier Lamy
3d0574d64c
Updating to version 10.0.3-SNAPSHOT
2021-03-25 04:10:39 +00:00
Olivier Lamy
ab235ad687
Updating to version 10.0.2
2021-03-25 03:57:25 +00:00
Joakim Erdfelt
8ed8dc62e3
Updating to version 10.0.2-SNAPSHOT
2021-02-19 13:06:42 -06:00
Joakim Erdfelt
d0bfd9145d
Updating to version 10.0.1
2021-02-19 12:43:50 -06:00
Ludovic Orban
03e2789699
Merge remote-tracking branch 'origin/jetty-9.4.x-5605-wakeup-blocked-threads' into jetty-10.0.x-5605-wakeup-blocked-threads
2021-02-10 15:53:38 +01:00
gregw
9f2a4f5ad5
Fix #5605 write side
...
refactored the complete method to consider unrecoverable API states no matter what the httpout state
actually is. This avoid duplication of OPEN, CLOSING, CLOSED etc. handling.
2021-02-10 15:35:48 +01:00
Ludovic Orban
d297e9c473
unblock readers after consumeAll
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-02-09 09:26:34 +01:00
Ludovic Orban
9611a252a5
Merge remote-tracking branch 'origin/jetty-9.4.x-5605-wakeup-blocked-threads' into jetty-10.0.x-5605-wakeup-blocked-threads
2021-02-08 10:52:57 +01:00
gregw
e9315fe51f
Fix #5605 Unblock non container Threads
...
revert fillInterest cancellation and just abort connection instead.
tested for all transports
2021-02-03 17:27:25 +01:00
Joakim Erdfelt
e81c847998
Happy New Year 2021 (Jetty 10 edition)
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-01-21 15:05:57 -06:00
Joakim Erdfelt
176e29e408
Happy New Year 2021
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-01-21 12:31:00 -06:00
Joakim Erdfelt
2e53ec5384
Updating to version 9.4.37-SNAPSHOT
2021-01-14 11:27:24 -06:00
Joakim Erdfelt
238ec6997c
Updating to version 9.4.36.v20210114
2021-01-14 10:29:28 -06:00
Joakim Erdfelt
f0badc5c5e
Issue #5784 - Fixing source header text: EPL-2.0 OR Apache-2.0
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-12-10 16:04:50 -06:00
Joakim Erdfelt
9319f10425
Updating to version 10.0.1-SNAPSHOT
2020-12-02 15:30:13 -06:00
Joakim Erdfelt
b9645a1737
Updating to version 10.0.0
2020-12-02 15:04:53 -06:00
gregw
1333bbc55c
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-11-30 17:35:56 +01:00
gregw
69b3c37717
remove test rather than disable
...
Signed-off-by: gregw <gregw@webtide.com>
2020-11-30 17:35:37 +01:00
gregw
20f6dc1ace
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-11-30 17:33:21 +01:00
gregw
7e9b050050
disable test accidentally added for #5737
...
Signed-off-by: gregw <gregw@webtide.com>
2020-11-30 17:23:10 +01:00
gregw
b4e2ad0df7
added CVE
...
Signed-off-by: gregw <gregw@webtide.com>
2020-11-30 14:23:45 +01:00
Simone Bordet
8c465ac76d
Fixed tests and code after merge of #5310 from 9.4.x.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-27 13:53:06 +01:00
Joakim Erdfelt
e8683cba9f
Updating to version 9.4.36-SNAPSHOT
2020-11-20 16:05:27 -06:00
Joakim Erdfelt
bdc54f03a5
Updating to version 9.4.35.v20201120
2020-11-20 15:05:50 -06:00
Simone Bordet
36d8289dee
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-11-16 16:39:53 +01: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
Ludovic Orban
814dc69803
Get rid of addContent() by making produceContent() return Content instead.
...
Make EOF and errors be special content.
Transition to a much simplified FSM by using the needContent() / produceContent() model.
Implement blocking on top of async, this way there is only one FSM.
(Milestone 6)
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-03 17:30:25 +01:00
Ludovic Orban
a4258ec9c0
Merge all HttpInput* impls into a single class, push all differences to HttpChannel* impls (Milestone 5)
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-03 17:30:25 +01:00
Joakim Erdfelt
edaadff55b
Updating to version 9.4.35-SNAPSHOT
2020-11-02 09:04:51 -06:00
Joakim Erdfelt
e46af88704
Updating to version 9.4.34.v20201102
2020-11-02 08:03:51 -06:00
Joakim Erdfelt
e726eefb0b
Updating to version 9.4.34-SNAPSHOT
2020-10-20 18:55:39 -05:00
Joakim Erdfelt
1be6875565
Updating to version 9.4.33.v20201020
2020-10-20 18:28:51 -05:00
Simone Bordet
1cd15e8d85
Fixes #5379 - Better handling for wrong SNI. ( #5398 )
...
* Fixes #5379 - Better handling for wrong SNI.
Reworked the SNI logic.
Added support for IP addresses in the SAN extension of certificates in the X509 class.
Fixed keystores to have CN=localhost and SAN with ip=127.0.0.1 and ip=[::1].
Fixed tests that were not using the correct Host header.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-10-12 15:48:53 +02:00
Joakim Erdfelt
85e257fc98
Updating to version 9.4.33-SNAPSHOT
2020-09-30 11:53:09 -05:00
Joakim Erdfelt
de97d26f7b
Updating to version 9.4.32.v20200930
2020-09-30 11:03:24 -05:00
Joakim Erdfelt
9a2d6cd597
Issue #5264 - Adding HostHeaderCustomizer to H2/H2C Transport tests
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 17:03:44 -05:00
Simone Bordet
1fa2b091a2
Merge branch 'jetty-9.4.x' into 'jetty-10.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-09 15:39:36 +02:00
Simone Bordet
01135e1515
Fixes #5217 - Review RoundRobinConnectionPool ( #5219 )
...
* Fixes #5217 - Review RoundRobinConnectionPool
Introduced IndexedConnectionPool and RandomConnectionPool.
Clarified semantic of RoundRobinConnectionPool.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-09 15:31:28 +02:00
Simone Bordet
30303c7979
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-08-25 16:15:33 +02:00
Simone Bordet
0af5f676cd
Issue #5147 - HTTP2 RoundRobinConnectionPool with maxUsage
...
Reworked HTTP/2 release after an exchange is terminated.
Previously, the release was bound to 2 events: onStreamClosed(),
introduced for #2796 , and exchangeTerminated().
Unfortunately, if the former happens before the latter and
closes the connection, the latter will see the exchange as
aborted, while in fact it was successful, causing what
reported in #5147 , an AsynchronousCloseException.
Now, the release is always performed by the exchangeTerminated()
event. With respect to #2796 , the stream is always already
closed by the time the exchangeTerminated() event fires (it
was not before).
Reworked the implementation of RoundRobinConnectionPool using
a lock and aggressively trying to open new connections.
A second fix is related to HttpDestination.release(Connection).
If the connection is closed for e.g. overuse, we need to trigger
the processing of queued requests via send(create: true).
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-22 22:10:08 +02:00
Simone Bordet
823e713ee4
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-08-22 17:35:25 +02:00
Simone Bordet
2d3f0e0c10
Improved logging and toString() implementations,
...
small refactorings in code and tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-22 17:31:12 +02:00