Joakim Erdfelt
8157a4533c
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-06-22 10:43:43 -07:00
Joakim Erdfelt
cce7837e64
Fixes #654 - ServletContext.getResourceAsStream("/") should return null
...
+ Jetty 9.2 (and earlier) used a Resource.getInputStream() implementation
that would trigger an IOException on-construction (vs on-first-access)
due its use of java.io.FileInputStream(File) which had a isDirectory
check in its constructor.
+ Jetty 9.3 and onward uses java.nio.file.Files.newInputStream() which
has the bad on-first-access behavior.
+ Changing the behavior of PathResource.getInputStream() to behave the
same way as the prior FileResource.getInputStream(), as well as adding
the Resource.isDirectory() check back into ContextHandler.getResourceAsStream(String)
to prevent creation of the InputStream in the first place.
2016-06-22 09:09:05 -07:00
Greg Wilkins
d05c282baa
Issue #644 Modules for enabling logging
...
Improved descriptions
2016-06-17 23:33:26 +10:00
Greg Wilkins
d79b0a7acd
Issue #644 Modules for enabling logging
...
Separated modules for jetty logging
Added JCL
2016-06-17 14:57:25 +10:00
Greg Wilkins
07b0127587
Issue #644 rename module
2016-06-17 07:42:57 +10:00
Greg Wilkins
2fbf466393
Issue #644 Modules for enabling logging
2016-06-17 07:39:11 +10:00
Greg Wilkins
e607acfa4e
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-06-15 18:06:32 +10:00
Greg Wilkins
a8e315a3f5
Fix #663 NPE during context stop
...
Avoid adding null beans
protect against null beans.
2016-06-15 18:04:33 +10:00
Jesse McConnell
16f3ea82c1
fix javadoc
2016-06-03 09:45:10 -05:00
Greg Wilkins
723563aa84
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-06-03 16:21:48 +10:00
Greg Wilkins
a2309057dc
Test Harness for #596
...
Test harness to try to repeat problem with #596 of content-length added to a HEAD response.
In the process added a much better getResponse mechanism to the local connector that avoids
using the idle time.
2016-06-03 14:15:25 +10:00
Greg Wilkins
98c328fb23
Jetty 9.4.x 572 ( #614 )
...
* Issue #572 Scheduling Strategy Deadlocks
Implemented dual strategy idea from #572 discussion
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* fixed http2 strategy choice
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* code cleanups
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* clean up seelctor actions/products
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* cleanups
2016-06-03 09:07:00 +10: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
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
242b6b5f66
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-05-12 18:59:40 +02: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
30fd8323f4
Added jobs to detailed dump.
2016-05-11 13:05:16 +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
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
903a6cb49c
Expanded static imports.
2016-05-06 17:10:46 +02:00
Greg Wilkins
15480a7c94
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-05 11:37:00 +10:00
Greg Wilkins
c77df55bb6
Issue #547 EWYK leaves low resource mode
...
Merged code cleanups
2016-05-05 11:35:32 +10: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
4d4ecfd5cf
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-04 11:47:54 +02: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
Greg Wilkins
a5d3f29f11
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-04 11:10:03 +10:00
Greg Wilkins
90110659e2
fixed javadoc
2016-05-04 10:49:22 +10:00
Greg Wilkins
3066880cd2
fixed bad merge
2016-05-04 09:53:00 +10:00
Joakim Erdfelt
86bf31aad7
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-05-03 11:36:25 -07:00
Joakim Erdfelt
2dbecb0843
Fixing broken javadoc
2016-05-03 11:23:10 -07:00
Joakim Erdfelt
932e0125d2
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-05-02 09:51:24 -07:00
Joakim Erdfelt
ff1ca8d993
Limiting versions that trigger !STABLE warning
...
+ Only RC# and M# trigger warning now.
+ Warning includes URL for where to download stable version.
2016-05-02 09:50:05 -07:00
Greg Wilkins
3e8187dcd5
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-04-29 16:58:00 +10:00
Greg Wilkins
c74dd571fa
Issue #519 Disable SSL session caching
...
Set -1 defaults for session caching
2016-04-29 08:10:18 +10:00
Greg Wilkins
88c1339784
Issue #519 Disable SSL session caching
...
Improve the configuration of the SSL session cache
2016-04-29 08:02:41 +10:00
Greg Wilkins
092ed57a17
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-04-28 08:17:45 +10:00