Greg Wilkins
45ead1bb29
jetty http2 client parse error #726
2016-07-15 13:47:41 +10:00
Greg Wilkins
e38ec83de9
Issue #695 use the getResponse methods
2016-07-07 18:13:44 +10:00
Jesse McConnell
ae931538ab
[maven-release-plugin] prepare for next development iteration
2016-06-22 13:59:10 -05:00
Jesse McConnell
df1ed4fb03
[maven-release-plugin] prepare release jetty-9.3.11.M0
2016-06-22 13:59:06 -05:00
Jesse McConnell
030ec61837
[maven-release-plugin] prepare for next development iteration
2016-06-22 09:14:25 -05:00
Jesse McConnell
9a4cb41122
[maven-release-plugin] prepare release jetty-9.3.11.M0
2016-06-22 09:14:21 -05:00
Jesse McConnell
e7034117ea
[maven-release-plugin] prepare for next development iteration
2016-06-21 08:50:13 -05:00
Jesse McConnell
16c435c69d
[maven-release-plugin] prepare release jetty-9.3.10.v20160621
2016-06-21 08:50:09 -05:00
Greg Wilkins
ad588a9f0a
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-30 21:09:37 +10:00
Greg Wilkins
05c6a3664f
Improved the HttpTester and added a Test
2016-05-30 21:08:37 +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
Jesse McConnell
d5c6793e6a
[maven-release-plugin] prepare for next development iteration
2016-05-17 15:33:46 -05:00
Jesse McConnell
0bab7e6616
[maven-release-plugin] prepare release jetty-9.2.17.v20160517
2016-05-17 15:33:42 -05:00
Greg Wilkins
cf6c15d8bc
Issue #405
...
Enabled test
2016-05-04 22:21:33 +10:00
Greg Wilkins
5b8f411ba9
Issue #539
...
Made ResourceService pluggable
2016-05-04 11:08:49 +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
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
Joakim Erdfelt
939505c342
Updating to version 9.2.17-SNAPSHOT
2016-04-14 14:03:21 -07:00
Joakim Erdfelt
778fac638d
Updating to version 9.2.16.v20160414
2016-04-14 13:21:34 -07:00
Joakim Erdfelt
47bbd9364d
Revert "Updating to version 9.2.16.v20160414"
...
This reverts commit 29ae63855b
.
2016-04-14 13:19:59 -07:00
Joakim Erdfelt
29ae63855b
Updating to version 9.2.16.v20160414
2016-04-14 13:17:21 -07:00
Joakim Erdfelt
6fb338e50d
Updating to version 9.3.9-SNAPSHOT
2016-04-11 16:20:50 -07:00
Joakim Erdfelt
bb4f3c4882
Updating to version 9.3.9.M1
2016-04-11 15:35:22 -07: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
8b228073e3
Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
...
Efficiency improvements
2016-03-24 11:37:39 +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
0e2472b8e1
Issue #451 - RFC2616 Compliance mode should support empty headers
...
Updating test cases to show empty quoted header quirk
2016-03-22 11:20:50 -07:00
Greg Wilkins
9352d91d48
Issue #448 Log Compliance violations
...
Added a ComplianceHandler to HttpParsere to log compliance violations for #448
Am cautious that this may have a performance impact.
2016-03-22 13:58:50 +11:00
Simone Bordet
f92588c485
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-14 19:06:45 +01:00
Joakim Erdfelt
c68d3b1d8d
Updating to version 9.3.9-SNAPSHOT
2016-03-14 09:07:52 -07:00
Joakim Erdfelt
1f3b3f31f4
Updating to version 9.3.8.v20160314
2016-03-14 08:30:20 -07:00
Simone Bordet
838b5e4df2
Added test for newlines in header value.
2016-03-14 12:32:20 +01:00
Simone Bordet
c583054a17
Code cleanup.
2016-03-14 12:31:28 +01:00
Simone Bordet
42151e059a
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-12 00:28:18 +01:00
Simone Bordet
0b82129cd8
Issue #423 (Duplicate Content-Length header not handled correctly)
...
Refactored tests into existing test class.
2016-03-12 00:27:48 +01:00
Simone Bordet
02190278f1
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-11 22:49:49 +01:00
Simone Bordet
5f2e2820f4
Issue #423 (Duplicate Content-Length header not handled correctly)
...
Fixed as required by the spec, rejecting the request.
2016-03-11 22:49:24 +01:00
Joakim Erdfelt
e7081d7b84
Merge branch 'jetty-9.3.x'
2016-03-08 15:53:50 -07:00
Joakim Erdfelt
862ec6f848
Merge branch 'jetty-9.2.x' into jetty-9.3.x
2016-03-08 14:32:04 -07:00
Simone Bordet
d0593ab046
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-08 11:56:14 +01:00
Joakim Erdfelt
07d54224c7
Issue #405 - adding testcase for problematic HttpURI parsing of path params
2016-03-07 17:12:05 -07:00
Joakim Erdfelt
2cc50ed925
Issue #316 - Add *.chm mimetype mapping
2016-03-07 16:32:36 -07:00
Joakim Erdfelt
da6be3ed7a
Fixing javadoc
2016-03-07 10:24:57 -07:00
Simone Bordet
5fa6bf4c10
Merged branch 'jetty-9.3.x' into 'master'.
2016-03-05 14:59:21 +01:00
Greg Wilkins
10bd934476
Issue #346 HttpParser RFC2616 Compliance mode
...
Empty header values returned as "" in all compliance modes
2016-03-05 14:26:47 +01:00
Greg Wilkins
692aae0d3e
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-03-05 11:06:34 +01:00
Greg Wilkins
d1fc5eb67d
Revert "Issue #346 HttpParser RFC2616 Compliance mode"
...
This reverts commit 58e5a54ab6
.
RFC7430 allows empty header values
2016-03-05 11:03:32 +01:00
Greg Wilkins
58e5a54ab6
Issue #346 HttpParser RFC2616 Compliance mode
...
Ignore headers without values.
2016-03-05 11:03:11 +01:00
Greg Wilkins
f4453ba5e0
Issue #346 HttpParser RFC2616 Compliance mode
...
Headers with no value return "" in <= RFC2616 mode
2016-03-05 09:21:34 +01:00
Greg Wilkins
ebfb45dd70
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-24 15:18:47 +01:00
Greg Wilkins
1eeecdaee5
Issue #355 Improve close behaviour
...
Inverted the logic of the handling of exceptions thrown in CommitCallback.
Now only if a BadMessageException is throw do we attempt to write a 500 response.
All other exceptions just abort the connection
2016-02-24 13:36:06 +01:00
Greg Wilkins
aa7fd02c5f
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-23 18:31:15 +01:00
Greg Wilkins
c3a54e9d0b
fixed javadoc
2016-02-23 18:23:23 +01:00
Greg Wilkins
3c671aa8b6
Issue #346 HttpParser RFC2616 Compliance mode
...
Reimplmented HTTP/0.9 support in RFC2616 compliance mode
2016-02-23 17:33:53 +01:00
Simone Bordet
51009208d4
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-19 13:23:34 +01:00
Greg Wilkins
27585d923c
Issue #346 HttpParser RFC2616 Compliance mode
...
removed System Property for compliance
2016-02-19 12:14:06 +01:00
Greg Wilkins
72edbe5cea
Issue #346 HttpParser RFC2616 Compliance mode
...
Added RFC2616 compliance mode that allows wrapped headers
2016-02-19 11:22:52 +01:00
Greg Wilkins
d0541e58da
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-16 10:11:47 +01:00
Greg Wilkins
fd5b3a8062
487714 - Avoid NPE in close race for async write
...
The race has not been solved, as with lock-free style it is difficult to prevent a
close racing with a write in progress. Instead, the code has been made more
resiliant to such state changes and exceptions thrown are converted to IOExceptions.
2016-02-16 10:06:25 +01:00
Simone Bordet
e91d93b85c
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-15 20:56:01 +01:00
Simone Bordet
26b6c848f3
Issue #80 (Spin loop in case of HTTP/2 prefaces without H2C).
...
Fixed by changing the state of the parser before calling the parser
handler callbacks, and by closing the parser if the upgrade to HTTP/2
is not successful.
2016-02-15 20:50:22 +01:00
Greg Wilkins
6a9002991a
Issue #79 Parse HTTP request target starting with //
...
Added a new parseRequestTarget method
2016-02-15 19:40:10 +01:00
Joakim Erdfelt
f98dde5e5b
Updating to version 9.2.16-SNAPSHOT
2016-02-10 15:36:41 -07:00
Joakim Erdfelt
9b6890d3c1
Updating to version 9.2.15.v20160210
2016-02-10 14:49:12 -07: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
Greg Wilkins
df79ad689a
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-04 07:00:13 +01:00
Greg Wilkins
f2e71a2dde
485306 - HttpParser (HttpURI) mistaking basic auth password as a port number
...
Added support for a password and a getUser() method
2016-02-03 14:28:08 +01:00
Joakim Erdfelt
e0ce545ad7
Updating to version 9.3.8-SNAPSHOT
2016-01-15 17:15:14 -07:00
Joakim Erdfelt
c0b191119b
Updating to version 9.3.7.v20160115
2016-01-15 16:40:15 -07:00
Greg Wilkins
7925697b25
484349 - Optimized PathMappings lookup
2016-01-14 14:27:24 +11:00
Joakim Erdfelt
b7f9c9aca9
Updating to version 9.3.7-SNAPSHOT
2016-01-13 08:21:01 -07:00
Joakim Erdfelt
21ca3f6690
Updating to version 9.3.7.RC1
2016-01-13 07:30:24 -07: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
50ff7ac7ce
Merge remote-tracking branch 'origin/jetty-9.3.x'
2015-12-23 18:07:08 +11:00
Greg Wilkins
19d6e36ab9
484657 - Support HSTS rfc6797
2015-12-23 17:15:24 +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
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
3bec195d08
484440 - Swap WebSocket PathMappings for new jetty-http PathMappings
...
+ Deprecated jetty-server ServletPathSpec and RegexPathSpec
+ Moved all other code to using new jetty-http versions
2015-12-17 11:42:27 -07:00
Joakim Erdfelt
7c5bec1b48
Using Java 8 Predicate Function
...
+ Removing jetty-util (java 7) holdover Predicate.java
+ Converting use to (java 8) java.util.function.Predicate
2015-12-17 10:15: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
e6901b2646
484349 - Promote WebSocket PathMappings / PathSpec to Jetty Http
...
+ More testing, more improvements
2015-12-16 11:06:17 -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
Joakim Erdfelt
6e0ad429d9
484350 - Allow GzipHandler path include/exclude to use regex
...
+ Overhauled IncludeExclude to use java 8 predicate
+ Introduced PathSpecSet to standardize path IncludeExclude
+ GzipHandler now uses PathSpecSet for paths
Conflicts:
jetty-http/src/main/java/org/eclipse/jetty/http/PathMap.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
2015-12-15 15:23:29 -07: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
Joakim Erdfelt
a52a182369
484349 - Promote WebSocket PathMappings / PathSpec to Jetty Http
...
+ Moving PathMappings from jetty-websocket to jetty-http
+ Renaming WebSocketPathSpec to UriTemplatePathSpec
+ Improving implementation with knowledge gained from PathMap
and PathMapTest cases.
2015-12-15 13:57:01 -07:00
Joakim Erdfelt
b6df9508c6
484350 - Allow GzipHandler path include/exclude to use regex
...
+ Overhauled IncludeExclude to use java 8 predicate
+ Introduced PathSpecSet to standardize path IncludeExclude
+ GzipHandler now uses PathSpecSet for paths
2015-12-14 14:58:12 -07: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