Greg Wilkins
78a775396e
Issue #3103
...
delay setting transport.setHttpClient until late in doStart
Do not add DumpableCollection as a bean
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-13 16:52:04 +01:00
Greg Wilkins
859004bef4
Issue #3103
...
Fixed buffer leak
Only warn if HttpClient setters are called after start
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-13 16:42:12 +01:00
Greg Wilkins
d0afc63cd5
Fixing HttpClient tests to configure before start
2018-11-13 14:22:19 +01:00
Greg Wilkins
fa38868406
use setters from doStart
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-13 10:37:42 +01:00
Greg Wilkins
26eecd6f8e
HttpClient Dump Improvements
...
Add or update beans in constructor or setter rather than in doStart
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-13 10:32:17 +01:00
Joakim Erdfelt
fc5f21bd48
Merge pull request #3093 from eclipse/jetty-9.4.x-3092-jmx_classloader
...
Fixes #3092 - Wrong classloader used to load *MBean classes.
2018-11-11 19:27:45 -06:00
Joakim Erdfelt
92e7344059
Merge pull request #3091 from eclipse/jetty-9.4.x-3090-MBeanContainer_NPE
...
Fixes #3090 - MBeanContainer throws NPE for arrays.
2018-11-11 16:49:14 -06:00
Simone Bordet
9200e02fef
Fixes #3092 - Wrong classloader used to load *MBean classes.
...
Now using the classloader that loaded the bean class to load
the correspondent *MBean class, as it was before #2727 .
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-11-11 23:35:43 +01:00
Simone Bordet
294d1c65f5
Fixes #3090 - MBeanContainer throws NPE for arrays.
...
Corrected places that were making unguarded calls to Class.getPackage().
Added tests for various array cases.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-11-11 22:54:51 +01:00
Joakim Erdfelt
b57c05999e
Bumping up jetty-schemas to 3.1.2
2018-11-11 10:36:49 -06:00
Greg Wilkins
59dffebd1c
Revert backport of HttpClient executor bean handling. ( #3088 )
...
Revert to the not-so-good bean handling for the HttpClient executor
Added TODOs so that the bean handling can be updated in future.
Deprecated Websocket client setters that hide dependency on internal HttpClient instance.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-11 16:07:41 +01:00
Joakim Erdfelt
027cc240ca
Bumping up jetty-schemas and jetty-test-helper version
2018-11-09 12:47:37 -06:00
Simone Bordet
422f4d9341
Issue #3085 - Restore Dump methods for backwards compatibility reasons.
...
Removed dead code.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-11-09 18:53:50 +01:00
Simone Bordet
f814354bb5
Issue #3085 - Restore Dump methods for backwards compatibility reasons.
...
Restored removed methods to maintain backwards compatibility.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-11-09 17:47:46 +01:00
WalkerWatch
6c35d62a7a
Adding link to Oracle JDR/JRE Crypto roadmap
2018-11-09 11:21:14 -05:00
Olivier Lamy
3ef33764cb
Issue #3054 Jetty 9.4.x spifly upgrade ( #3079 )
...
* spifly 1.0.15-SNAPSHOT
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* upgrade org.apache.aries.spifly.dynamic.bundle to 1.1
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* Make osgi work with spifly 1.1
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-11-08 07:24:42 +10:00
Greg Wilkins
cf2de4411c
Issue #3041 separate CookieCompliance for parsing and generation ( #3048 )
...
* Issue #3041 separate CookieCompliance for parsing and generation
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* improved documentation
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* use only getters
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Rename setters to avoid setSetXxxx
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-07 10:03:18 +01:00
Olivier Lamy
872eafef06
Issue #2858 upgrade jnr-unixsocket to 0.19 ( #2859 )
...
* upgrade jnr-unixsocket to 0.19 #2858
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* remove hack as issue has been fixed on jnr project
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* upgrade jnr-unixsocket to 0.20
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-11-07 08:28:44 +01:00
Jan Bartel
ef261a39ae
Issue #2925 Update troubleshooting doc for files locking on windows ( #3061 )
...
* Issue #2925 Update troubleshooting doc for files locking on windows
Signed-off-by: Jan Bartel <janb@webtide.com>
* General formatting fixes.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2018-11-06 16:40:21 +01:00
Jan Bartel
871f73cdf6
Jetty 9.4.x 2932 switchable classloader for session attribute values ( #2964 )
2018-11-06 10:03:48 +01:00
Greg Wilkins
d455ac6aca
Issue #3060 WriteFlusher fails callback on all Throwables
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-06 09:29:43 +01:00
Greg Wilkins
67cef441b2
Support direct buffers in hpack ( #3058 )
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-05 14:05:02 +01:00
Greg Wilkins
4a9265d4b4
backports from 10.0.x websocket refactor
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-03 17:53:32 +01:00
Joakim Erdfelt
5a17a33045
Fixed #2458 - Removing jdk9 and jdk10 CI builds
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-11-02 11:34:05 -05:00
Joakim Erdfelt
e6716a0539
Merge pull request #3052 from eclipse/jetty-9.4.x-issue-3015-simplified-Jenkinsfile
...
Issue #3051 - New Simplified Jenkinsfile
2018-11-02 10:57:24 -05:00
Greg Wilkins
3995cd2ec0
Issue #3023 redirect to / when pathInfoOnly ( #3047 )
...
Issue #3023 redirect to / when pathInfoOnly (#3047 )
2018-11-02 16:38:43 +01:00
olivier lamy
af7dba1249
make compiler.target/source as a property so we can override those with the command line
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-11-02 19:20:35 +10:00
Greg Wilkins
b69f8e4084
Issue #2886 Handle SNI with non SNI certificates ( #2888 )
...
* Issue #2886 Handle SNI with non SNI certificates
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #2886 Single SNI with default certificate
2018-11-02 05:20:17 +01:00
Greg Wilkins
bb045f641e
Issue #3049 Warn on common SslContext vulnerable configurations ( #3050 )
...
* Issue #3049 Warn on common SslContext vulnerable configurations
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Adding documentation notes for weak cipher warnings
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
* Issue #3049 - SslContextFactory warnings on known bad config
+ Changes warnings from being a boolean on SslContextFactory
to being a logger named
"org.eclipse.jetty.util.ssl.SslContextFactory.config"
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Issue #3049 - SslContextFactory warnings on known bad config
+ Cleanup based on review
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Issue #3049 - SslContextFactory warnings on known bad config
+ Cleanup based on review
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-11-02 05:19:03 +01:00
Jan Bartel
58c1d547a0
Issue #3044 Use unwrapped session for SessionAsyncListener ( #3053 )
...
* Issue #3044 Use unwrapped session for SessionAsyncListener
2018-11-02 04:14:24 +11:00
Simone Bordet
d33f65d322
Merge pull request #2957 from eclipse/jetty-9.4.x-2941-asm_jdk11
...
Issue #2941 - JDK 11: UnsupportedOperationException at AnnotationParser.scanClass.
2018-11-01 17:49:22 +01:00
Simone Bordet
97c37f998b
Issue #2941 - JDK 11: UnsupportedOperationException at AnnotationParser.scanClass.
...
Updated ASM version in the main POM to 7.0.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-11-01 17:48:39 +01:00
Simone Bordet
9d7d47f0a8
Issue #2941 - JDK 11: UnsupportedOperationException at AnnotationParser.scanClass.
...
Updated ASM Import-Package version to be "5", which means from ASM 5 onwards.
Updated ASM version in the main POM to 7.0.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-11-01 17:40:15 +01:00
Greg Wilkins
0fe4b8aa34
increased timeouts to check for flaky test
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-01 17:35:21 +01:00
Simone Bordet
11abe53df7
Merge pull request #2965 from eclipse/jetty-9.4.x-2796-http2_max_concurrent_streams
...
Issue #2796 - Max local stream count exceeded when request fails.
2018-11-01 17:28:08 +01:00
Greg Wilkins
161f1698cf
Jetty 9.4.x 3018 request logging bad messages ( #3020 )
...
Issue #3018 improve logging and handling of slow data rates.
* Slow data rates now result in aborted channels, but exception is still thrown. Test for 408 in requestLog
* Updated many RequestLog usages to use Server.setRequestLog rather than a RequestLogHandler
* Fixed javadoc
* removed BadRequestLogHandlerTest (tested in RequestLogTest)
* added JMH to show the future of request logging for #113
* copyright header.
* Updates from review
* Revert to throwing BadMessageException
* BME ensures a 408 is logged rather than a 500
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-01 17:06:04 +01:00
Joakim Erdfelt
7b8bda8070
Issue #3051 - New Simplified Jenkinsfile
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-11-01 10:21:52 -05:00
Greg Wilkins
8dcd7e44d8
Allows commas to separate cookies in RFC2965 compliance mode ( #3045 )
...
* Allows commas to separate cookies in RFC2965 compliance mode
* cleanup after review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* revert accidental change
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-01 11:43:11 +01:00
olivier lamy
392260a232
maven-plugin-plugin 3.6.0
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-11-01 12:38:48 +10:00
WalkerWatch
94bfeacba5
Added note on stopping the server. Resolves #3033
2018-10-31 16:56:25 -04:00
Olivier Lamy
bc1e58b0f5
*issue #2923 add LICENSE and NOTICE files ( #2940 )
...
*remove html license version
* use org.eclipse.jetty.toolchain:jetty-artifact-remote-resources:1.2 released version
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-31 09:24:20 +10:00
Simone Bordet
31cab3dc08
Issue #2796 - Max local stream count exceeded when request fails.
...
Restored smaller maxContentLength to avoid that the test takes
too much time and fails.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-30 19:36:02 +01:00
Simone Bordet
5d837309c3
Issue #2941 - JDK 11: UnsupportedOperationException at AnnotationParser.scanClass.
...
Downgraded OSGi ASM version to 6.2.
Waiting for the SPI Fly library to support JDK 11.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-30 17:42:11 +01:00
Simone Bordet
b70323d55f
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2796-http2_max_concurrent_streams'.
2018-10-29 19:05:35 +01:00
Olivier Lamy
542872cd75
fix duplicate dependency javax.transaction-api
2018-10-29 18:18:02 +10:00
olivier lamy
b19d9b27ab
use maven pmd plugin 3.11.0
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-26 12:38:11 +10:00
Greg Wilkins
898560bec5
Issue #3030 Enforce Content-Encoding check only on parameter extraction. ( #3031 )
2018-10-26 06:44:40 +11:00
Olivier Lamy
8500e806ec
align used algorithm to detect java bin to use ( #3025 )
...
add javaPath for JettyRunDistro mojo to force a java executable to use
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-24 19:02:31 +10:00
Simone Bordet
66d6ea6799
Issue #2998 - Cleanup the dump implementation.
...
Fixed dump() in QueuedThreadPool.
When the dump was not detailed, it was printing jobs=0 even if there
were jobs in the queue.
Given that it was adding no information (actually misleading information)
and that the queue size is already reported by QueuedThreadPool.toString()
the jobs are not dumped if the dump is not detailed.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-23 12:05:32 +02:00
Jan Bartel
a0cefea29f
Issue #2903 Fix ListenerHolder.setListner ( #3019 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-10-23 17:59:24 +11:00