Jan Bartel
f10f32c080
478918 Change javax.servlet.error,forward,include literals to RequestDispatcher constants
2016-02-16 10:48:20 +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
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
annorax
5167c52ab0
Add missing property configuration to jetty.xml
...
Signed-off-by: Ido <ido.dovrat@gmail.com>
2016-02-13 07:32:42 -07:00
Simone Bordet
6306f06e2f
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-02-09 18:12:04 +01:00
Greg Wilkins
7b5d12b338
Added HttpInput prepend content
...
Allows content to be reread
2016-02-05 14:54:39 +01:00
Greg Wilkins
90efbe62c8
487277 - Introduce http-forwarded module for X-Forwarded support
2016-02-04 11:58:23 -07:00
Jan Bartel
980ab316ca
487198 ContextScopeListener should be called on context start and stop
2016-02-04 10:45:33 +01: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
79a7863ac8
486877 - Google Chrome flagging 'obsolete cipher suite' in Jetty and will soon issue broken padlock
...
+ Rely on SslContextFactory defaults for Includes/Excludes of Cipher
Suites
+ Reference documentation for advice on setting up custom includes
and excludes
2016-02-02 12:48:17 -07:00
Joakim Erdfelt
1aef09acc2
486604 - Add debug logging of ErrorPageErrorHandler logic
2016-01-27 11:55:00 -07:00
Joakim Erdfelt
e3dd0cb83b
486511 - Server.getURI() returns wrong scheme on SSL/HTTPS
2016-01-25 13:23:41 -07: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
d41c0bba65
471171 - Support SYNC_FLUSH in GzipHandler
2016-01-15 14:27:09 +11:00
Joakim Erdfelt
0a1b0b2bc6
485714 - Update SSL configuration to mitigate SLOTH vulnerability
2016-01-13 15:00:16 -07:00
Joakim Erdfelt
30308f2316
Javadoc updates
2016-01-13 07:25:15 -07:00
Greg Wilkins
35134e2d05
485376 unit test
2016-01-08 11:38:06 +11:00
Jan Bartel
913ef1a39a
485064 HashSessionManager leaks ScheduledExecutorScheduler with reference to un-deployed webapp
2016-01-06 11:22:18 +11: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
30557429cf
484801 Avoid non-cached memory mapped files
2015-12-24 15:13:46 +11:00
Greg Wilkins
3b49ed6d0a
484657 - Support HSTS rfc6797
2015-12-24 08:42:59 +11:00
Simone Bordet
b7ab9e0a22
484818 - Expose interesting HTTP/2 attributes and operations via JMX.
...
Initial work to expose already existing attributes on the server.
2015-12-23 11:08:25 +01:00
Greg Wilkins
19d6e36ab9
484657 - Support HSTS rfc6797
2015-12-23 17:15:24 +11:00
Greg Wilkins
f65a7db8c5
458745 Async ISE in async Echo
...
The HttpOutput class was throwing an ISE if it was dispatched when PENDING
or UNREADY. However this can occur when it has been dispatched, but a prior call
to onDataAvailable() does output after calling isReady().
The HttpOutput now does not enforce that part of the state machine and defers to
the application correctly calling isReady()
2015-12-23 15:09:56 +11:00
Joakim Erdfelt
22f9c9826d
Javadoc fixes
2015-12-19 12:46:52 -07: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
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
Greg Wilkins
3527c6a71b
StringUtil.csvSplit(String)
...
Conflicts:
jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractJettyMojo.java
jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java
jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushCacheFilter.java
jetty-util/src/main/java/org/eclipse/jetty/util/StringUtil.java
jetty-xml/src/main/java/org/eclipse/jetty/xml/XmlConfiguration.java
2015-12-08 14:54:33 -07:00
Greg Wilkins
6978eeb5c4
483422 - Empty chunked body in 304 Response
...
test harness only
2015-12-02 12:41:51 +11:00
Greg Wilkins
a2c057892e
483039 - HTTP2 Upgrade case sensitivity on Connection header
2015-11-26 07:06:38 +11:00
Greg Wilkins
204591ce82
482855 - Content-Length omitted for POST requests with empty body
...
Removed HTTP 0.9 support
A few code simplifications
Fixed clients relying on Content-Length headers being ignored
2015-11-25 20:50:59 +11:00
Simone Bordet
ce41b7124f
482506 - HTTP/2 load test with h2load fails.
...
Returning true if the upgrade succeeds to signal to the HttpParser to
stop parsing, leaving all the work and the buffer to the new connection.
2015-11-18 19:25:34 +01:00
Joakim Erdfelt
4e773c16e2
Merge branch 'release-9.3.6' into jetty-9.3.x
2015-11-18 11:24:04 -07:00
Greg Wilkins
12ec44894b
482272 Fixed relative symlink checking
2015-11-18 11:13:35 +11:00
Joakim Erdfelt
edf686fe0a
Updating to version 9.3.7-SNAPSHOT
2015-11-06 12:13:00 -07:00
Joakim Erdfelt
d737e1c638
Updating to version 9.3.6.v20151106
2015-11-06 11:09:32 -07:00
Joakim Erdfelt
ec8f8d3e4f
Updating to version 9.2.15-SNAPSHOT
2015-11-06 11:06:48 -07:00
Joakim Erdfelt
ecba378f5c
Updating to version 9.2.14.v20151106
2015-11-06 10:32:14 -07:00
Greg Wilkins
4bb63b9e03
481355 Nested Symlinks
2015-11-06 13:54:47 +11:00
Greg Wilkins
56afc2b0e5
481554 DispatcherType reset race
...
Cherry pick of fa53b11850
Conflicts:
jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java
2015-11-06 10:38:08 +11:00
Joakim Erdfelt
c8ec399af2
Merge branch 'jetty-9.2.x' into jetty-9.3.x
2015-11-05 10:34:30 -07:00
Joakim Erdfelt
486e890d5d
481236 - Make ShutdownMonitor java security manager friendly
...
+ Limit access to specific System properties
2015-11-05 10:33:25 -07:00
Greg Wilkins
bd8f0b2dba
481418 ResourceHandler sets last modified
2015-11-05 08:52:03 +11:00
Greg Wilkins
8caef29126
481418 ResourceHandler sets last modified
2015-11-05 08:31:36 +11:00
Jan Bartel
c63ef3e08b
481373 Corner cases where session may remain in JDBCSessionManager memory
2015-11-04 17:24:38 +11:00
Simone Bordet
58027a3421
481225 - Secondary resources with query parameters are not properly pushed.
...
Fixed by making PushCacheFilter remember the query parameters for
secondary resources, so that the PUSH_PROMISE frame can be correctly
generated with the query parameters.
2015-11-02 11:37:17 +01:00
Greg Wilkins
c156f6593c
480162 - Continuations behavior differences due to HttpURI behavior
...
reverted 3e460dd219
added test clarifications
2015-10-21 15:18:12 +11:00