Simone Bordet
38d48395b0
Issue #918 - Support certificates hot reload.
...
Introduced SslContextFactory.reload(Consumer) to perform atomic
reload of SslContextFactory.
2016-09-30 17:48:09 +02:00
Simone Bordet
7471f5c8f2
Code cleanup.
2016-09-30 17:47:52 +02:00
Simone Bordet
0f97c3df5d
Fixes #966 - Remove usages of ConcurrentArrayQueue.
2016-09-28 11:40:39 +02:00
Simone Bordet
efe339e246
Code cleanup.
2016-09-28 11:40:39 +02:00
Simone Bordet
01e29aa45a
Fixes #870 - TLS protocol exclusion broken for SslContextFactory(String).
...
Introduced a private constructor that performs the correct
initialization, and have the other constructors delegate to it.
2016-09-15 12:11:11 +02:00
Simone Bordet
9e01565344
Code cleanups.
2016-09-15 12:11:11 +02:00
Simone Bordet
571b0c74c5
Implemented PromiseWrapper's succeeded() and failed() methods.
2016-09-14 14:01:30 +02:00
Greg Wilkins
3a42455411
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
2016-09-08 10:38:54 +10:00
Greg Wilkins
ada58ea65a
javadoc
2016-09-08 10:35:57 +10:00
Greg Wilkins
28ca70378e
Issue #844 Thread Limit Handler ( #857 )
...
* Issue #844 DoS Handler
First cut at implementation of Thread limiting handler for #844
* Added modules, simplified API, added IP exemptions
* fixed xml
* fixed preallocation
* simplified code
2016-09-08 08:49:03 +10:00
Simone Bordet
89b20b4692
Merged branch 'jetty-9.3.x-845'.
2016-09-05 21:36:04 +02:00
Simone Bordet
705a68dfc4
Issue #845 - Improve blocking IO for data rate limiting.
...
Moved tests to run HTTP and HTTP/2 tests, and added more test cases.
2016-09-05 19:13:05 +02:00
Jan Bartel
0d6667dc9f
Issue #894
2016-09-02 13:50:25 +10:00
Greg Wilkins
aeeab8d5bb
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
2016-09-01 17:38:40 +10:00
Greg Wilkins
d43b9af428
fix javadoc
2016-09-01 17:38:09 +10:00
Greg Wilkins
a799b21eb3
fixed merge
2016-09-01 16:41:49 +10:00
Greg Wilkins
c2621bcad6
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
2016-09-01 16:29:00 +10:00
Greg Wilkins
f7c32c5fc7
Issue #882 IPv6 map
...
The new IPv6 capable InetAddressSet has been added as an alternative for IPAddressMap
The IncludeExclude class has been generalized to IncludeExcludeSet that can have a different
Predicate type to the set type and this works well with InetAddressSet.
However for #881 and #883 , this may not be enough and Map semantics may need to be added.
The IPAccessHandler also has path mappings supported, which could need the map semantics, so for now a new InetAccessHandler has been
added that just uses an IncludeExcludeSet<InetAddressSet>, but this has yet to be tested.
The AbstractProxyServlet uses a host:port combinations, so IncludeExcludeSet<InetAddressSet> is not directly applicable.
2016-09-01 16:12:35 +10:00
Simone Bordet
e0c83757aa
Fixes #889 - ConstantThrowable.name can be removed.
2016-08-31 12:25:19 +02:00
Greg Wilkins
f856107301
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
2016-08-31 19:05:57 +10:00
Greg Wilkins
0155ae761c
Issue #880 Improve IPv6 support
...
For #880 added the HostPort class, which was used to fix #878 , #879 , #884 and #886
2016-08-31 16:46:11 +10:00
Jan Bartel
34d465555b
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
2016-08-31 16:23:06 +10:00
Grzegorz Grzybek
b70f0fdf15
Issue #868 - Use static Throwables without backtrace/stackTrace
...
Signed-off-by: Grzegorz Grzybek <gr.grzybek@gmail.com>
2016-08-26 10:44:23 +02:00
Simone Bordet
b316148625
Fixed test failure.
2016-08-19 01:44:14 +02:00
Joakim Erdfelt
24b4aeb147
Fixes #854 - other testcase triggers ISE on .destroy() -> .start() as well
2016-08-18 14:30:11 -07:00
Simone Bordet
10f994a0a2
Fixes #854 - If container.destroy() is called, calling container.start() again should throw an IllegalStateException.
2016-08-18 15:47:06 +02:00
Simone Bordet
7a7d5e2f1e
Code cleanup.
2016-08-18 15:47:06 +02:00
Simone Bordet
00a065b064
Fixes #855 - JMXify MBeanContainer.
2016-08-17 21:28:19 +02:00
Greg Wilkins
5cb50e5f5d
ignore PathResource test
2016-08-04 14:02:16 +10:00
Greg Wilkins
a1885afff8
fix #804 by removing old javadoc reference to org.eclipse.jetty.util.URI.charset
2016-08-03 09:17:15 +10:00
Greg Wilkins
35c21d7ced
Utility improvements
...
Add Arrays
XML config get class
2016-07-28 16:50:12 +10:00
Greg Wilkins
21a618e6a8
SLOTH protection #631
...
Exclude all MD5 and SHA1 ciperhs, not just RSA based ones.
2016-07-21 12:39:07 +10:00
Greg Wilkins
f6071ca7fc
Fix #708 SslContextFactory: newSslServerSocket/newSslSocket are not customized
2016-07-14 18:26:51 +10:00
Greg Wilkins
35a64828fb
Fix #708 SslContextFactory: newSslServerSocket/newSslSocket are not customized
2016-07-14 15:17:50 +10:00
Greg Wilkins
112244d6ef
Fix #708 SslContextFactory: newSslServerSocket/newSslSocket are not customized
2016-07-14 13:44:49 +10:00
Greg Wilkins
45bbde408f
Fix #708 SslContextFactory: newSslServerSocket/newSslSocket/doStart are not customized
2016-07-14 12:17:52 +10:00
Jan Bartel
37cda79f7b
Issue #720
2016-07-13 15:28:33 +10:00
Greg Wilkins
322fe73869
Suppress stacks during sweeper test
2016-07-07 08:32:36 +10:00
Greg Wilkins
fc36e45795
Support UNC paths in PathResource #669
...
Also-by: Marco Signorini <m.signorini@iontrading.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2016-07-06 16:46:22 +10:00
Greg Wilkins
5b50e41e7e
Issue #687
...
Alias should be absolute not relative
2016-07-06 16:46:22 +10:00
Joakim Erdfelt
d13d3cc3f5
Fixes #675 - Slf4jLog.ignore() now logs at DEBUG level
2016-06-29 15:11:46 -07:00
Joakim Erdfelt
2dfb5f463a
Fixes #677 - Logging of ignore() events now show as "Ignored Exception"
2016-06-29 15:11:37 -07:00
Joakim Erdfelt
a5dc01bbb1
Fixes #676 - JavaUtilLog.ignore() logs at FINEST level now
2016-06-29 15:11:28 -07:00
Joakim Erdfelt
b20e2ddf18
Fixes #672 - Allow logging configuration announcement to be programmatically disabled
2016-06-28 13:01:16 -07:00
Greg Wilkins
0e0fc77771
skip symlink test on windows
2016-06-24 14:33:18 +10: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
a8e315a3f5
Fix #663 NPE during context stop
...
Avoid adding null beans
protect against null beans.
2016-06-15 18:04:33 +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
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