Greg Wilkins
346879f2a5
Merge pull request #2664 from mperktold/jetty-9.4.x
...
Issue #2662 Unnecessary boxing conversions
2018-06-13 22:52:27 +02:00
Matthias Perktold
f901efc413
Issue #2662 - Unnecessary boxing conversions
...
Signed-off-by: Matthias Perktold <tias251@gmail.com>
2018-06-13 16:20:12 +02:00
Simone Bordet
4f1dd352d6
Issue #2468 - Remove SoLinger. ( #2644 )
...
* Issue #2468 - Remove SoLinger.
For non-blocking sockets, StandardSocketOptions#SO_LINGER javadocs
report that the behavior is undefined. In JDK 11 setting SoLinger
for non-blocking sockets will be ignored.
As such, there is no point in allowing SoLinger to be configured
in Jetty that only uses non-blocking sockets.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-06-09 13:21:24 +02:00
Joakim Erdfelt
c4bcc4005a
Merge branch 'jetty-9.4.x-issue-2560-pathresource-exceptions' of github.com:eclipse/jetty.project into jetty-9.4.x-issue-2560-pathresource-exceptions
2018-05-31 11:32:24 -05:00
Joakim Erdfelt
ad4dceb1c0
Issue #2560 - Moving InvalidPath logic from PathResource to ResourceContentFactory
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-31 11:31:36 -05:00
Joakim Erdfelt
c36390967f
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-issue-2560-pathresource-exceptions
2018-05-31 10:15:11 -05:00
Jan Bartel
0f23af315c
Issue #2599 Fix AsyncServletIOTest
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-05-30 18:15:04 +02:00
Joakim Erdfelt
be61fabc63
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-issue-2560-pathresource-exceptions
2018-05-29 12:09:07 -05:00
Greg Wilkins
d3b81e5372
Fix for #2583
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-29 12:41:19 +02:00
Greg Wilkins
2bcc528920
expand spruious tabs in java sources
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-29 10:40:09 +02:00
Joakim Erdfelt
65de2c6690
Issue #2560 - Review of PathResource exception handling
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-22 10:30:30 -05:00
Greg Wilkins
252ab9facf
Jetty 9.4.x 2550 coalesce ranges ( #2551 )
...
Issue #2550 coalesce ranges
Author: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-18 08:45:54 +10:00
Olivier Lamy
f36eba4577
class.newInstance is deprecated #2435 ( #2437 )
...
* Class.newInstance() is deprecated in Java 9+ #2435
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-17 19:07:20 +10:00
WalkerWatch
534b8ea38b
Add edit warning for .mod files. Resolves #173
2018-03-15 13:23:42 -04:00
Greg Wilkins
a933456089
update etags for all methods #1416
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-13 14:07:37 +11:00
Greg Wilkins
bcb9fa3b32
Merge pull request #2257 from lachlan-roberts/jetty-9.4.x-2206-ReferenceEquality
...
Resolved errorprone ReferenceEquality warnings #2206
2018-03-07 11:11:40 +11:00
Lachlan Roberts
a639ee9275
Resolved errorprone MissingOverride warnings #2206
...
`@Override` was added to methods which were missing the annotation #2206
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-01 13:59:25 +11:00
Lachlan Roberts
0cfc25d4ed
Resolved errorprone ReferenceEquality warnings #2206
...
Objects which inherit or implement an `equals()` method should not be compared with == or !=
When the comparison of references is intentional `@SuppressWarnings("ReferenceEquality")` can be used
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-28 14:26:02 +11:00
Greg Wilkins
8b7480f088
Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes
2018-01-10 22:25:49 +01:00
Joakim Erdfelt
21365234f8
Issue #2108 - Updating license headers for year 2018
2018-01-09 09:44:41 -06:00
Joakim Erdfelt
41ed9f29f4
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2018-01-09 09:37:25 -06:00
Joakim Erdfelt
fa4c7b0ca9
Issue #2108 - Updating license headers for year 2018
2018-01-09 08:39:37 -06:00
Joakim Erdfelt
067fc5d2d8
Issue #2108 - Upgrade licenses for 2018
2018-01-09 07:42:06 -06:00
Greg Wilkins
54f49dec7d
Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes
2018-01-09 13:32:19 +01:00
olivier lamy
2a89f23a46
javadoc fixes #2056 greg review
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-01-08 11:22:20 +11:00
olivier lamy
e07ba49283
more javadoc fixes #2056
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-12-29 11:07:51 +11:00
Greg Wilkins
22beb1d02a
Updated tests to use _LEGACY modes
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-27 14:16:23 +01:00
Greg Wilkins
7e516e29fb
pass existing compliance tests
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-24 18:00:03 +01:00
Greg Wilkins
5ce07dddd6
#2006 Use a NOOP to allow unhandle to cope with stolen read ( #2009 )
...
#2006 Use a NOOP to allow unhandle to cope with stolen read
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-02 12:14:43 +01:00
Jan Bartel
b1c80ba231
Issue #1986 ServletContextHandler.Context addListener() methods support session listeners ( #2000 )
...
* Issue #1986 Support session listeners in ServletContextHandler.addEventListener method.
Signed-off-by: Jan Bartel <janb@webtide.com>
2017-11-30 15:03:37 +01:00
Greg Wilkins
d4061fcfeb
Issue #1966 Case Sensitive method (PR #1967 )
...
Issue #1966 Case Sensitive method (PR #1967 )
* Modified the compliance violations to warn if case insensitivety is applied to a header
* removed duplicated if
* Fixed string comparison
* Improved compliance messages and comments
* updated expected violation messages
* Require a header colon only when in 7230 compliance mode
2017-11-29 18:56:54 +01:00
Greg Wilkins
a7891b2f52
Issue #1841 reduce ServletHolder contention
2017-09-26 16:40:49 +10:00
Greg Wilkins
86c6caf608
Issue #1841 reduce ServletHolder contention
2017-09-23 08:47:45 +10:00
Greg Wilkins
c843b809f0
Fixed #1737 DefaultServlet wrong welcome dispatcher using non-root URL path
...
If operating in pathInfoOnly mode, prepend the serlvet path to the welcome path
2017-08-16 09:54:52 +10:00
Joakim Erdfelt
12e61bf973
Making tests more reliable on lesser FileSystems
2017-08-08 09:14:11 -07:00
Greg Wilkins
c9a1395f08
Issue #1618 Async dispatch encoded passed URI
2017-08-08 09:13:43 -07:00
Joakim Erdfelt
61904052f4
Issue #1618 - new testcase for startAsync(req,resp).dispatch() behavior with regards to URL/URI
2017-08-08 09:13:41 -07:00
Joakim Erdfelt
8c96fdde4c
Issue #1618 - updating testcase expectations for getPathInfo to match javadoc
2017-08-08 09:13:41 -07:00
Joakim Erdfelt
4556680ddb
Issue #1618 - adding testcase to verify AsyncContext dispatch encoding
2017-08-08 09:13:40 -07:00
Joakim Erdfelt
11f2cc5294
Updating test to use HttpTester
2017-08-08 09:13:39 -07:00
Greg Wilkins
e7ef74dd4f
removed deprecated test method usage
2017-08-08 09:10:25 -07:00
Greg Wilkins
58a4d9e115
Fixes #1592 bad compressed etag comparison
2017-08-08 09:10:25 -07:00
Greg Wilkins
b0edf18ad9
Issues #1538 #1435
...
Get base content type directly rather than through Type which maybe null
2017-05-08 15:31:00 +02:00
Greg Wilkins
3495525fe1
Isssue #1530 Do not check for broken final content, only for no last chunk
2017-05-03 20:26:02 +02:00
Greg Wilkins
5493c9e596
Refactor ServletHandler to add getMappedServlet method ( #1519 )
2017-05-01 16:38:55 +02:00
Greg Wilkins
5e5d650b05
Issue #1500
2017-04-26 16:02:18 +02:00
Joakim Erdfelt
e5b5a3c4ee
Issue #1500 - adding testcase
2017-04-24 12:42:57 -07:00
Greg Wilkins
63ff4af6b8
improved unit test
2017-04-21 15:21:04 +10:00
Greg Wilkins
02276974a8
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-04-20 13:19:28 +10:00
Greg Wilkins
2f04b0f869
Fix #1487
2017-04-20 11:38:28 +10:00