Commit Graph

16037 Commits

Author SHA1 Message Date
Simone Bordet 78894c4aae Issue #2191 - JPMS Support.
Added "Automatic-Module-Name" to jetty modules.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-31 15:18:41 +02:00
Jesse McConnell dcf6a8fa9f
Updating to version 9.4.13-SNAPSHOT 2018-08-30 10:48:22 -05:00
Jesse McConnell 2720868475
Updating to version 9.4.12.v20180830 2018-08-30 08:56:44 -05:00
Simone Bordet a878170e22
Merge pull request #2872 from eclipse/jetty-9.4.x-2871-wrong_eof_after_http2_reset
Issue #2871 - Server reads -1 after client resets HTTP/2 stream.
2018-08-30 15:12:38 +02:00
Simone Bordet eb87415ed6 Issue #2871 - Server reads -1 after client resets HTTP/2 stream.
HttpInput.consume() now checks if the state is already failed,
and if so it does not change it when consuming the input.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-30 11:47:50 +02:00
Olivier Lamy 9cb9be83fd Issue #2846 Jaas ldap unit test (#2864)
* #2846 add jaas ldap unit tests

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-08-30 14:17:08 +10:00
WalkerWatch 88363dd3c1 Cleaning up note. 2018-08-29 12:15:37 -04:00
Simone Bordet 1383f60249 Updated Maven Plugin and dependencies versions.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-29 12:22:51 +02:00
Simone Bordet 7cf027b98f Jetty 9.4.x 2711 tls 13 compliance (#2857)
Issue #2711 - TLS 1.3 compliance.

Disabled few tests that are TLS 1.2 specific.
Renegotiation in SslConnection is now skipped for TLS 1.3.
Replaced SNI keystore DSA certificate with RSA certificate.
First full build achieved with JDK 11+28.
Small changes after review.
Modified the test case to pass in JDK 8, where the implementation
throws SSLException, while in later JDKs throws SSLHandshakeException.
Minor cleanup

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-28 21:43:45 +10:00
WalkerWatch 9f6747d741 Updated gzip doc. Resolves #2845 2018-08-27 22:52:58 -04:00
Jan Bartel 09be34e08b
Issue #2844 Clean up webdefault and DefaultServlet documentation (#2851)
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-08-28 09:53:06 +10:00
Simone Bordet 5b5f2fcf5f Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2018-08-27 10:29:12 +02:00
Simone Bordet 29d466e704
Merge pull request #2862 from AntonIvanov87/jetty-9.3.x-2860-fix-leakage-of-HttpDestinations
Issue #2860 Fix leakage of HttpDestinations in HttpClient
2018-08-27 10:13:56 +02:00
Ivanov Anton 6211564f79 Issue #2860 fix after review 2018-08-27 08:29:39 +03:00
Ivanov Anton 03c0d58727 Issue #2860 fix after review 2018-08-27 08:29:39 +03:00
Ivanov Anton 3d87265a0a Issue #2860 fix after review 2018-08-27 08:29:39 +03:00
Ivanov Anton a458bfaaf4 Issue #2860 fixes after review 2018-08-27 08:29:29 +03:00
Ivanov Anton 084d6ce443 Issue #2860 Fix leakage of HttpDestinations in HttpClient
Signed-off-by: Ivanov Anton <an.ivanov@corp.mail.ru>
2018-08-25 18:27:18 +03:00
Simone Bordet 33a1367325 Fixes #2821 - AuthenticationProtocolHandler should not always cache Authentication.Result.
Now the Result is cached only if getURI() returns non-null.
2018-08-24 17:32:58 +02:00
Simone Bordet 3b6fa32684
Merge pull request #2855 from eclipse/jetty-9.4.x-issue-2807-new-ssl-exclusions
Issue #2807 - Updating Default TLS Cipher Suite Exclusions
2018-08-24 17:25:49 +02:00
Simone Bordet 325f943834 Issue #2807 - Updating Default TLS Cipher Suite Exclusions.
Clarified comment about exclusions.
2018-08-24 17:24:40 +02:00
Joakim Erdfelt 5e07592a69 Issue #2807 - Updating Default TLS Cipher Suite Exclusions
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-08-24 06:48:16 -05:00
Greg Wilkins c7fc674846
Issue #2798 thread budget warning default to available cores (#2799)
* Issue #2798 thread budget warning default to available cores
* Issue #2798 - Testcase example for ExecutorThreadPool
* Issue #2798 - Better TestCases for ThreadPoolBudget
* Simplified
* Issue #2798 - ThreadPoolBudget improvements.
* Removed unused imports.
* Made fields private.
* Removed field info.
* Changed the logic to print the info on leases only when warning or throwing.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-24 10:15:55 +10:00
Olivier Lamy 44e57f2170
Issue #2775 LowResourceMonitor extendable (#2812)
* make LowResourceMonitor extendable #2775

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-08-23 21:42:37 +10:00
Greg Wilkins 460f3fcb9b
Close on graceful #2749 (#2772)
Cleanup of Graceful shutdown, plus ensure Connection:close if connector is shutdown for #2749 
* WIP close connection when shutting down
* WIP use HttpChannel.Listener
* cleanups
* support graceful stop of a context
* only close connections if the connector is shutdown
* minor cleanups
* fixed toString and test
* fixed imports
* Move close logic to HttpConnection
* fixed generator to not override persistent
* Issue #2749 - Close connections on graceful shutdown.
* Small fix after review.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-23 08:08:17 +10:00
Joakim Erdfelt 7f3c75a6c6 Using released Jacoco 0.8.2
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-08-22 16:03:21 -05:00
Simone Bordet 0f6ae93ff8 Issue #2828 - AbstractHTTP2ServerConnectionFactory concurrent connect low performance.
Fixed test failure.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-22 21:35:58 +02:00
Joakim Erdfelt 9a06acc846
Merge pull request #2748 from olamy/bugfix/2718_NPE_HttpServerProvider
Issue #2718 - prevent NPE and IAE when changing Executor
2018-08-22 11:48:25 -05:00
Joakim Erdfelt 2c7fc68ff1
Merge pull request #2818 from eclipse/jetty-9.4.x-issue-2817-client-ssl-defaults
Issue #2817 - Client SSL Defaults
2018-08-22 11:46:14 -05:00
Joakim Erdfelt efce43eefc
Merge pull request #2816 from eclipse/jetty-9.4.x-issue-2881-ssl.dump
Issue #2811 - Dump fix JreDisabled:java.security to JVM:disabled
2018-08-22 11:45:48 -05:00
Simone Bordet 6015ad5ead
Merge pull request #2831 from eclipse/jetty-9.4.x-2828-http2_connection_listener_contention
Fixes #2828 - AbstractHTTP2ServerConnectionFactory concurrent connect low performance.
2018-08-22 16:21:17 +02:00
Simone Bordet c5aa15bdd4 Merged branch 'jetty-9.4.x-2836-ssl_cannot_reuse_connection' into 'jetty-9.4.x'. 2018-08-22 16:17:28 +02:00
Simone Bordet 1a7eac5966 Fixes #2847 - Wrap Connection.Listener invocations in try/catch.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-22 16:11:20 +02:00
Joakim Erdfelt e93dc59e10
Merge pull request #2843 from eclipse/jetty-9.4.x-issue-2835-war-file-locking-windows
Issue #2835 - Use original WAR Resource for lastModified
2018-08-22 09:06:33 -05:00
olivier lamy 492361a616 as the jvm start and do some setup we must start all test with a fresh jvm
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-08-22 18:22:10 +10:00
Greg Wilkins 0e2daba7a2 minor cleanup
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-08-22 18:08:33 +10:00
Jan Bartel 51f9a1b5c6
Issue #2681 Hot undeploy dir deployments. (#2839)
* Issue #2681 Hot undeploy dir deployments.
2018-08-22 16:57:42 +10:00
olivier lamy 669c70885f issue #2718 prevent NPE and IAE when changing Executor
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-08-22 16:37:12 +10:00
Greg Wilkins bd143a674b
Issue #2787 BadMessage if bad query detected in dispatcher (#2827)
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-08-22 08:29:12 +10:00
Joakim Erdfelt a90c28bde8 Issue #2835 - Use original WAR Resource for lastModified
+ During WebInfConfiguration.unpack()
  If you have WebAppContext declared with .setWar()
  and it points to a file on the filesystem, use that
  original PathResource object to determine lastModified()
  instead of the forced JarFileResource.
  This is done to avoid URLConnection caching that prevents
  the original WAR file from being deleted / replaced on
  MS Windows.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-08-21 16:39:31 -05:00
Simone Bordet 97a2f3bdf2 Fixes #2828 - AbstractHTTP2ServerConnectionFactory concurrent connect low performance.
Improved JMX for the HTTP2SessionContainer.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-21 21:55:29 +02:00
Joakim Erdfelt 8b7a88608a
Merge pull request #2825 from eclipse/jetty-9.4.x-issue-2824-request-parameters
Issue #2824 - Request.getParameters() should not reparse or recreate _parameters Map
2018-08-21 11:10:01 -05:00
Joakim Erdfelt fc5dd874f3 Issue #2824 - Request.getParameters() should not reparse or recreate _parameters Map
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-08-21 11:09:15 -05:00
Greg Wilkins 45d5bd2cae Issue #2719 --list-config shows properties from files
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-08-21 12:19:11 +10:00
Greg Wilkins 38735f8457 ensure fill is always called if needed by flush
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-08-21 12:02:52 +10:00
Lachlan dbe340a20e Issue #300 - Implement Deflater Pool (#2784)
Issue #300 - Implement Deflater Pool

Removed the ThreadLocal pooling of deflaters in GzipHandler in favour of a new DeflaterPool class
GzipHttpOutputInterceptor.GzipBufferCB now recycles the Deflater in onCompleteFailure()
added benchmark for the DeflaterPool

allow negative capacity to mean no limit on the pool size
added mod file and xml changes

replace setDeflaterPool with newDeflaterPool

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-08-21 10:32:34 +10:00
Simone Bordet bc78778f02 Issue #2836 - Sequential HTTPS requests may not reuse the same connection.
WIP.
Tentative fix to avoid that onFillable() is called after the exchange
is completed.
Now DecryptedEndPoint.fillInterest.fillable() is called before other
methods that may advance the exchange processing.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-20 23:01:43 +02:00
Joakim Erdfelt a3fe88cf1f Removing invalid (and ignored) test from Issue #1175
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-08-20 14:23:17 -05:00
Simone Bordet d8e0f8df12 Issue #2832 - Wrong initialization of HTTP/2 UnknownBodyParser.
Fixed parser initialization.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-19 18:04:47 +02:00
Simone Bordet 467bbbe1f9 Issue #2722 - Improve configurability for SETTINGS frames.
Added one more test.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-08-19 16:29:30 +02:00