Jan Bartel
7fd93f1929
Make NEVER_EVICT default session eviction policy; add more debug logging
2016-05-19 12:49:20 +10:00
Greg Wilkins
f826d1365b
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-19 11:27:59 +10:00
Greg Wilkins
cdd73eb4da
improved javadoc
2016-05-19 11:27:09 +10:00
Simone Bordet
0cac43d53f
Fixed invocation of EndPoint.onClose().
...
Made sure EndPoint.onClose() is invoked only once and that EndPoints
that have a socket channel associated invoke the SelectorManager
lifecycle callbacks for EndPoints.
2016-05-19 00:15:00 +02:00
Simone Bordet
db8a59b6f5
Code cleanups.
2016-05-19 00:11:43 +02:00
Greg Wilkins
353b1b14c4
a slightly better onClose impl. Still not right
2016-05-18 19:09:23 +10:00
Greg Wilkins
1168115d5a
another onClose fix attempt
2016-05-18 17:12:14 +10:00
Jan Bartel
c727518d5c
Fix session test timeouts
2016-05-18 17:05:01 +10:00
Jan Bartel
07c45149d4
Skip mongo session tests by default
2016-05-18 17:05:01 +10:00
Jan Bartel
387f433711
Refactor names of session impl classes; fix bugs; add some tests
2016-05-18 17:05:01 +10:00
Greg Wilkins
89d20223a6
reverted close change
2016-05-18 15:22:27 +10:00
Greg Wilkins
49ec41f600
Issue #525 fix blockForContent spin
...
Improved test
2016-05-18 12:54:27 +10:00
Jesse McConnell
0193532748
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-05-17 14:16:17 -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
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
f519bfaf71
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-16 15:41:02 +02: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
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