BenBE
f7faf392b2
Fix operator priority in ProxyConnectionFactory
...
Due to shift operations taking less precedence over addition the expression was parsed in an unintended way.
With this change the intention is made more clear and the intended order of calculations (shift the single byte values into some variable) is actually implemented.
Signed-off-by: Benny Baumann <BenBE@geshi.org>
2018-04-26 16:15:35 +02:00
Olivier Lamy
fbbf5d2d2d
allow --add-to-start to specify maven repository location #2403 ( #2473 )
...
* allow --add-to-start to specify maven repository location #2403
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-25 10:57:45 +10:00
Simone Bordet
525579a395
Merge pull request #2475 from eclipse/jetty-9.4.x-2474-http2_client_invalid_server
...
Issue #2474 - HTTP/2 client not handling invalid servers correctly.
2018-04-24 10:44:27 +02:00
Simone Bordet
d7dac7ea1d
Issue #2474 - HTTP/2 client not handling invalid servers correctly.
...
Fixed by start reading from the server after the session
promise has been notified, which may send the first request.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-23 20:04:25 +02:00
Olivier Lamy
571232d4ce
change thread number to test on the build platform
2018-04-22 09:47:28 +10:00
olivier lamy
e504085b57
grhhh I missed to get rid of this one...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-21 16:55:18 +10:00
olivier lamy
7912a55dec
use variable for this reused value
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-21 10:39:18 +10:00
Simone Bordet
fa5a1d3be4
Fixes #2453 - RawHTTP2ProxyTest.testRawHTTP2Proxy failure on CI.
...
onData() implementations must copy the data
bytes if they do not consume them locally.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-20 18:15:53 +02:00
olivier lamy
1574ea1780
reduce pmd plugin noise
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 21:25:13 +10:00
Olivier Lamy
2abc5928b0
Merge pull request #2467 from olamy/bugfix/hazelcast_testClusteredScavenge_2440
...
no need to create different map per test as we clear it
2018-04-20 19:51:51 +10:00
olivier lamy
781cf076f7
compact syntax :-)
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 18:59:12 +10:00
olivier lamy
b90f6de54e
no need to create different map per test as we clear it
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 18:59:12 +10:00
Olivier Lamy
5758fb52c0
Merge pull request #2469 from olamy/feature/build_local_repo_test
...
test new local repository for CI and use PMD cache
2018-04-20 18:54:10 +10:00
Simone Bordet
6e2cd06c89
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2018-04-20 10:31:39 +02:00
Simone Bordet
8323417622
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2018-04-20 10:27:14 +02:00
Simone Bordet
d7ce334f8f
Updated ALPN version for JDK 8u171 and 8u172.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-20 10:16:50 +02:00
olivier lamy
b261c11920
use a variable for maven tool and use same directory as now local repo is relative
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 17:48:08 +10:00
olivier lamy
06b04e9cda
enable cache for pmd plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 16:53:29 +10:00
olivier lamy
43e030b568
using the same for all invocation will work better...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 16:50:30 +10:00
olivier lamy
c910b0e6d5
test new local repository
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 16:40:05 +10:00
olivier lamy
791d4c7d2c
Revert "use an other local repository to try having install plugin stuck..."
...
This reverts commit ef17962f510f5545d52b90eb61bcc9272640ea44.
2018-04-20 16:38:52 +10:00
olivier lamy
ef17962f51
use an other local repository to try having install plugin stuck...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 16:32:14 +10:00
Greg Wilkins
67ebdea11b
Directly set warnAt to minThreads #2464
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-20 08:12:34 +10:00
Greg Wilkins
11854f502c
Directly set warnAt to minThreads #2464
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-20 08:10:20 +10:00
Olivier Lamy
9c1cd15e6f
Merge pull request #2462 from olamy/no_sources_jar_for_test_modules
...
[WIP] no need of sources jar for test jars will save some io...
2018-04-19 18:16:41 +10:00
Olivier Lamy
c7e78ae896
update logging versions #2461 ( #2465 )
...
* update logging versions #2461
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 15:45:11 +10:00
Greg Wilkins
6d0ff04dab
Directly set warnAt to minThreads #2464
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-19 15:38:22 +10:00
olivier lamy
d84cac1be7
no need of sources jar for test jars will save some io...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 10:27:18 +10:00
olivier lamy
237d6280c3
upgrade pmd plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
olivier lamy
9dd72454da
upgrade jar plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
olivier lamy
c8bb36330a
upgrade dependency plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
olivier lamy
d68e9ea23c
upgrade compiler plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
olivier lamy
01c08133de
upgrade install plugin 2.5.2
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
Simone Bordet
50c44f2297
Fixes #2454 - Avoid sending empty DATA frame in case of HTTP/2 trailers.
...
Updated the logic to avoid sending an empty data frame
when only sending the trailers in HttpTransportOverHTTP2.send().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-18 14:19:58 +02:00
Jan Bartel
0e88849a68
Issue #2164 Make osgi.serviceloader mostly optional ( #2408 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-04-18 14:48:53 +10:00
Simone Bordet
fac93fa7f8
Fixes #2451 - Review ReservedThreadExecutor.getAvailable().
...
Fixed by having getAvailable() returning _stack.size().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-17 16:30:06 +02:00
Olivier Lamy
f36eba4577
class.newInstance is deprecated #2435 ( #2437 )
...
* Class.newInstance() is deprecated in Java 9+ #2435
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-17 19:07:20 +10:00
Simone Bordet
882deb00b4
Merge pull request #2426 from lachlan-roberts/jetty-9.4.x-1555-AuthenticationProtocolHandler
...
Issue #1555 WWW-Authenticate realm header ordering
2018-04-17 10:26:53 +02:00
Lachlan Roberts
497b87eb2e
Fixed bug with regex and style cleanup.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-17 17:34:16 +10:00
Jan Bartel
516f6d21c5
Issue #110 Avoid classloading for checking roles in jaas ( #2381 )
...
* Issue #110 Avoid classloading for checking roles in jaas
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-04-17 16:20:13 +10:00
Olivier Lamy
ce1317f204
add it test for #2430 which works... ( #2442 )
...
* add it test for 2430 which works...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* fix missing header
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-16 10:22:56 +10:00
olivier lamy
5f2306c9cd
add a profile to run all tests even those disable with some jdks
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-14 13:03:50 +10:00
Olivier Lamy
977fb521a0
add jdk11 in the jdk list ( #2438 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-13 22:25:41 +10:00
olivier lamy
ffa270b6c8
disable failing tests for jdk11
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-13 21:49:02 +10:00
Simone Bordet
6224e75862
Issue #2366 - Review HTTP/2 interleaving. ( #2379 )
...
* Fixes #2366 - Review HTTP/2 interleaving.
Now using a fairer algorithm that performs multiple generation passes
but without generating all frames for the current entries - it stops
after N passes over all the entries when the number of bytes to
write is large enough.
Using HttpConfiguration.outputBufferSize as the writeThreshold on
the server and a default 32 KiB on the client to stop the generation
after a pass over all the entries.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-13 11:50:17 +02:00
olivier lamy
cffc2b0c12
use last maven version
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-13 12:48:12 +10:00
Simone Bordet
7629a8f98f
Fixes #2425 - Review BufferUtil.isMappedBuffer(). ( #2432 )
...
Now explicitly using a _mappedBuffer field in
CachedContentFactory.CachedHttpContent.
Deprecated BufferUtil.isMappedBuffer().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-12 10:36:57 +02:00
Lachlan Roberts
29dccf668c
Changes after review 1
...
Regex will now look for comma and spaces before realm. Preventing issues accepting params with realm as a suffix like blahrealm.
Stops adding double commas when extracting realm param.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-12 10:33:47 +10:00
Simone Bordet
b09760ca9a
Code cleanups.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-11 15:05:58 +02:00
Simone Bordet
c14f7efc95
Fixes spurious failures of FlowControlStrategyTest.testServerFlowControlOneBigWrite().
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-10 19:01:15 +02:00