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
Jesse McConnell
8db111f833
Merge branch 'jetty-10.0.x' of github.com:eclipse/jetty.project into jetty-10.0.x
2020-04-09 10:33:26 -05:00
Jesse McConnell
c512f41488
set render styles
2020-04-09 10:32:25 -05:00
Jesse McConnell
0db9210f17
update to released web resources artifact
2020-04-09 10:31:38 -05:00
Joakim Erdfelt
4d9d98c2b5
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-04-08 16:15:57 -05:00
Joakim Erdfelt
5699b9ff3d
Updating to version 9.4.29-SNAPSHOT
2020-04-08 13:15:04 -05:00
Joakim Erdfelt
ab228fde9e
Updating to version 9.4.28.v20200408
2020-04-08 12:33:56 -05:00
Jan Bartel
bfc9738f86
Issue #4760 Response.setLocale should override previous ( #4761 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-04-08 17:28:14 +02:00
Joakim Erdfelt
10ddb6e673
Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x
2020-04-08 10:14:21 -05:00
Joakim Erdfelt
b9a9511914
Merge pull request #4748 from eclipse/jetty-9.4.x-4745-centralized-webapp-logging-doc
...
Issue #4745 - update documentation for centralized-webapp-logging
2020-04-08 10:14:12 -05:00
Michael Mayer
9079fa63b3
Improve keystore exception message when keystore is not valid ( #4759 )
...
Signed-off-by: Michael Mayer <michael@schnittstabil.de>
2020-04-08 10:13:10 -05:00
Michael Mayer
a640701d78
Improve keystore exception message when keystore is not valid ( #4759 )
...
Signed-off-by: Michael Mayer <michael@schnittstabil.de>
2020-04-08 15:36:52 +02:00
Jan Bartel
3981ec1342
Issue #4758 Fix doc for DefaultServlet.welcomeServlets
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-04-08 12:27:43 +02:00
Jan Bartel
efe2dc1e90
Issue #4752 Call HttpSessionListener.sessionCreated in add order. ( #4753 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-04-08 11:16:20 +02:00