Commit Graph

16240 Commits

Author SHA1 Message Date
Greg Wilkins efdf3c2473
Issue #2970 ensure onComplete is called (#2971)
* Issue #2970 ensure onComplete is called
* Cleanup after review - single try

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-10-20 10:15:05 +11:00
Joakim Erdfelt edc47818e2
Merge pull request #2899 from quaff/jetty-9.4.x
Fix outdated bundle vendor
2018-10-19 10:45:42 -05:00
Joakim Erdfelt 9e84c1ee93 Testing for BindException cause as well
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-10-19 10:38:09 -05:00
Joakim Erdfelt 35ea653f73 Fixing PR #3003 - formatting and junit5 syntax
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-10-19 10:36:26 -05:00
Joakim Erdfelt e52d2047fd
Merge pull request #3003 from reftel/feature/report_address_when_bind_fails
Improve error message when binding to in-use port
2018-10-19 10:34:00 -05:00
Joakim Erdfelt a10c84c40a Issue #3001 - making test more resilient to environments without UTF-8 filesystem support 2018-10-19 10:20:10 -05:00
Magnus Reftel 37a85152eb Improve error message when binding to in-use port
Signed-off-by: Magnus Reftel <magnus.reftel@skatteetaten.no>
2018-10-19 10:46:13 +02:00
Simone Bordet 276fa7e86b Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2796-http2_max_concurrent_streams', 2018-10-18 16:56:13 +02:00
Simone Bordet 907e7afc76 Issue #2796 - Max local stream count exceeded when request fails.
Updates after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-18 16:55:33 +02:00
Simone Bordet 5e2c0600d3 Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2941-asm_jdk11'. 2018-10-18 15:50:07 +02:00
olivier lamy 3490add2a9 remove not anymore used javadoc tages
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-18 16:58:25 +10:00
Greg Wilkins d048dd321e
Merge branch 'jetty-9.4.x' into jetty-9.4.x 2018-10-18 17:07:24 +11:00
Greg Wilkins 8b5d4c7e49
Merge pull request #2968 from lachlan-roberts/jetty-9.4.x-2702-ArithmeticException-Credential
Issue #2702 - ArithmeticException in Credential.stringEquals and .byteEquals
2018-10-18 16:54:16 +11:00
Simone Bordet 932f1a7516 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2018-10-17 15:49:54 +02:00
Simone Bordet 44ac57040a Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2018-10-17 12:36:56 +02:00
Simone Bordet add74bf889 Updated ALPN version for JDK 8u191 and 8u192.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-17 11:56:39 +02:00
Olivier Lamy 211f3d928b
upgrade jackson-databind in maven it to 2.9.7 (#2993)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-17 11:45:42 +10:00
Greg Wilkins 5c8d3f041b Cleanup to avoid duplication method (noticed while reviewing #2977) 2018-10-16 14:30:09 +11:00
Olivier Lamy 64e561dcb1
upgrade surefire plugin 2.22.1 (#2980)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-14 10:50:02 +10:00
WalkerWatch 68911c54fb Updating/augmenting JPMS documentation included in PR #2934 2018-10-11 14:08:24 -04:00
Simone Bordet ec2b5b1810 Issue #2796 - Max local stream count exceeded when request fails.
Bound release of the channel to stream close event.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-11 15:56:47 +02:00
Olivier Lamy 29c51091c7
Jetty 9.4.x simplify jenkinsfile (#2976)
* simplify Jenkinsfile

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* we need checkout scm

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* do not run the first install and move javadoc test to last part

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* remove comments

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-11 17:47:52 +10:00
Jan Bartel 8b44bed25a Issue #2975 Quickstart tests broken 2018-10-11 15:37:16 +11:00
Simone Bordet d25bf815fd
Merge pull request #2934 from eclipse/jetty-9.4.x-2191-jpms_automatic_module_name
Jetty 9.4.x 2191 jpms automatic module name
2018-10-10 23:57:40 +02:00
Simone Bordet 34511670d1 Improved HTTP2Stream.toString().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-10 10:27:02 +02:00
Lachlan Roberts e727ad893d Fixes #2702 - ArithmeticException in Credential.stringEquals and .byteEquals
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-10-10 16:10:29 +11:00
Greg Wilkins fe9096dc21
Merge pull request #2967 from lachlan-roberts/jetty-9.4.x-2892-NPE-MultiPartInputStreamParser
Issue #2892 - NPE in MultiPartInputStreamParser#getPart

Signed-off-by: Lachlan Roberts lachlan@webtide.com
2018-10-10 15:30:00 +11:00
Lachlan Roberts 856b46b4b7 Issue #2892 - NPE in MultiPartInputStreamParser#getPart
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-10-10 15:17:07 +11:00
Simone Bordet 6b6036a21c Issue #2771 - h2spec test failures.
Fixed Stream.isRemotelyClosed() to imply CLOSING as well.
Fixed logging.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-09 23:21:00 +02:00
Simone Bordet cec84cf1bf Issue #2796 - Max local stream count exceeded when request fails.
Reviewed other possible places where max local stream count may
overflow.

Fixed handling of HTTP/2 stream idle timeouts.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-09 15:53:53 +02:00
Greg Wilkins 319766a70c Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-10-05 18:56:49 +10:00
Greg Wilkins 88ec96b600 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2018-10-05 18:37:18 +10:00
Greg Wilkins 166eeaa1f6
Jetty 9.3.x #2954 report cause (#2959)
Issue #2954 Report badmessage cause

Pass BadMessageException from parser to HttpReceiverOVerHTTP

This change has already mostly been made in 9.4, so essentially this is a back port.  However the
primary signature of HttpParser.Handler for badMessage has not been changed and a default method
used to handle the cause. This avoids breaking any usages of the interface.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-10-05 18:36:35 +10:00
Simone Bordet a056695687
Merge pull request #2953 from eclipse/jetty-9.4.x-859-httpclient_stack_overflow
Fixes #859 - Stack overflow error in jetty high level API.
2018-10-05 08:10:35 +02:00
Simone Bordet 1ba945b39b Issue #2941 - JDK 11: UnsupportedOperationException at AnnotationParser.scanClass.
Updated to ASM 7.0-beta, and defaulted AnnotationParser to ASM 7.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-04 13:47:56 +02:00
Simone Bordet bd3eeeaa3f Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2191-jpms_automatic_module_name'. 2018-10-04 12:27:31 +02:00
Simone Bordet 31d82e148e Issue #2191 - JPMS Support.
Using javax.transaction version starting from 1.1 for OSGi compatibility.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-04 11:06:14 +02:00
Simone Bordet 75942298f5 Issue #2191 - JPMS Support.
Restored previous OSGi bundle name for apache-jsp.

Introduced a new property for the JPMS Automatic-Module-Name.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-04 10:51:16 +02:00
Greg Wilkins 9f7f0bdc5f Pass BadMessageException from parser to HttpReceiverOVerHTTP
This change has already mostly been made in 9.4, so essentially this is a back port.  However the
primary signature of HttpParser.Handler for badMessage has not been changed and a default method
used to handle the cause. This avoids breaking any usages of the interface.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-10-04 13:30:11 +10:00
Simone Bordet 4dcc7cbae6 Issue #2191 - JPMS Support.
Restored String constant for the ASM version.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-04 00:43:52 +02:00
Simone Bordet 8e44abb113 Issue #2191 - JPMS Support.
Fixed OSGi manifest version reference.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-03 22:25:40 +02:00
Simone Bordet 76a9be8a82 Issue #2191 - JPMS Support.
Restored error message in case of wrong ASM version.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-03 19:24:05 +02:00
Simone Bordet 20db6700c0 Fixes #859 - Stack overflow error in jetty high level API.
Now executing the call to abort() so that the stack overflow is avoided.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-03 18:24:59 +02:00
WalkerWatch 64dc930500 Clarify Websocket intro. Resolves #2951 2018-10-03 11:13:40 -04:00
Greg Wilkins 9d37feba3c
Cleanup after #2903 (#2933)
Improved dump output of ServletHandler and ContextHandler
Fixed duplicate listeners
Removed unused fields

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-10-03 10:00:14 +10:00
Olivier Lamy baca9cae39
Use cache to download to mongo and upgrade mongodb plugin (#2949)
* cache downloading mongodb and upgrade mongodb embeded plugin

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* force mongodb version

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-03 09:54:05 +10:00
Joakim Erdfelt b91338f97d
Merge pull request #2943 from eclipse/jetty-9.4.x-issue-2936-badmessage-error-handling
Issue #2936 - BadMessageException should be able to be handled by ErrorPageErrorHandler
2018-10-02 16:54:46 -05:00
Simone Bordet 0922644c5b
Merge pull request #2910 from eclipse/jetty-9.4.x-2868-spnego_client
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
2018-10-02 22:50:23 +02:00
Simone Bordet 85d512ceec Restored proper test timeout.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 21:55:09 +02:00
Simone Bordet 462668e80a Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
Running tests only on JDK 11, as apparently other JDKs have problems
with AES encryption/decryption.
Another hypothesis is that Kerby does AES encryption differently from
what earlier JDKs expect.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 21:54:05 +02:00