Simone Bordet
ae713d65d9
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-08-12 16:17:06 +02:00
Simone Bordet
4a0af046b8
Closes #4809 - Set a max number of requests per connection.
...
Implemented as part of #4975 .
Added a test case that proves that the connection is closed
when the max usage count is reached.
Improved logging.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-12 16:14:51 +02:00
olivier lamy
76d3ffbe08
fix merging
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-12 19:38:55 +08:00
olivier lamy
8b605c63af
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-08-12 18:54:44 +08:00
olivier lamy
3c6c5075f8
fix missing SslContextFactory
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-12 18:51:39 +08:00
gregw
cd42fd1635
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2020-08-12 11:42:36 +02:00
Greg Wilkins
25e3f1c1e0
Pool class refinements ( #5117 )
...
* Some updates to the new Pool class:
+ fixed a race with pending reservations
+ use a pending counter
+ Reservation API to simplify Entry API
+ removed public methods on Entry API
* Some updates to the new Pool class:
+ fixed a race with pending reservations
+ use a pending counter
+ Reservation API to simplify Entry API
+ removed public methods on Entry API
* Updates from review
* Updates from review
Tests for cache size and acquire with creator
* Method no longer required with Reservation
* update from the feedback on the feedback of the feedback from the review.
Moved enable to Entry, removed Reservation class and clarified usage in javadoc
* Issue #5095 XmlConfiguration locking Use pool instead of static shared instance
fixed javadoc
* Issue #5095 XmlConfiguration locking Use pool instead of static shared instance
fixed javadoc
* Issue #5095 XmlConfiguration locking Use pool instead of static shared instance
fixed javadoc
* Issue #5095 XmlConfiguration locking Use pool instead of static shared instance
updates from review
2020-08-12 11:27:25 +02:00
olivier lamy
f2d9d2f46f
increase stop timeout
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-12 15:01:39 +08:00
olivier lamy
2522857a5a
make this public to avoid jpms issue...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-12 14:45:55 +08:00
olivier lamy
495a1cb109
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-08-12 09:49:06 +08:00
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
16cd552995
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-08-11 21:00:43 +02: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
olivier lamy
88a4930951
upgrade librairies to avoid ConcurrentModificationException
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-08-11 21:39:18 +10: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
olivier lamy
c198d26e6b
Updating to version 10.0.0-SNAPSHOT
2020-08-11 16:47:55 +08:00
olivier lamy
429b091578
Updating to version 10.0.0.beta1
2020-08-11 16:47:54 +08: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
Jan Bartel
e117fbe828
Issue #1337 Use either absolute or relative multipart file location ( #5119 )
...
* Issue #1337 Use either absolute or relative multipart file location
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-08-10 10:31:16 +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
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
Simone Bordet
1f14dfa427
Code cleanups.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-06 11:23:48 +02:00
Lachlan
1e7ce3ac1e
Merge pull request #5101 from eclipse/jetty-10.0.x-5044-WebSocketUpgradeRequestResponse
...
Issue #5044 - Refactor of Jetty WebSocket Upgrade Request/Response
2020-08-06 09:11:12 +10:00
Lachlan Roberts
fd5c07eceb
removed dangling javadoc comment
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-06 08:25:40 +10:00
Jan Bartel
437e2be411
Fix license header.
2020-08-05 16:25:01 +02:00
Jan Bartel
8dd205d18f
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-08-05 15:43:08 +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
11db6f9d71
Merge pull request #5115 from eclipse/jetty-10.0.x-5096-lazyUpgradeFilter
...
Issue #5096 - lazily initialize the WebSocketFilter if only using JettyWebSocketServlet
2020-08-05 09:37:42 +10:00
Lachlan Roberts
a5f98fbdda
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-08-05 09:29:40 +10: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
Simone Bordet
062878f97b
Issue #5083 - Convert synchronized usages to AutoLock.
...
Fixes after merge.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-04 17:59:13 +02:00
Simone Bordet
a79c0cfddd
Merge pull request #5084 from eclipse/jetty-10.0.x-convert_synchronized_to_autolock
...
Fixes #5083 - Convert synchronized usages to AutoLock.
2020-08-04 17:29:45 +02:00
Simone Bordet
c49035570e
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-convert_synchronized_to_autolock'.
2020-08-04 16:32:55 +02:00
Simone Bordet
edd6ca2ee1
Issue #5083 - Convert synchronized usages to AutoLock.
...
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-04 15:43:39 +02: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 Roberts
dbeac5eb49
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-04 20:37:12 +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
9cde41a75c
Issue #5096 - add WebSocketFilter lazily if only using JettyWebSocketServlet
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-03 19:01:41 +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
fe56838b63
Fixed copyright headers.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-07-31 19:18:07 +02:00
Simone Bordet
55f51fa0b5
Fixed copyright headers.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-07-31 19:01:59 +02:00
Simone Bordet
d2df0fc2e9
Fixes after review of #4975 .
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-07-31 17:59:55 +02:00
Simone Bordet
2fe01626a5
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-07-31 17:47:37 +02:00