olivier lamy
557b493588
tests fixed
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-04-22 10:24:16 +10:00
olivier lamy
6d4d7393fc
do not test anymore if LinkageError is not there because it is there with java14 but still working...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-04-22 10:23:45 +10:00
Lachlan Roberts
73382fe430
Issue #4800 - disable test DistributionTests.testSimpleWebAppWithWebsocket()
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-04-22 09:42:00 +10:00
Jan Bartel
8516240c03
Tidy up osgi test code, add more to README.txt
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-04-21 16:51:58 +02:00
Joakim Erdfelt
d1163261a0
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-4747-WebSocketTCK
2020-04-21 09:07:31 -05:00
Jan Bartel
74b6694075
Jetty 10.0.x 4794 http input set read listener ( #4796 )
...
* Issue #4794 HttpInput.setReadListener should check async state
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-04-21 15:24:40 +02:00
Joakim Erdfelt
6b7528efec
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-4770-simplify-gzip-testing
2020-04-21 06:02:20 -05:00
Joakim Erdfelt
1d1dbf6085
Issue #4770 - Testcase fixes
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-04-21 06:02:04 -05:00
Lachlan Roberts
e189691917
Issue #4722 - fix build, websocket util exporting jetty servlet with jpms
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-04-20 09:22:01 +10:00
Lachlan
f23236b09d
Merge pull request #4775 from eclipse/jetty-10.0.x-4771-WebSocketMessageHandlerTests
...
Issue #4771 - cleanup and add tests for the unused ws message handlers
2020-04-20 08:43:39 +10:00
Simone Bordet
be4cbd69c1
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-04-19 16:50:04 +02:00
Simone Bordet
fe7f71fda1
Excluding the "external" tests to make builds in Jenkins more reliable.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-19 16:47:49 +02:00
Simone Bordet
78e697d0a0
Fixes #4787 - Make org.eclipse.jetty.client.HttpRequest's host name writable.
...
For some historical reason, host and port were not mutable after the request
was created. Since many other key parameters are mutable (e.g. the scheme)
it makes sense to make host and port mutable too.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-18 21:52:27 +02:00
Simone Bordet
426c80bf6d
Fixes #4778 - Enforcing SNI when there are only non-wildcards certificates.
...
If SNI is required, wrap the KeyManagers with SniX509ExtendedKeyManager.
Updated the main keystore file to only have one certificate (instead of two),
since there never was the need for two certificates in the tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-18 18:15:03 +02:00
Simone Bordet
100e36b7e8
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-04-18 16:24:15 +02:00
Simone Bordet
15f7e0671b
Issue #4443 - Track backport of ALPN APIs to Java 8.
...
Removed Java 8 profiles, not needed anymore.
Jetty 9.4.x requires Java 9+ to be built, in order to build Java 9 specific modules.
The ALPN boot jar used in tests was either replaced by the ALPN agent or the tests only run in Java 9+.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-18 16:21:36 +02:00
Olivier Lamy
56f92adcc6
Jetty 10.0.x graphviz container ( #4783 )
...
* configure build using image jettyproject/jetty-build:latest
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-04-18 09:59:04 +10:00
Simone Bordet
bea09425c8
Improvements to the Jetty server documentation.
...
Using one-line-per-sentence.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-17 16:16:53 +02:00
Lachlan Roberts
213e157f42
Issue #4722 - changes from review
...
- Fix packages exposed in the websocket configuration
- Make servlet dependency for websocket-util optional
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-04-17 07:50:14 +10:00
Olivier Lamy
fb8c8270b3
upgrade spifly to 1.2.4 and replace jdk13 build with jdk14 ( #4780 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-04-16 11:20:43 +10:00
Olivier Lamy
d681f10853
upgrade spifly to 1.2.4 and replace jdk13 build with jdk14 ( #4780 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-04-16 11:19:47 +10:00
Joakim Erdfelt
aa702c06bd
Issue #4770 - Deprecate GzipTester
...
+ Renamed TestDirContentServlet to AbstractFileContentServlet
+ Renamed various TestServlet*Write classes to BlockingServlet*Write to better
represent their purpose.
+ Renamed TestServletBufferTypeLengthWrite to HttpOutputWriteFileContentServlet
+ Cleaned up GzipContentLengthTest to be one big ParameterizedTest
- now does Internal vs External GzipHandler testing too.
+ Introduced AbstractGzipTest to house simple common methods
+ Cleanup remaining testcases
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-04-15 12:30:02 -05:00
Greg Wilkins
6694f94cd5
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-04-15 18:50:19 +02:00
Greg Wilkins
2addb6a655
Jetty 10.0.x use HandlerList instead of HandlerCollection ( #4757 )
...
* Use HandlerList instead of HandlerCollection
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Use HandlerList instead of HandlerCollection
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-04-15 18:42:28 +02:00
olivier lamy
5199e78587
those jars are provided as they come from jetty distribution if not they try to load slf4j impl
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-04-15 18:29:46 +10:00
Lachlan Roberts
4047e31ce7
Issue #4771 - cleanup and add tests for the different ws message handlers
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-04-15 10:50:27 +10:00
Lachlan
4388c376ba
Merge pull request #4704 from eclipse/jetty-9.4.x-4235-OpenIdErrors
...
Issue #4235 - communicate reason of OpenID auth failure to error page
2020-04-15 09:42:06 +10:00
Simone Bordet
da651e995f
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-04-14 23:37:26 +02:00
Simone Bordet
0953a93335
Merge pull request #4768 from eclipse/jetty-9.4.x-4764-http2_content_length
...
Fixes #4764 - HTTP2 Jetty Server does not send back content-length.
2020-04-14 23:31:21 +02:00
Simone Bordet
5bad85b37b
Merge pull request #4767 from eclipse/jetty-10.0.x-4765-gziphandler_servletcontexthandler
...
Issue #4765 - Review GzipHandler inside ServletContextHandler.
2020-04-14 23:30:29 +02:00
Simone Bordet
fc7fb9e5d7
Improvements to the Jetty server documentation.
...
Removed the old Handler documentation, already replaced by the new one.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-14 23:28:43 +02:00
Simone Bordet
b388b53f79
Improvements to the Jetty server documentation.
...
Revised and moved documentation for 1xx status codes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-14 22:52:20 +02:00
Simone Bordet
79c90402e5
Improvements to the Jetty server documentation.
...
Documented HttpChannel.Listener events.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-14 16:01:37 +02:00
Lachlan Roberts
0de5976651
Issue 4235 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-04-14 21:34:26 +10:00
Simone Bordet
0e30d6b751
Fixes #4764 - HTTP2 Jetty Server does not send back content-length.
...
Fixed InterleavingTest that was using the wrong MetaData.Response constructor.
Fixed handling of HEAD methods in HttpTransportOverHTTP2.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-14 13:05:24 +02:00
Jan Bartel
474fa8b8e9
Issue #4762 Request.authenticate must return true if already authenticated ( #4763 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-04-14 12:49:22 +02:00
Simone Bordet
509f5791ff
Issue #4765 - Review GzipHandler inside ServletContextHandler.
...
Restored IncludedGzipTest.
Fixed ServletContextHandler.relinkHandlers(), now excluding
the checks for GzipHandler.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-14 12:39:19 +02:00
Simone Bordet
013acca012
Issue #4765 - Review GzipHandler inside ServletContextHandler.
...
Fixed XML files.
Restored ServletContextHandler.setGzipHandler() and
deprecated it in case it's used from user's XML files.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-14 12:19:52 +02:00
Simone Bordet
3e96bf8621
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-4764-http2_content_length'.
2020-04-14 11:45:48 +02:00
Simone Bordet
2e85b3e169
Fixes #4764 - HTTP2 Jetty Server does not send back content-length.
...
Updates after review.
Now the Content-Length header is generated by HpackEncoder based on
MetaData.contentLength, so that the MetaData.HttpFields are not modified.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-14 11:44:58 +02:00
Joakim Erdfelt
b6489ccae0
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-04-13 17:10:59 -05:00
Simone Bordet
e17d0f4e98
Issue #4765 - Review GzipHandler inside ServletContextHandler.
...
Fixed test failures.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-13 23:54:31 +02:00
Simone Bordet
dc89f7f264
Fixes #4764 - HTTP2 Jetty Server does not send back content-length.
...
Sending Content-Length header if known at the time of sending the
response headers.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-13 17:57:38 +02:00
Simone Bordet
1a234dcf4c
Issue #4765 - Review GzipHandler inside ServletContextHandler.
...
Removed GzipHandler from ServletContextHandler.
Updated ServletContextHandlerTest.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-13 14:55:16 +02:00
Simone Bordet
93774ae564
Fixed #4766 - SecuredRedirectHandler should extend HandlerWrapper.
...
Updated the implementation to extend from HandlerWrapper.
Updated the documentation.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-13 14:36:33 +02:00
Simone Bordet
14fda86944
Improvements to the Jetty server documentation.
...
Written HTTP/2 low-level section.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-13 12:30:55 +02:00
olivier lamy
34a2d6e673
fix header
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-04-11 10:41:47 +10:00
Chris Walker
5b1d4d492e
Manual move of Weld documentation changes.
2020-04-10 15:29:10 -05:00
Simone Bordet
35dce5f315
Improvements to the Jetty server documentation.
...
Written connector and handler sections.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-10 15:40:15 +02:00
Simone Bordet
d2844bb102
Improvements to the Jetty server documentation.adoc
...
Moved old documentation to old_docs/.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-10 15:40:15 +02:00