Commit Graph

11912 Commits

Author SHA1 Message Date
Simone Bordet 061a2e85d9 Added jetty-logging.properties to debug tests. 2016-05-20 01:12:24 +02:00
Simone Bordet aed6bb6d6a Code cleanups. 2016-05-20 01:12:24 +02:00
Jesse McConnell 74715db04c testing git-hook 2016-05-19 10:50:44 -05:00
Jesse McConnell 4bf91b5ab3 Merge remote-tracking branch 'origin/release-9.3.9' into jetty-9.3.x 2016-05-19 09:55:58 -05:00
Jesse McConnell ed61d796ae set version for dev 2016-05-19 09:51:23 -05:00
Jesse McConnell ceac6be05b resolve merge from 9.2.x release 2016-05-19 09:30:32 -05:00
Jesse McConnell 3deebad503 set for dev 2016-05-19 08:56:13 -05:00
Simone Bordet 89531a81be Fixed test. 2016-05-19 15:48:50 +02:00
Jesse McConnell 15a14ff615 Merge branch 'release-9.2.17' into jetty-9.2.x 2016-05-19 08:43:07 -05:00
Jesse McConnell 8e5ea7abde Merge pull request #579 from WalkerWatch/jetty-9.3.x
Updated Chapter 4 with ventilated prose and updated grammar/formatting.
2016-05-19 07:33:35 -05:00
Simone Bordet ff1bfa599f Issue #354 (Spin loop in case of exception thrown during accept()).
Improved the solution by sleeping only if we are still accepting.
This avoids the sleep when the connector is stopping, speeding up tests.
2016-05-19 11:48:51 +02:00
Greg Wilkins 79e5c31029 improved unit test, fixed deferred on chunking 2016-05-19 17:46:50 +10:00
Greg Wilkins cdd73eb4da improved javadoc 2016-05-19 11:27:09 +10:00
WalkerWatch d828100e2e Updated Chapter 4 with ventilated prose and updated grammar/formatting.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-05-18 17:19:49 -04:00
Jesse McConnell dc4574f380 [maven-release-plugin] prepare for next development iteration 2016-05-17 17:30:17 -05:00
Jesse McConnell 0bbebec1e0 [maven-release-plugin] prepare release jetty-9.3.9.v20160517 2016-05-17 17:30:13 -05:00
Jesse McConnell 0cb40665c2 set for release 2016-05-17 16:46:46 -05:00
Jesse McConnell d5c6793e6a [maven-release-plugin] prepare for next development iteration 2016-05-17 15:33:46 -05:00
Jesse McConnell 0bab7e6616 [maven-release-plugin] prepare release jetty-9.2.17.v20160517 2016-05-17 15:33:42 -05:00
Jesse McConnell c99c02e2f5 Merge branch 'pr/576' into jetty-9.3.x 2016-05-17 14:15:30 -05:00
Jesse McConnell 643f8e8096 Merge branch 'jetty-9.3.x' into pr/576
# Conflicts:
#
jetty-documentation/src/main/asciidoc/administration/logging/default-log
ging-with-stderrlog.adoc
2016-05-17 14:02:23 -05:00
Jesse McConnell e31f1401dc set for release 2016-05-17 11:28:03 -05:00
WalkerWatch af885d5e09 Reformatting of dump-tool for #549.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-05-16 22:48:33 -04:00
Simone Bordet 55e5f74889 Fixes #558 - HTTP/2 server hangs when thread pool is low on threads.
Fixed test that was broken after changes for #557.
2016-05-16 15:40:35 +02:00
Simone Bordet dee3331ffb Issue #572 - Don't reject HTTP/2 requests without body in low threads mode.
* Made ProduceExecuteConsume the default ExecutionFactory for HTTP/2.
* Made the HTTP/2 fillable callback non-blocking.
* Introduced configuration for the server initial session recv window.
* Sending a WINDOW_UPDATE frame at session setup to inform the client
 about the server session recv window.
2016-05-16 15:01:08 +02:00
Simone Bordet 67ea8db5aa Always copy the request metadata.
This is necessary because the HTTP/1.1 machinery will recycle the
Metadata.Request object, and it may race with a thread dispatch to
the HTTP/2 machinery that will handle the request.
2016-05-16 15:01:08 +02:00
Joakim Erdfelt e5062a74dd Merge pull request #569 from eclipse/bugs/567
Fixes #567 - NPE in ErrorPageErrorHandler debug
2016-05-13 15:47:36 -07:00
Joakim Erdfelt 97af3d663f Fixes #556 - Improve Resource.getAlias() checks on Windows
+ Reworks PathResource and FileResource alias checking to
  use originally passed paths, before Windows JVM has a
  chance to normalize and "correct" the bad paths.
2016-05-13 11:57:23 -07:00
Greg Wilkins 0a1f4ac98c Issue #570
Encoding mechanism was based on if the first encodable character found was unicode or not.  Changed to not be
order dependent!
2016-05-13 10:52:49 +10:00
Simone Bordet 51dd5c902c Fixed Javadoc. 2016-05-12 19:07:06 +02:00
Simone Bordet 747a741e21 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2016-05-12 19:04:20 +02:00
Simone Bordet e25cca33e7 Fixes #571 - AbstractAuthentication.matchesURI() fails to match scheme. 2016-05-12 19:03:52 +02:00
Simone Bordet cd2c2a6b98 Issue #560 - Jetty Client Proxy Authentication does not work with HTTP Proxy tunneling.
Small refactoring.
2016-05-12 19:03:18 +02:00
Simone Bordet 242b6b5f66 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2016-05-12 18:59:40 +02:00
Simone Bordet f3675dbad7 Fixes #560 - Jetty Client Proxy Authentication does not work with HTTP Proxy tunneling.
The issue was related to the fact that the proxy responded 407 with a
Connection: close header.

Because the endPoint underlying the original connection was closed,
it should not have been used as a tunnel.
Rather, the endPoint of the new CONNECT attempt (with the proxy
credentials) must be used for the tunnel.

Also partially backported the fix for #408.
2016-05-12 17:19:04 +02:00
Simone Bordet 2d3d71ea23 Merged #568. 2016-05-12 16:57:35 +02:00
Greg Wilkins 7c6786a050 Issue #525
fixed bad merge
2016-05-12 13:42:46 +10:00
Greg Wilkins 298a340851 Issue #558
The testEPCExitsLowThreadsMode has been broken, so ignored for now
2016-05-12 13:26:14 +10:00
Greg Wilkins fc9063eeb9 Issue #553
Turn off path compaction as a side effect in rewrite handler.
There is an explicit rule for that!
2016-05-12 12:49:37 +10:00
Simone Bordet 016fc6569f Fixes #558 - HTTP/2 server hangs when thread pool is low on threads.
Modified ExecuteProduceConsume to test for Rejectable tasks when
trying to execute a task in low threads mode, and if so, reject them
immediately.
2016-05-12 00:13:35 +02:00
Simone Bordet 1fc40864e1 Issue #558 (HTTP/2 server hangs when thread pool is low on threads).
Verify that rejecting tasks avoids hanging the server when in low
threads mode.
2016-05-11 13:05:16 +02:00
Simone Bordet 509e1f0f93 Fixes #557 (Review ThreadPool.isLowOnThreads()).
Updated the isLowOnThreads() formula with a more conservative one,
introducing lowThreadsThreshold parameter to tune it.
2016-05-11 13:05:16 +02:00
Simone Bordet f47b6811b4 Improved javadocs and JMX descriptions. 2016-05-11 13:05:16 +02:00
Simone Bordet d9c9e4a399 Issue #557 (Review ThreadPool.isLowOnThreads())
Updated isLowOnThreads() to take into account also the number of idle
threads, so that it now returns true if the number of idle threads <= 1.
2016-05-11 13:05:16 +02:00
Simone Bordet fe8102a430 Cosmetics. 2016-05-11 13:05:16 +02:00
Simone Bordet 8ac23d187a Added tests to verify input data consumption.
Verify that input data is consumed at the end of a request handling,
either when input is not read and when an exception is thrown,
to make sure that the session flow control is not stalled.
2016-05-11 13:05:16 +02:00
Simone Bordet 9b6d42317b Improved logging. 2016-05-11 13:05:16 +02:00
Simone Bordet 30fd8323f4 Added jobs to detailed dump. 2016-05-11 13:05:16 +02:00
Joakim Erdfelt 9cf8f2965a Fixes #567 - NPE in ErrorPageErrorHandler debug
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2016-05-10 17:28:34 -07:00
Dhiraj Bokde 7ef2c25bdb Added test case for HTTP proxy tunneling authorization failure
Signed-off-by: Dhiraj Bokde <dbokde@redhat.com>
2016-05-10 17:22:52 -07:00