Joakim Erdfelt
b28064c2c8
Using LocalConnector in test
2016-07-13 09:20:34 -07:00
Greg Wilkins
c60cca7b8c
clean up import
2016-07-13 11:59:02 +10:00
Joakim Erdfelt
232a077b9d
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-07-12 17:50:16 -07:00
Joakim Erdfelt
30f8f32594
Issue #717 - Adding Transfer-Encoding: chunked testcase
2016-07-12 17:47:53 -07:00
Joakim Erdfelt
d08d5b949c
Issue #717 - Adding testcase for GzipHandler.minGzipSize
2016-07-12 12:04:49 -07:00
Jan Bartel
5b5c8c3791
Issue #282
2016-07-08 13:23:00 +10:00
Greg Wilkins
e38ec83de9
Issue #695 use the getResponse methods
2016-07-07 18:13:44 +10:00
Joakim Erdfelt
8157a4533c
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-06-22 10:43:43 -07:00
Joakim Erdfelt
cb03ffd9a2
Merge branch 'jetty-9.2.x' into jetty-9.3.x
2016-06-22 08:51:24 -07:00
Joakim Erdfelt
2731ac1752
Issue #654 : Confirming ServletContext.getResourceAsStream() behavior in Jetty 9.2.x
2016-06-22 08:50:25 -07:00
Greg Wilkins
3a9dfd913a
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-06-08 16:24:09 +10:00
Greg Wilkins
f4c13e5f54
Issue #623 Add gzip suffix to etags in 304 response
2016-06-08 14:33:49 +10:00
Greg Wilkins
24ac1b7edd
removed fragile test
2016-05-20 12:10:06 +10:00
Greg Wilkins
595e44a3f2
removed fragile test
2016-05-20 12:08:23 +10:00
Greg Wilkins
79e5c31029
improved unit test, fixed deferred on chunking
2016-05-19 17:46:50 +10:00
Greg Wilkins
74110d445e
fixed bad unit test
2016-05-19 17:39:19 +10:00
Greg Wilkins
49ec41f600
Issue #525 fix blockForContent spin
...
Improved test
2016-05-18 12:54:27 +10:00
Simone Bordet
039ced6e25
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-16 15:13:54 +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
Greg Wilkins
7c6786a050
Issue #525
...
fixed bad merge
2016-05-12 13:42:46 +10:00
Greg Wilkins
6fb095f02c
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-11 16:23:06 +10:00
Joakim Erdfelt
9cf8f2965a
Fixes #567 - NPE in ErrorPageErrorHandler debug
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2016-05-10 17:28:34 -07:00
Greg Wilkins
d8715ad217
improved test
2016-05-10 11:43:34 +10:00
Simone Bordet
9a5d8f3943
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-05-06 17:43:49 +02:00
Greg Wilkins
2a5b120fc3
Issue #525 fix blockForContent spin
...
abort request in bad request handling
2016-05-06 20:31:55 +10:00
Greg Wilkins
5b8f411ba9
Issue #539
...
Made ResourceService pluggable
2016-05-04 11:08:49 +10:00
Greg Wilkins
3e8187dcd5
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-04-29 16:58:00 +10:00
Greg Wilkins
9dbd944850
Issue #525 Looping on malformed request
...
Fixed unit test for 9.4 error handling
2016-04-29 15:05:19 +10:00
Greg Wilkins
d38bdb6e7c
486530 - Handler added to WebAppContext prevents ServletContext initialization
...
Fixed needless warnings during destroy
2016-04-28 15:17:28 +10:00
Greg Wilkins
092ed57a17
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-04-28 08:17:45 +10:00
Greg Wilkins
695b63fc78
Issue #525 Looping on malformed request
...
Improved onBadMessage handling so that it better handles ISE thrown when a bad message is detected while dispatched to the servlet.
2016-04-27 18:57:15 +10:00
Joakim Erdfelt
44fa2b0de1
Issue #525 - Possible 100% CPU Consumption in HttpInputOverHttp.blockForContent with malformed HTTP-Request
...
+ Adding testcase to attempt to replicate
(Does not cause spin loop, so set to @Ignore for now)
2016-04-26 14:31:08 -07:00
Joakim Erdfelt
f1c34cb10f
Close #526 - Headers set from RequestDispatcher.include() not showing up in response
...
+ Adding 2 testcases to verify behavior
2016-04-26 14:04:56 -07:00
Mikko Tiihonen
aa8597c19e
Sort equal quality accept-encoding values based on server configured preference ( #507 )
...
* Sort equal quality accept-encoding values based on server configured preference. Add fixed size cache to reduce overhead of complex header parsing. #507
Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
* Only look at the first Accept-Encoding header value in the request. Jetty has never supported handling of multiple headers before and the worst thing that can happen is that the static content is sent uncompressed
* Rename tieBreakerFunction to secondaryOrderingFunction
* Make accept-encoding header cache size configurable
* Add back multiple accept-encoding header handling (with optimizations). Merge QuotedEncodingQualityCSV back to QuotedQualityCSV. Fix documentation on how to use precompressed servlet init parameter
2016-04-15 20:04:01 +10:00
Jan Bartel
d28dffb16e
Remove SessionManager; refactor names of session classes; add start modules for new session arch
2016-04-15 11:08:46 +10:00
Greg Wilkins
2fb9b55da2
Issue #485 Multiple compressed formats from static content
...
Renamed ResourceCache as per TODO
Added javadoc and XML comments
2016-04-07 17:33:47 +10:00
Greg Wilkins
a72838162d
Issue #485 Multiple compressed formats from static content
...
Fixed formatting from the PR
2016-04-07 16:47:28 +10:00
Mikko Tiihonen
3261e03edb
Support for configurable set of precompressed static resources
...
* Support for configurable set of precompressed static resources
Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
* Use QuotedQualityCSV to parse preferred content encodings
Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
2016-04-07 13:57:00 +10:00
Greg Wilkins
3590abc534
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-03-30 20:05:59 +11:00
Greg Wilkins
c768828703
Issue #458 Improve Quality list handling
...
Added QuotedCSV and QuotedQualityCSV that are up to date with RFC7230
2016-03-30 19:07:11 +11:00
Greg Wilkins
acfa1268bc
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-03-24 12:58:06 +11:00
Greg Wilkins
4ae077f2b6
Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
...
Improved compliance level reporting
Improved method names to make code read better
2016-03-23 14:42:05 +11:00
Greg Wilkins
7f96db72c4
Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
...
Empty value is not a compliance issue
removed debug
moved violation handling to end of header rather than end of message
2016-03-23 13:13:16 +11:00
Joakim Erdfelt
7be58f9730
Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
...
+ added Optional behavior to record violations in a Request attribute
+ added servlet testcase showing this violation recording abillity
+ currently the recorded violation doesn't report the correct compliance mode that it violates
+ there is still a problem with a quoted empty string value from Issue #451
2016-03-22 12:20:19 -07:00
Joakim Erdfelt
3624339ec6
Merge branch 'jetty-9.3.x'
2016-03-16 10:29:29 -07:00
Greg Wilkins
1c5a1fc6a2
Issue #431
...
Suppress stack traces from unit tests
2016-03-16 18:19:40 +11:00
Greg Wilkins
2b67e04861
fixed bad merge
2016-03-02 17:32:17 +01:00
Greg Wilkins
3300d54b5a
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-03-02 14:13:29 +01:00
Greg Wilkins
3963309f62
Issue #379 Insufficient information on asyncNotSupported
...
Converted the boolean for asyncSupported to a String holding the source
of the async not supported.
2016-03-02 14:09:15 +01:00
Greg Wilkins
dd4a72ce76
479903 - improve async onError handling
...
Work in progress towards clean build
2016-02-17 14:13:21 +01:00
Simone Bordet
2ac465a343
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-09 18:14:07 +01:00
Simone Bordet
6306f06e2f
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-02-09 18:12:04 +01:00
Simone Bordet
145e4bee71
487511 - Jetty HTTP won't work on turkish systems.
...
Fixed usages of toLowerCase() and toUpperCase() to use Locale.ENGLISH.
2016-02-09 17:50:26 +01:00
Simone Bordet
cb79379b79
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-05 18:14:56 +01:00
Jan Bartel
dd2e042ddf
Revert "486394 - Restore MultiPartFilter behavior with regards to temp file access"
...
This reverts commit 009fde2400
.
2016-02-04 08:41:14 +01:00
Jan Bartel
94a56f0802
Revert "Fixing license header formatting on new file"
...
This reverts commit c858bc126a
.
2016-02-04 08:41:00 +01:00
Greg Wilkins
bb89e113a9
fixed merge
2016-02-04 07:00:39 +01:00
Greg Wilkins
df79ad689a
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-04 07:00:13 +01:00
Joakim Erdfelt
c858bc126a
Fixing license header formatting on new file
2016-02-03 08:31:08 -07:00
Joakim Erdfelt
009fde2400
486394 - Restore MultiPartFilter behavior with regards to temp file access
...
+ Adding HttpServletRequest.getParts() demonstration of duplicate name="" entries
+ Adding 2 new testcases in MultipartFilterTest demonstrating
location/temp file access issue (currently @Ignored)
2016-02-03 08:19:37 -07:00
Greg Wilkins
6c9a444b6c
486530 - Handler added to WebAppContext prevents ServletContext initialization
...
Added warnings for loops and inappropriate handlers.
Used insertHandler in more XML files
2016-02-03 10:54:39 +01:00
Joakim Erdfelt
1aef09acc2
486604 - Add debug logging of ErrorPageErrorHandler logic
2016-01-27 11:55:00 -07:00
Joakim Erdfelt
30308f2316
Javadoc updates
2016-01-13 07:25:15 -07:00
dreis2211
8dc6e25b89
Removed superfluous condition in ServletHandler.getFilterChain()
...
Signed-off-by: dreis2211 <christoph.dreis@freenet.de>
2016-01-09 15:49:44 +01:00
Joakim Erdfelt
ac24196b0d
Happy New Year 2016
2016-01-04 14:34:20 -07:00
Joakim Erdfelt
cd39fd84fe
Happy New Year 2016
2016-01-04 14:31:22 -07:00
Joakim Erdfelt
b5db18378d
Happy New Year 2016
2016-01-04 14:21:26 -07:00
Greg Wilkins
460e6e2ff3
Refactored DefaultServlet and ResourceHandler to use commong ResourceService
2015-12-27 16:17:11 +11:00
Greg Wilkins
133e9e054d
Merge remote-tracking branch 'origin/jetty-9.3.x'
...
Conflicts:
jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java
2015-12-18 12:50:19 +11:00
Greg Wilkins
5cd676581c
484622 - Improve handling of Direct and Mapped buffers for static content
...
ResourceHttpContent now applies a maxBufferSize that is passed through the call to getContent
ResourceCache now accounts for the exact memory usage of content, which may have an indirect
buffer plus either a direct or mapped buffer. Thus content size may be 0, 1 or 2 times the
file size.
Some more limited unit tests
2015-12-18 12:36:27 +11:00
Joakim Erdfelt
a4cf7d654b
482042 - New API, Allow customization of ServletHandler path mapping
...
+ Swapping out PathMap for PathMappings in ServletHandler
Conflicts:
jetty-servlet/src/main/java/org/eclipse/jetty/servlet/DefaultServlet.java
jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
Conflicts:
jetty-servlet/src/main/java/org/eclipse/jetty/servlet/DefaultServlet.java
jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
2015-12-17 14:38:55 -07:00
Joakim Erdfelt
31cd3fee84
Merge branch 'jetty-9.3.x'
...
Conflicts:
jetty-http/src/main/java/org/eclipse/jetty/http/PathMap.java
jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecSet.java
jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java
jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExclude.java
jetty-util/src/main/java/org/eclipse/jetty/util/RegexSet.java
2015-12-17 12:51:57 -07:00
Joakim Erdfelt
343aa066ae
Merge branch 'jetty-9.2.x' into jetty-9.3.x
...
Conflicts:
jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java
jetty-http/src/main/java/org/eclipse/jetty/http/PathMap.java
jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractJettyMojo.java
jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WarPluginInfo.java
jetty-rhttp/jetty-rhttp-gateway/src/main/java/org/eclipse/jetty/rhttp/gateway/Main.java
jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java
jetty-servlets/src/main/java/org/eclipse/jetty/servlets/CrossOriginFilter.java
jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java
jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/CompressedResponseWrapper.java
jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/GzipHandler.java
jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExclude.java
jetty-util/src/main/java/org/eclipse/jetty/util/RegexSet.java
jetty-util/src/test/java/org/eclipse/jetty/util/IncludeExcludeTest.java
jetty-util/src/test/java/org/eclipse/jetty/util/ssl/SslContextFactoryTest.java
2015-12-16 12:56:13 -07:00
Joakim Erdfelt
4f9d785b46
Revert "482042 - New API, Allow customization of ServletHandler path mapping"
...
This reverts commit 77d4b54082
.
2015-12-16 10:08:02 -07:00
Matt Gilman
abe5d090bb
[447816] - ServletHolder#compareTo not transitive
...
Updating compareTo to properly order when one _className is null and the other is not.
Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
2015-12-16 09:24:40 +11:00
Greg Wilkins
50899ab212
Merge branch 'master' of git://github.com/mcgilman/jetty.project
2015-12-16 09:18:01 +11:00
Joakim Erdfelt
77d4b54082
482042 - New API, Allow customization of ServletHandler path mapping
...
+ Swapping out PathMap for PathMappings in ServletHandler
Conflicts:
jetty-servlet/src/main/java/org/eclipse/jetty/servlet/DefaultServlet.java
jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
2015-12-15 14:41:37 -07:00
Matt Gilman
e8b3b68e90
[447816] - ServletHolder#compareTo not transitive
...
Updating compareTo to properly order when one _className is null and the other is not.
Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
2015-12-14 15:03:31 -05:00
Joakim Erdfelt
1df5a05ee1
482042 - New API, Allow customization of ServletHandler path mapping
...
+ Swapping out PathMap for PathMappings in ServletHandler
2015-12-14 11:22:24 -07:00
Joakim Erdfelt
e2a20e0465
Using Map interface to get around ConcurrentHashMap.keySet() bug with Java 8
...
See https://gist.github.com/AlainODea/1375759b8720a3f9f094
for details
Conflicts:
jetty-servlet/src/main/java/org/eclipse/jetty/servlet/listener/ELContextCleaner.java
2015-12-08 14:55:45 -07:00
Greg Wilkins
ae9dc7922d
483427 - AsyncContext complete while pending async Reads/Writes
...
improved unit test
2015-12-04 10:10:12 +11:00
Greg Wilkins
5afa348aaa
removed debug
2015-12-03 17:27:43 +11:00
Joakim Erdfelt
97722aeea8
Merge branch 'jetty-9.3.x'
2015-12-02 12:20:06 -07:00
Joakim Erdfelt
bae1138211
Fixing test expectations on Decorator counts
2015-12-02 12:19:52 -07:00
Joakim Erdfelt
1e6b940942
Merge branch 'jetty-9.3.x'
...
Conflicts:
jetty-server/src/test/java/org/eclipse/jetty/server/AbstractHttpTest.java
2015-12-02 11:39:52 -07:00
Greg Wilkins
ddba6c20cd
483427 - AsyncContext complete while pending async Reads/Writes
2015-12-02 16:46:20 +11:00
Greg Wilkins
4bbd060ca8
483427 - AsyncContext complete while pending async Reads/Writes
2015-12-02 16:07:59 +11:00
Joakim Erdfelt
481102db30
483413 - Warn on @Deprecated servlet/filter use
2015-12-01 15:53:46 -07:00
Greg Wilkins
cea05f17d9
483119 - CachingWebAppClassLoader breaks JSP
...
Cleaned up debugging and impl. No fix for JSP problem
2015-11-27 10:39:52 +11:00
Joakim Erdfelt
33307730ea
482041 - Add ServletHandler.newCachedChain() to ease customization
2015-11-24 08:51:22 -07:00
Joakim Erdfelt
b64b1d98e0
480898 - Introduce FilterMapping.getDispatcherTypes() method
2015-11-24 08:51:21 -07:00
Greg Wilkins
a311c8bde1
480904 - jetty-util Loader simplification
...
The Loader has been simplified to now just be a switch between loading from the context loader,
the same loader as another class or the system loader. Multiple loaders will never be tried.
A new runWithServerClassAccess(PriviledgedAction) method has been added to WebAppClassLoader, that
is now used during configuration for actions that need access to both the WEB-INF/lib classes and
the server classes (eg jetty-web.xml and env.xml).
The JMX MBean mechanism has also been modified to look for an MBean class in the same loader that
object came from before attempting the context loader (only if different).
2015-11-19 12:14:05 +11:00
Greg Wilkins
4ed4fda173
Merge remote-tracking branch 'origin/jetty-9.3.x'
2015-11-18 15:53:36 +11:00
Greg Wilkins
8ed34b3395
482243 GzipHandler include test
2015-11-18 15:52:32 +11:00
Greg Wilkins
0d647fc95a
Merge remote-tracking branch 'origin/jetty-9.3.x'
2015-11-18 15:11:17 +11:00
Greg Wilkins
12ec44894b
482272 Fixed relative symlink checking
2015-11-18 11:13:35 +11:00
Greg Wilkins
ff0d1b4c14
481903 Module Descriptions
2015-11-12 10:48:04 +11:00
Joakim Erdfelt
2235eab93c
Javadoc fix
2015-11-02 13:34:40 -07:00
Jan Bartel
b74a89bcb9
479865 IllegalStateException: Multiple servlets map to path: *.jsp: jsp,jsp
2015-10-28 16:53:26 +11:00
Jan Bartel
93da91743a
479865 IllegalStateException: Multiple servlets map to path: *.jsp: jsp,jsp
2015-10-28 16:52:45 +11:00