Simone Bordet
039ced6e25
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-16 15:13:54 +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
8305125df0
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-05-13 11:59:02 -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
d2b0daefb4
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-13 11:21:50 +10: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
922319c3a3
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-12 19:30:50 +02: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
0341d09e38
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-12 14:00:44 +10: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
094de7548e
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-12 12:50:21 +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
2a4cbdd111
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-12 00:22:31 +02: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
d8961139f3
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-11 13:57:08 +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
Greg Wilkins
6fb095f02c
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-11 16:23:06 +10: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
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
19c63703ea
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-07 14:50:56 +02: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
9a5d8f3943
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-06 17:43:49 +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