Commit Graph

11809 Commits

Author SHA1 Message Date
Greg Wilkins fbdd5e1da6 Issue #432 Limit queue size in ByteBufferPools
Created a shared Bucket instance that can count down available space.
2016-04-24 09:58:38 +10:00
Greg Wilkins 367a807592 Issue #521 Separate executors for server and connector
HttpChannel uses the server executor
LowResourceMonitor checks both server and connector executors.
2016-04-23 10:50:05 +10:00
Greg Wilkins bf5b6f8939 Issue #533 Do not hide file resource exception
ignore exception
2016-04-23 09:36:19 +10:00
Greg Wilkins ec8e1055e3 Issue #533 Do not hide file resource exception
Add exception as suppressed
2016-04-23 09:36:19 +10:00
Greg Wilkins 132cd097ce Issue #519 Disable SSL session caching
Improved javadoc
wired up session cache size correctly
2016-04-23 09:36:19 +10:00
Simone Bordet 89efdb3e09 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2016-04-20 14:29:11 +02:00
Simone Bordet c90f60bd9c Updated ALPN version for JDK 8u91 and 8u92. 2016-04-20 14:26:17 +02:00
Greg Wilkins 738f61d0eb Issue #501 clear continuation initial on undispatch 2016-04-16 09:55:34 +10:00
Joakim Erdfelt 2fa7d3fa37 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-04-14 14:36:02 -07:00
Joakim Erdfelt b402524401 Bumping up jetty-version-maven-plugin rev 2016-04-14 12:11:07 -07:00
Simone Bordet 6827c5b045 Fixes #514 - Allow ExecutionStrategy to be configurable.
Introduced setters and constructor parameters to components that use
ExecutionStrategy.
2016-04-14 12:20:31 +02:00
Greg Wilkins e1b0967e59 removed needless warning 2016-04-14 16:32:26 +10:00
Joakim Erdfelt 5cd89d9efc Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-04-13 13:42:23 -07:00
Joakim Erdfelt f28c58044e Fix #437 - updates to NPE prevention 2016-04-13 13:40:14 -07:00
Joakim Erdfelt 6abb272619 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-04-13 11:52:36 -07:00
Joakim Erdfelt 210f9a8d7c Fixes #510 - Module [depend] property expansion should support eg foo/${bar}/${bar}-xxx 2016-04-13 11:50:57 -07:00
Joakim Erdfelt 76476b6d28 Issue #437 - Avoid NPE on receiving empty message though MessageHandler.Partial
Minor updates to use features elsewhere in Jetty.
2016-04-13 11:40:13 -07:00
Pavel Baranchikov 3630f623d8 Fix #437 Avoid NPE on receiving empty message though MessageHandler.Partial
Signed-off-by: Pavel Baranchikov <p.a.baranchikov@gmail.com>
2016-04-13 11:39:56 -07:00
Joakim Erdfelt 6fb338e50d Updating to version 9.3.9-SNAPSHOT 2016-04-11 16:20:50 -07:00
Joakim Erdfelt bb4f3c4882 Updating to version 9.3.9.M1 2016-04-11 15:35:22 -07:00
Simone Bordet f0a1ccf4d3 Fixes #504 - HTTP/2 client transport cannot send request after idle timeout.
Made sure that the idle timeout mechanism notifies the destination
that the connection will close.

Also reviewed the close protocol to be: notify destination, then abort,
then close. In this way, HTTP/2 can send RST_STREAM before the
connection is closed.
2016-04-11 19:15:17 +02:00
Simone Bordet 11242ae1ec Fixes #503 - Wrong request-per-connection counting in MultiplexHttpDestination in case of failures. 2016-04-11 19:15:17 +02:00
Simone Bordet ac4ee8fec4 Ignoring tests that connect to external sites. 2016-04-11 19:15:17 +02:00
Simone Bordet 5c3e068cb3 Fixes #481 - Event response.success notified without waiting for content callback for HTTP/2 transport.
Improved fix, notifying the response.success event using a
CompletableCallback to avoid that HttpReceiver.responseContent()
fails the update from ResponseState.TRANSIENT.
2016-04-11 12:55:37 +02:00
Jesse McConnell d8a6bed74a set proper scm info 2016-04-07 10:43:12 -05:00
Greg Wilkins d9bfc8b8e0 Issue #490 serverClasses set from jetty-web.xml
Provided a mode that ignores server classes, but still allows them to be edited.
2016-04-07 17:35:03 +10:00
Greg Wilkins 4b94aa2c97 Issue #491 Do not assume gzip acceptable for HTTP/2
Removed the HTTP/2 specific code for #491
2016-04-07 11:39:34 +10:00
Simone Bordet b047c6332e Fixed ALPN files merge. 2016-04-05 11:00:47 +02:00
laeubi f057691cc1 Fix #480 [jetty-osgi] org.eclipse.jetty.annotations should be optional
Signed-off-by: laeubi <laeubi@laeubi-soft.de>
2016-04-05 17:25:03 +10:00
Greg Wilkins 815764c279 Issue #472 Use LongAdder for statistics
Improved JMX context names
2016-04-05 12:53:19 +10:00
Greg Wilkins bbb7f2188c Merge branch 'jetty-9.3.x' into issue-472 2016-04-05 12:24:25 +10:00
Greg Wilkins b087e6db28 Issue #467 Compact // rule
Improved the rewrite classes and modules to make it easier to compact // withing a URL.
This can now be done with --module=rewrite,rewrite-compactpath
2016-04-05 12:13:29 +10:00
Greg Wilkins 557ca69f59 Merge branch 'jetty-9.3.x' into issue-472 2016-04-05 10:00:09 +10:00
Greg Wilkins 424f0c1e04 Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x 2016-04-05 09:57:28 +10:00
Simone Bordet 5c147288ef Fixes #481 - Event response.success notified without waiting for content callback for HTTP/2 transport.
Fixed by notifying the response.success event only when the callback
is succeeded.
2016-04-04 15:40:25 +02:00
Simone Bordet c1997b40a5 Updated ALPN to OpenJDK 8u77. 2016-04-04 15:38:53 +02:00
Simone Bordet 3e6bc4d17a Updated ALPN version for JDK 8u77. 2016-04-04 10:58:09 +02:00
Simone Bordet 3fb06cca21 Issue #476 - HttpClient should not send absolute-form target with non HttpProxy.
Fixed test case.
2016-04-01 22:04:15 +02:00
Simone Bordet 4f68d44a50 Fixes #477 - HTTP/2 client transport must not send absolute-form :path pseudo-header.
Reducing the target to a path if it is in absolute-form.
2016-04-01 19:16:52 +02:00
Simone Bordet aac9f70243 Fixes #476 - HttpClient should not send absolute-form target with non HttpProxy.
Now only sending absolute-form in case of HttpProxy.
2016-04-01 17:46:22 +02:00
Simone Bordet ce04cadb79 Fixes #233 - Add message to idle TimeoutException. 2016-04-01 14:44:26 +02:00
Simone Bordet 4aa512e468 Issue #184 - Empty Realm for BasicAuthentication.
Fixed by allowing empty realms.
2016-04-01 14:29:11 +02:00
Simone Bordet c8fea46e8f Issue #450 - Client AuthenticationProtocolHandler sends request failures to response failure listener.
Fixed by properly forwarding response success in case only the
request failed.
2016-04-01 12:46:12 +02:00
Simone Bordet a97d29f54b Removed usages of deprecated Callback.Adapter. 2016-04-01 12:46:12 +02:00
Greg Wilkins 91bef55924 Issue #472 Use LongAdder for statistics
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2016-04-01 17:22:45 +11:00
Jan Bartel 77a6514063 Issue #469 Update to Apache Jasper 8.0.33 2016-03-31 18:43:50 +11:00
Jan Bartel 60bccc178e Issue #469 update to apache jasper 8.0.33 2016-03-31 18:41:03 +11:00
Greg Wilkins 08b528e960 Issue #470 AsyncContextState NPE if called after reset
Added a NOT_ASYNC state to the enum to avoid the null value.
2016-03-31 18:23:18 +11:00
Simone Bordet 86f3947378 Issue #454 - DoSFilter does not send an error status code when closing a connection, because of timeout.
Introduced onRequestTimeout() to deprecate closeConnection() since
the method was wrongly named.
Now onRequestTimeout() performs a sendError(503) to signal that the
request timed out, rather than responding with 200 OK.

Cleaned up tests.
2016-03-30 19:08:32 +02:00
Greg Wilkins c768828703 Issue #458 Improve Quality list handling
Added QuotedCSV and QuotedQualityCSV that are up to date with RFC7230
2016-03-30 19:07:11 +11:00