Commit Graph

11536 Commits

Author SHA1 Message Date
Simone Bordet d2e4eff686 Made test behave the same for different proxy servlets to reduce
instanceof checks.
2015-11-25 17:21:51 +01:00
Simone Bordet a686e26c31 Removed debug leftovers. 2015-11-25 16:03:41 +01:00
Simone Bordet eac966cb9b 483009 - MultiPartContentProvider may send wrong Content-Length.
Introduced method close() to signal when no more parts will be added,
and calculating the Content-Length in setListener() only if when closed.
2015-11-25 16:02:21 +01:00
Simone Bordet 3c54806d47 482959 - Local stream count never decrements when closing a stream causing IllegalStateException.
This issue was caused by removeStream(IStream, boolean) to take a
boolean parameter that indicated whether the close of the stream was
caused by a sent frame (local) or by a received frame (remote).

However, this was wrong, since a local stream may be closed by
receiving a frame. This error was causing the local and remote stream
counts held by HTTP2Session to be decremented wrongly, causing the
IllegalStateException mentioned in the bug report.

Fixed by decrementing the stream counters based on whether the stream
itself is local or remote.
2015-11-25 12:58:02 +01:00
Simone Bordet f596bf1566 Improved javadocs for onPreface(). 2015-11-25 12:58:02 +01: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
Greg Wilkins ab93529f6d 482855 - Content-Length omitted for POST requests with empty body
fixed merge
2015-11-25 20:50:59 +11:00
Greg Wilkins e78fcb59a4 482855 - Content-Length omitted for POST requests with empty body
An ineligant fix. Will improve in 9.3.x/9.4.x without HTTP 0.9 support.
2015-11-25 20:50:59 +11:00
Jan Bartel 25c01f7953 Reverse accidental commit of changes to test-jaas-webapp login.conf 2015-11-25 15:26:41 +11:00
Greg Wilkins aa85d85510 482855 - Content-Length omitted for POST requests with empty body
An ineligant fix. Will improve in 9.3.x/9.4.x without HTTP 0.9 support.
2015-11-25 14:15:14 +11:00
Jan Bartel 6e37f4886a Refactor jaas login sequence to only fetch role data if user is authenticated according to that module. 2015-11-25 13:58:27 +11:00
Jan Bartel 648ab51afa Fixing jetty.home/base property in pom for test-jaas-webapp. 2015-11-25 08:52:48 +11:00
Joakim Erdfelt cfca16f64d 482173 - Track original Query string in Rewrite RuleContainer too 2015-11-23 09:00:59 -07: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
Simone Bordet 793c816c66 Improved logging. 2015-11-18 19:25:34 +01:00
Joakim Erdfelt cd152f515e Merge branch 'release-9.2.14' into jetty-9.2.x 2015-11-18 11:25:02 -07: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 8ed34b3395 482243 GzipHandler include test 2015-11-18 15:52:32 +11:00
Greg Wilkins 8030a4c783 482243 Fixed GzipHandler for Include 2015-11-18 15:44:36 +11: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
Simone Bordet e0963543d2 476641 - Proxy rewriteTarget() null return does not call error handler.
Introduced sendProxyResponseError(), centralizing the place where an
error is returned to the client, so that applications may override the
behavior.
2015-11-05 15:51:44 +01:00
Simone Bordet 4cf308a7db Added missing @Override annotations. 2015-11-05 15:46:49 +01:00
Simone Bordet 50e565bac0 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2015-11-05 12:14:28 +01:00
Simone Bordet b4cf2921c8 Updated ALPN version for JDK 8u65 and 8u66. 2015-11-05 12:05:08 +01:00
Greg Wilkins 9e19a95d14 PushSessionCacheFilter 2015-11-05 18:40:18 +11: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
Simone Bordet 973d95c8bc Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2015-11-04 18:36:36 +01:00
Simone Bordet af0b6284e5 481437 - Port ConnectHandler connect and context functionality from Jetty 8.
Restored connect and context functionalities.
2015-11-04 18:18:52 +01:00
Simone Bordet ea04e59637 Fixed typo in logging statement. 2015-11-04 18:18:25 +01:00
Simone Bordet afc6b9e5c0 Fixed compilation issues. 2015-11-04 15:00:39 +01:00
Simone Bordet e54fe641df Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2015-11-04 13:49:52 +01:00
Simone Bordet a1e2d4e8c3 481006 - SSL requests intermittently fail with EOFException when SSL renegotiation is disallowed.
Deprecated HttpConnectionOverFCGI constructor just in case someone uses it.
2015-11-04 13:44:40 +01:00
Simone Bordet 7a34631397 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2015-11-04 13:40:44 +01:00
Simone Bordet 0172b68301 481006 - SSL requests intermittently fail with EOFException when SSL renegotiation is disallowed.
Fixed by notifying the Connection promise from onOpen() rather than
just after the creation of the connection.
2015-11-04 13:26:27 +01:00
Simone Bordet 473d658842 481385 - Incorrect parsing of END_REQUEST frames. 2015-11-04 10:45:01 +01:00
Simone Bordet 2a765afdc6 Improved javadocs and logging. 2015-11-04 10:45:01 +01:00
Jan Bartel c63ef3e08b 481373 Corner cases where session may remain in JDBCSessionManager memory 2015-11-04 17:24:38 +11:00
Simone Bordet b102bd507a 419966 - Add ContentProvider that submits multipart/form-data.
Second implementation after feedback from the community.
2015-11-02 18:17:51 +01: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
Jan Bartel b3b48924d5 Update build profile for jdk1.8.0.66 2015-11-02 12:42:22 +11:00
Jan Bartel ac416d21e8 481203 Add ability to set configurations to apply to WebAppContext for jetty-maven-plugin 2015-11-02 12:36:39 +11:00