olivier lamy
bc185e3cae
use https for external call
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-12 09:48:33 +08:00
Olivier Lamy
12667497e1
Jetty 9.4.x surefire 3.0.0 m5 ( #5136 )
...
* test surefire 3.0.0-M5
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* simplify code to avoid some timeout
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-12 10:27:12 +10:00
Simone Bordet
f73b282050
Merge pull request #5128 from eclipse/jetty-9.4.x-5079-ipv6_brackets
...
Fixes #5079 - :authority header for IPv6 address not having square br…
2020-08-11 20:04:46 +02:00
Simone Bordet
2e73f80d34
Fixes #5079 - :authority header for IPv6 address not having square brackets.
...
Reverted code changes to HttpClient.normalizeHost().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-11 20:03:42 +02:00
Simone Bordet
897e766f24
Fixes #5079 - :authority header for IPv6 address not having square brackets.
...
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-11 19:18:11 +02:00
Joakim Erdfelt
d91cab0354
Issue #5129 - Directories discovered via classpath glob are not valid
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-11 10:44:05 -05:00
Joakim Erdfelt
4a19ef4bb2
Issue #5129 - disabling ResourceTest.testGlobPath on WINDOWS for stability
2020-08-11 08:51:04 -05:00
Joakim Erdfelt
a700708165
Removing dead maven modules
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-11 08:30:34 -05:00
Joakim Erdfelt
ac14312c99
Removing overlay-deployer documentation
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-11 08:29:23 -05:00
Joakim Erdfelt
150dc22f0a
Issue #5129 - Reverting Resource.fromReferences()
...
+ Will migrate to jetty-10.0.x
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-11 08:15:27 -05:00
Lachlan
cbd4c38f3d
Issue #5121 - always use isDebugEnabled() check before debug logging in WebSocket ( #5123 )
...
* Issue #5121 - always use isDebugEnabled() check before logging in CompressExtension
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
* Issue #5121 - always use isDebugEnabled() check before debug logging
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
* Issue #5121 - always use isDebugEnabled() check before debug logging in WebSocket
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-11 11:51:39 +02:00
Joakim Erdfelt
5b8c343a2b
Issue #5129 - Fleshing out glob testcase a bit more
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-10 14:46:32 -05:00
Joakim Erdfelt
52f5218900
Issue #5129 - Resource.fromReferences no longer needs DefaultFactory
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-10 14:42:02 -05:00
Joakim Erdfelt
e8098986e6
Issue #5129 - Simplify Resource reference list behavior
...
+ Introduce new Resource.fromReferences to help with
parsing delimited resource reference lists.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-10 11:30:39 -05:00
Joakim Erdfelt
55f4e4fa63
Issue #5129 - WebAppContext.setExtraClasspath(String) cleanup
...
+ More tests for both relative and absolute path references
+ More testing that will trigger quirks on Windows builds
so that we can catch regressions faster
+ Reworked WebInfConfiguration to be glob aware in a way
similar to how WebAppClassLoader behaves.
+ Reworked Resource.newResource(String) to delegate
canonical path resolution to PathResource
+ Guarded PathResource's usage of Path.toAbsolutePath()
to ignore valid conditions where the Path cannot be
resolved to an absolute path (yet)
+ Normalize resolved paths in PathResource
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-10 10:42:38 -05:00
Joakim Erdfelt
4957c091d0
Correct typo
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-10 10:40:56 -05:00
Simone Bordet
867621af89
Fixes #5079 - :authority header for IPv6 address not having square brackets.
...
Fixed Jenkins failures by disabling tests that require IPv6 if it is not available.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-10 14:52:57 +02:00
Simone Bordet
dd4c1dbac0
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-5079-ipv6_brackets'.
2020-08-08 23:21:14 +02:00
Joakim Erdfelt
dcf867cd2b
Issue #3916 - Improve multi range response Content-Length calc
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-08 11:34:25 -05:00
Joakim Erdfelt
2206b3edae
Issue #3916 - Fixing broken Content-Length evaluation
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-08 07:18:02 -05:00
Joakim Erdfelt
a1a0afaf59
Remove long dead jetty-overlay-deployer module
2020-08-07 11:30:18 -05:00
Simone Bordet
d53d9d8a1d
Fixes #5079 - :authority header for IPv6 address not having square brackets.
...
On the client:
* Origin.Address.host is passed through HostPort.normalizeHost(),
so that if it is IPv6 is bracketed.
Now the ipv6 address passed to an `HttClient` request is bracketed.
* HttpRequest was de-bracketing the host, but now it does not anymore.
On the server:
* Request.getLocalAddr(), getLocalName(), getRemoteAddr(),
getRemoteHost(), getServerName(), when dealing with an IPv6 address,
return it bracketed.
The reason to return bracketed IPv6 also from *Addr() methods is that
if it is used with InetAddress/InetSocketAddress it still works, but
often it is interpreted as a URI host so brackets are necessary.
* DoSFilter was blindly bracketing - now it does not.
Added a number of test cases, and fixed those that expected
non-bracketed IPv6.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-07 15:53:19 +02:00
Lachlan Roberts
8a3ff775d5
Issue #5122 - make number of active WS Sessions a managed attribute on SessionTracker
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-06 20:45:06 +10:00
Lachlan Roberts
be429f0910
Issue #5122 - add specialized Connection.Listener for WebSocket ConnectionStatistics
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-06 20:38:02 +10:00
Simone Bordet
1f14dfa427
Code cleanups.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-06 11:23:48 +02:00
Jan Bartel
4f57810217
Issue #5081 - HouseKeeper synchronization ( #5099 )
...
* Issue #5081 HouseKeeper synchronization
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-08-05 15:33:27 +02:00
Lachlan Roberts
f416d87e8d
Merge remote-tracking branch 'origin/jetty-9.4.x-3974-AsyncMiddleManServletTest' into jetty-9.4.x
2020-08-05 09:28:11 +10:00
Lachlan Roberts
8f545998a8
Issue #3974 - re-enable AsyncMiddleManServletTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-04 23:08:24 +10:00
Lachlan
8af767f3a6
Merge pull request #5109 from eclipse/jetty-9.4.x-5108-SessionTrackerScalability
...
Issue #5108 - improve scalability of WebSocket SessionTrackers
2020-08-04 20:28:28 +10:00
Lachlan Roberts
85c4fc5335
Issue #5108 - use set based on ConcurrentHashMap and remove synchronized blocks
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-03 18:26:14 +10:00
Lachlan Roberts
d37501dce0
Issue #5108 - use HashSet for SessionTrackers to improve scalability
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-03 10:40:12 +10:00
Simone Bordet
344cdf514f
Merge pull request #4975 from lorban/http-connection-pools
...
Improve client http connection pools
2020-07-31 16:02:32 +02:00
Ludovic Orban
e9dad975e6
Re-implement HTTP connection pooling with a non-queuing algorithm
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-07-31 10:36:43 +02:00
Greg Wilkins
66ec16006e
Issue #5088 Review ContextHandler locking ( #5094 )
...
* Issue #5088 Review ContextHandler locking
The locking was primarily as a memory guard for the availability status, which was already volatile.
Have instead using an AtomicReference with a simple state machine layered on top of start/stop lifecycle.
There was also protection for AttributesMap, which is no longer needed as AttributesMap is now concurrent.
* Issue #5088
updates from review
* Issue #5088
updates from review (better this time)
2020-07-30 17:58:34 +02:00
Joakim Erdfelt
8b52d7dfcb
Merge pull request #5102 from eclipse/jetty-9.4.x-3916-multipart-output-boundary
...
Issue #3916 - Fix whitespace between boundary and part headers
2020-07-30 10:54:00 -05:00
Joakim Erdfelt
784fabf2ae
Issue #3916 - Fix whitespace between boundary and part headers
...
+ Updating existing testcase
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-07-30 09:26:09 -05:00
Joakim Erdfelt
36b42ca65d
Issue #3916 - Fix whitespace between boundary and part headers
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-07-30 09:13:01 -05:00
Joakim Erdfelt
f37f82828f
Merge remote-tracking branch 'origin/release-9.4.31' into jetty-9.4.x
2020-07-30 09:02:35 -05:00
Olivier Lamy
df85afbc63
Delete maven.yml
2020-07-28 20:32:30 +10:00
Lachlan
c307c95887
Merge pull request #5080 from eclipse/jetty-9.4.x-OpenID
...
use OpenID id_token expiry time for the initial authentication only
2020-07-28 13:39:21 +10:00
Lachlan Roberts
5f2c96dc58
use the OpenID Token expiry time for the initial authentication only, and not for expiry of the session.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-07-27 10:02:38 +10:00
olivier lamy
27e9ff89ce
wrong commit
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-07-26 21:45:04 +10:00
olivier lamy
f5550a780a
release drafter test
...
Signed-off-by: olivier lamy <olamy@apache.org>
2020-07-26 21:42:56 +10:00
Joakim Erdfelt
fe9deae849
Updating to version 9.4.32-SNAPSHOT
2020-07-23 13:53:47 -05:00
Joakim Erdfelt
450ba27947
Updating to version 9.4.31.v20200723
2020-07-23 12:46:54 -05:00
Lachlan
6b37983c89
Merge pull request #5065 from eclipse/jetty-9.4.x-5062-testKeystoreRemoval
...
Issue #5062 - fix flaky test KeyStoreScannerTest.testKeystoreRemoval()
2020-07-23 17:28:52 +10:00
Lachlan
76e821e774
Merge pull request #5071 from eclipse/jetty-9.4.x-setuidDocumentation
...
fix links links to jetty.toolchain in jetty setuid documentation
2020-07-23 17:28:36 +10:00
Lachlan
81f6ec6e3d
Merge pull request #5066 from eclipse/jetty-9.4.x-5064-openIdSerializable
...
Issue #5064 - the OpenIdCredentials should be serializable
2020-07-23 17:16:36 +10:00
Lachlan
d8b775c0fb
Merge pull request #5030 from eclipse/jetty-9.4.x-5018-WebSocketClientConnectFuture
...
Issue #5018 - cancellation of WebSocketClient.connect Future should fail upgrade
2020-07-23 08:36:12 +10:00
Joakim Erdfelt
980ad4c666
Reverting accidental upgrade to surefire
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-07-22 14:38:33 -05:00