Commit Graph

11883 Commits

Author SHA1 Message Date
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
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
Greg Wilkins bdafea3e96 Issue #561 Fixed test timer 2016-05-11 09:24:02 +10:00
Greg Wilkins d8715ad217 improved test 2016-05-10 11:43:34 +10:00
Simone Bordet c14833a7f1 Fixes #552 (Improve HTTP/2 idle timeout handling)
Made sure that the stream idle timeout is reset for every stream read
and write.
Made sure that both the stream and the session idle timeouta are reset
for buffered data reads.
2016-05-07 14:45:34 +02:00
Simone Bordet 1056536155 Moved HttpClientLoadTest to "tests" module to test all transports. 2016-05-06 17:10:46 +02:00
Simone Bordet caa45283c7 Fixes #547 (ExecuteProduceConsume (EWYK) does not exit low threads mode)
Exposed getters/setters for ExecutionStrategy.Factory in
ServerConnector and SelectorManager, to allow explicit configuration
and testing.

Added test to verify that EPC exits low threads mode.
2016-05-06 17:10:46 +02:00
Simone Bordet 8bb6d4d7dc Code cleanups. 2016-05-06 17:10:46 +02:00
Simone Bordet 61f9192e58 Renamed field to better tell what's doing. 2016-05-06 17:10:46 +02:00
Simone Bordet 903a6cb49c Expanded static imports. 2016-05-06 17:10:46 +02:00
Jesse McConnell 5d3283af0f add screen styling and switch highlighter to something that matchs current screen look and feel 2016-05-06 08:12:16 -05:00
Greg Wilkins 2a5b120fc3 Issue #525 fix blockForContent spin
abort request in bad request handling
2016-05-06 20:31:55 +10:00
Jesse McConnell bb4b3ef1a9 Merge pull request #551 from WalkerWatch/jetty-9.3.x
Chapter 20 tweaks
2016-05-05 21:16:26 -05:00
WalkerWatch 31899c1959 Chapter 20 tweaks
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-05-05 22:13:04 -04:00
Jesse McConnell cae9c0f1d6 support [source, screen] for html rendering 2016-05-05 17:30:08 -05:00
Jesse McConnell 9a03782447 update the xsl stylesheets and try out a source, shell 2016-05-05 15:43:14 -05:00
Jesse McConnell 4bfc1bfa26 added syntax highlighter colors 2016-05-05 13:01:16 -05:00
Greg Wilkins c1d201de61 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-05-05 11:36:08 +10:00
Greg Wilkins c77df55bb6 Issue #547 EWYK leaves low resource mode
Merged code cleanups
2016-05-05 11:35:32 +10:00
Jesse McConnell 409dcf0bbf Merge pull request #548 from WalkerWatch/jetty-9.3.x
Updated maven link and formatting changes for Jetty config.
2016-05-04 20:33:17 -05:00
WalkerWatch 16bb2d91d8 Updated maven link and formatting changes for Jetty config.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-05-04 21:30:51 -04:00
Greg Wilkins 6591137ba0 Issue #547 EWYK leaves low resource mode
Directly implement PEC in EPC low resource mode
2016-05-05 11:22:37 +10:00
Simone Bordet e6e63d5549 Code cleanups. 2016-05-04 11:46:59 +02:00
Simone Bordet a0bd9d3887 Fixes #546 (Guard concurrent calls to ExecutionStrategy.execute())
Guarded invocations to execute() with a state change.
2016-05-04 11:43:50 +02:00
Simone Bordet 49a19abd71 Fixes #521 (Separate usage of the Server and the ServerConnector Executors)
Found another couple of places where we should use the Server Executor.
2016-05-04 11:28:13 +02:00
Greg Wilkins a32e3a2091 avoided NPE in example 2016-05-04 10:53:05 +10:00
Greg Wilkins 90110659e2 fixed javadoc 2016-05-04 10:49:22 +10:00
Greg Wilkins a9a21daa8e Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-05-04 09:15:13 +10:00
Greg Wilkins e783777d1c Issue #519 Disable SSL session caching
Made caching parameters configurable
2016-05-04 09:14:35 +10:00
Joakim Erdfelt 2dbecb0843 Fixing broken javadoc 2016-05-03 11:23:10 -07:00
Jesse McConnell 8fd446040b documentation build in default reactor 2016-05-03 07:29:17 -05:00