Ludovic Orban
3331c9ca77
Merge pull request #5884 from eclipse/jetty-9.4.x-5883-force-lang-envvar-for-tests
...
Issue #5883 - force LC_ALL envvar for tests
2021-01-22 08:38:50 +01:00
Ludovic Orban
9840a82e8c
force LC_ALL env variable when running tests
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-01-22 08:38:26 +01:00
Ludovic Orban
b24c0d5416
Merge pull request #5892 from eclipse/jetty-9.4.x-5891-add-missing-source-encoding
...
Set source encoding of build-resources module to UTF-8
2021-01-22 08:36:18 +01:00
Ludovic Orban
e26184ad45
set source encoding to UTF-8
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-01-22 08:35:47 +01: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
gregw
781f589c7c
Added history to VERSION.txt
...
http://web.archive.org/web/19980125013900/http://www.mortbay.com/
2021-01-21 10:12:36 +01:00
Lachlan
759805580b
Merge pull request #5860 from eclipse/jetty-9.4.x-5851-WebSocketServletCleanup
...
Issue #5851 - remove WebSocketServletFactory as ServletContext attribute on destroy
2021-01-20 15:50:48 +11:00
Joakim Erdfelt
51d93f0771
Attempt to satisfy Filesystem behaviors in testcase.
...
+ Not relying on OS type
2021-01-18 09:03:03 -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
25a3d19734
Adding IPv6 Address (non-literal) without port test case
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-01-14 10:03:06 -06:00
Jan Bartel
b99eb3f76c
Issue #5684 Fix and re-enable ServletRequestLogTest. ( #5877 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-01-13 22:35:36 +01:00
Jan Bartel
a5a8327a1e
Issue #5684 Fix testSetBadBoolean and remove @Disabled ( #5875 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-01-12 17:48:37 +01:00
Simone Bordet
03ec5bb773
Merge pull request #5825 from rk1165/issue_5786
...
Issue #5786 : Revisit Statistics classes
2021-01-12 17:15:44 +01:00
Jan Bartel
46031c225a
Re-enable PathWatcherTest after fix for 5830
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-01-12 16:13:50 +01:00
Jan Bartel
395645aaef
Clarify reason for Disabled annotation on test classes.
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-01-12 15:45:08 +01:00
Ludovic Orban
ba5ba010b8
Merge pull request #5801 from eclipse/jetty-9.4.x-5799-pool-max-duration2
...
Implement max duration of HTTP ConnectionPools
2021-01-12 15:42:32 +01:00
Ludovic Orban
0dec883fda
implement connection pool max duration
2021-01-12 15:41:56 +01:00
Jan Bartel
03ae75f407
Add reason for @Disabled.
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-01-12 12:20:28 +01:00
Jan Bartel
2adea58037
Remove old comment from JdbcLoginServiceTest
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-01-12 12:14:56 +01:00
Jan Bartel
e1e16ae54b
Issue #5870 Windows URI case comparison fails ( #5873 )
...
* Issue #5870 Windows URI case comparison fails
Signed-off-by: Jan Bartel <janb@webtide.com>
* Issue #5870 - Updating Windows tests
+ Eliminating OS.MAC (as it doesn't support drive letters)
+ Adding alt URI syntax version as well
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-01-12 11:44:56 +01:00
Jan Bartel
1a7c3deb09
Issue #5830 Remove com.sun.nio.file import. ( #5838 )
...
* Issue #5830 Remove native classes from PathWatcher.
Removed use of com.sun.nio.file.SensitivityWatchEventModifier, no longer needed.
This has the desirable side-effect of getting rid of com.sun.nio.file package imports.
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-01-12 11:30:04 +01:00
Simone Bordet
6e1cd862e4
Fixes #5845 - Use UTF-8 encoding for client basic auth if requested. ( #5847 )
...
* Fixes #5845 - Use UTF-8 encoding for client basic auth if requested.
* Introduced get/setCharset in BasicAuthenticator on server-side.
* Looking for the "charset" parameter on the client-side, and if there, use it.
* Added test case.
* Code cleanups.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-01-12 11:26:33 +01:00
Simone Bordet
17891673b1
Merge pull request #5867 from eclipse/jetty-9.4.x-5689-keyStore_absolute_path
...
Fixes #5689 - Jetty ssl keystorePath doesn't work with absolute path.
2021-01-12 10:07:41 +01:00
Jan Bartel
26ef233e94
Issue #5824 Durable ConstraintMappings. ( #5842 )
...
* Issue #5824 Durable ConstraintMappings.
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-01-11 10:30:23 +01:00
Simone Bordet
d7e5587eee
Fixes #5689 - Jetty ssl keystorePath doesn't work with absolute path.
...
Introduced new properties jetty.sslContext.keyStoreAbsolutePath
and jetty.sslContext.trustStoreAbsolutePath to default to
${jetty.base}/etc/keystore.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-01-08 21:54:04 +01:00
Simone Bordet
403d5ec318
Fixes #5855 - HttpClient may not send queued requests. ( #5856 )
...
Changed the AbstractConnectionPool.acquire() logic to call tryCreate() even
when create=false.
This is necessary when e.g. a sender thread T2 with create=true steals a
connection whose creation was triggered by another sender thread T1.
In the old code, T2 did not trigger the creation of a connection, possibly
leaving a request queued.
In the new code, T2 would call tryCreate(), possibly triggering
the creation of a connection.
This change re-introduces the fact that when sending e.g. 20 requests
concurrently, 20+ connections may be created.
However, it is better to err on creating more than creating less and leaving
requests queued.
Further refactoring moved field pending from Pool to AbstractConnectionPool.
As a consequence, AbstractConnectionPool.tryCreate() now performs a
demand/supply calculation to decide whether to create a new connection.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2021-01-07 16:05:24 +01:00
Simone Bordet
b45c32616c
Fixes #5844 - --download flag to jetty-start causes NullPointerException.
...
Added test case, null guard and a couple small fixes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-01-07 12:51:06 +01:00
Simone Bordet
5a28c7484a
Avoid that tests wait indefinitely.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-01-06 11:34:30 +01:00
Lachlan Roberts
f738493504
Issue #5851 - remove WebSocketServletFactory as ServletContext attribute on destroy
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-01-05 15:05:31 +11:00
olivier lamy
343e7b2b2a
fix build
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-12-30 21:25:46 +10:00
olivier lamy
960dac2a5d
add a fast profile to quickly build everything
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-12-30 18:13:13 +10:00
Lachlan
3d11d4e071
Merge pull request #5789 from eclipse/jetty-9.4.x-5783-ConnectionStatisticsRates
...
Fix the calculation of rates in ConnectionStatistics
2020-12-28 16:26:55 +11:00
Jan Bartel
29c00ebdf5
Issue #5725 Review preventers. ( #5839 )
...
Note that any Preventer that is documented as being fixed prior to jdk11
should be deleted from jetty-10/11 when this change is merged through.
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-12-24 15:29:31 +01:00
Lachlan Roberts
4e9e9b8d19
Remove the total count from the RateCounter.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-12-21 15:55:54 +11:00
Ravi Kumar
be8d57e3cb
replaced the missed set() call
...
Signed-off-by: Ravi Kumar <kumarravi1165@gmail.com>
2020-12-18 18:31:41 +05:30
Ravi Kumar
69a2558883
fixed the getTasks method and replaced the usage of deprecated set method
...
Signed-off-by: Ravi Kumar <kumarravi1165@gmail.com>
2020-12-18 17:54:09 +05:30
Simone Bordet
ea24a8146d
Merge pull request #5821 from rk1165/issue_5816
...
Fixes #5816 : JMX-ify Scheduler implementations
2020-12-18 09:53:02 +01:00
Lachlan
5611c2daa2
Merge pull request #5790 from eclipse/jetty-9.4.x-5785-WebSocketWarning
...
remove warning log message on CompressExtension failure
2020-12-18 18:11:47 +11:00
Ravi Kumar
433f612793
Made changes as per the review comments
...
Signed-off-by: Ravi Kumar <kumarravi1165@gmail.com>
2020-12-18 08:31:04 +05:30
Ravi Kumar
a4dc95aa79
Added JMX annotations for ScheduledExecutorScheduler
...
Signed-off-by: Ravi Kumar <kumarravi1165@gmail.com>
2020-12-17 21:27:03 +05:30
Ludovic Orban
d5648c73a1
Merge pull request #5820 from eclipse/jetty-9.4.x-5819-PoolArithmeticException
...
backport fix for ArithmeticException in Pool
2020-12-17 16:26:12 +01:00
Ludovic Orban
447823316d
backport fix for ArithmeticException
2020-12-17 14:16:42 +01:00
Olivier Lamy
38f0fc4c7f
Upgrade testcontainers to 1.15.1 ( #5814 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-12-16 19:38:54 +10:00
Olivier Lamy
3730dd4064
execute isAlias test only on linux ( #5813 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-12-16 19:38:39 +10:00
olivier lamy
ac9b9091ac
use an existing url for javadoc url
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-12-16 18:21:04 +10:00
Lachlan
05ac060d7a
Merge pull request #5574 from eclipse/jetty-9.4.x-ByteAccumulator
...
Issue #5499 - Reduce buffer allocations and copying from ByteAccumulator
2020-12-15 20:43:34 +11:00
Lachlan Roberts
41cffa0bc4
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-ByteAccumulator
2020-12-15 16:49:23 +11:00
Greg Wilkins
25ddd6e154
Fix #5794 Close socket on bind failure ( #5802 )
...
* Fix #5794 Close socket on bind failure
Fix #5794 Close socket on bind failure
* Fix #5794 Close socket on bind failure
Fix #5794 Close socket on bind failure
* Fix #5794 Close socket on bind failure
Update fix with IO.close()
2020-12-14 12:16:44 +01:00
Simone Bordet
6a7410dd64
Merge pull request #5756 from eclipse/jetty-9.4.x-5755-h2client_maxDynamicTableSize
...
Fixes #5755 - Cannot configure maxDynamicTableSize on HTTP2Client.
2020-12-14 11:11:39 +01:00