2854 Commits

Author SHA1 Message Date
Greg Wilkins
1d0d601694 Issue #1242 Added a quiet exception 2017-01-12 09:25:54 +11:00
Greg Wilkins
611e79945c Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-01-11 18:10:50 +11:00
Greg Wilkins
36dcf47f18 Issue #1234 onBadMessage
Added a boolean to determine if headerComplete has been called, and if so then earlyEOF is called
2017-01-11 17:36:04 +11:00
David Barri
ced72c52bd Fix broken XML in jetty-gzip.xml (#1227)
thanks
2017-01-10 16:05:05 +11:00
Jan Bartel
e71f9442b2 Issue #1223
Update comment to clarify null workername is coerced internally to empty string.
2017-01-09 12:10:49 +11:00
Jan Bartel
69babbf38c Issue #1224
This reverts commit 3d35484dc7622180907035e579ed5523f4afa3fe and provides different solution.
2017-01-09 12:07:29 +11:00
Jan Bartel
04a2777603 Issue #1223 2017-01-07 15:54:44 +11:00
Simone Bordet
e215b065df Improved error reporting. 2016-12-30 22:01:33 +01:00
Simone Bordet
0f422475ad Improved error reporting. 2016-12-30 18:58:14 +01:00
Jan Bartel
8597fe57e6 Issue #1203 2016-12-26 17:09:22 +11:00
Greg Wilkins
b950a2e2e4 Fixes #1201 2016-12-23 13:44:19 +11:00
WalkerWatch
22f48ac369 Issue #1188 - Fixed dependency.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-12-19 00:23:59 -05:00
Simone Bordet
8cafca7c64 Fixes #1185 - Connection abruptly closed for HEAD requests.
Only checking if the Content-Length and the actual
content written match for responses that have a body.
2016-12-16 18:45:45 +01:00
Simone Bordet
c3e608fae3 Fixes #1184 - IllegalStateException for HEAD requests responded with 404.
Now committing the default 404 response body early,
so that attempts to try to change the content length
will be ignored since the response is already committed.
2016-12-16 18:38:27 +01:00
Joakim Erdfelt
c70fa88be0 Issue #1175 - Correcting test DispatchType 2016-12-14 12:16:53 -07:00
Joakim Erdfelt
58b8f56a36 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-12-14 12:15:50 -07:00
Joakim Erdfelt
f91d1e01fe Issue #1175 - More realistic test of commons-fileupload behavior 2016-12-14 11:53:10 -07:00
Joakim Erdfelt
f846b37cbb Issue #1175 - Adding testcase to Jetty 9.3.x 2016-12-14 10:58:36 -07:00
Simone Bordet
dd3a73e57a Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-12-14 11:19:49 +01:00
Simone Bordet
07c9bc5a51 Fixes #1169 - HTTP/2 reset on a stalled write does not unblock writer thread.
The fix notifies the transport when a reset frame is received,
allowing the transport to fail the write callback which then notifies
the application, either by throwing (in case of blocking writes) or
by calling error listeners.

Also added a guard, in HttpChannel.handle() for the ERROR_DISPATCH case,
that checks if the response is already committed, and if so, abort
the transport - similar to what's already there for 9.4.
2016-12-14 11:07:00 +01:00
Jan Bartel
5d5b9c5998 Issue #1162 2016-12-12 20:24:54 +11:00
Jan Bartel
4f48d7aadf Issue #1153
Refactor calcExpiry methods a little.
2016-12-08 20:15:49 +11:00
Greg Wilkins
5186c1e6d0 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-12-08 18:35:40 +11:00
Jan Bartel
51855ba45e Issue #1153 2016-12-08 17:16:27 +11:00
Jan Bartel
8e0725db1c Issue #123
Make sync on id generation more tightly scoped.
2016-12-08 11:29:13 +11:00
Greg Wilkins
af5d27c2f7 Issue #1146 DecryptedEndPoint deadlock 2016-12-07 22:50:27 +11:00
Jan Bartel
4caaad7166 Issue #1142 2016-12-01 12:09:49 +11:00
Simone Bordet
f70c6f790c Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-11-25 09:05:07 +01:00
Simone Bordet
dd76ed2449 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2016-11-25 09:04:16 +01:00
Simone Bordet
f254dbc0b6 Fixes #1130 - PROXY protocol support reports incorrect remote address. 2016-11-25 08:56:56 +01:00
Greg Wilkins
dd2f9d73b6 tests cleanup 2016-11-25 14:37:19 +11:00
Greg Wilkins
0b54fa0bc7 Issue #1128 2016-11-24 15:47:11 +11:00
Greg Wilkins
deac849325 Fixes #1127
Fixes #1127 by updating #1074 solution.  Spurious calls to HttpInput.run can be ignored.
Hide some more test stacks
2016-11-24 10:18:06 +11:00
Joakim Erdfelt
5b5a2e845b Removing commented out debug code 2016-11-23 06:05:35 -07:00
Greg Wilkins
2ef23a6725 Issue #572
Improved to the toString and dump output of connections, endpoints and channel to assist with debugging
made the SSL callbacks and runnables Invocable to avoid thread starvation.
2016-11-23 16:58:35 +11:00
Joakim Erdfelt
efc227e0e4 Updates for better ThreadStarvationTests 2016-11-22 17:37:40 -07:00
Joakim Erdfelt
bb428fb402 Using non-deprecated SocketChannelEndpoint 2016-11-22 16:35:56 -07:00
Joakim Erdfelt
7c90d19983 Minor updates to ThreadStarvationTest to diagnose read starvation under SSL issue 2016-11-22 15:00:13 -07:00
Joakim Erdfelt
b5cd3cfca1 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-11-17 17:00:58 -07:00
Joakim Erdfelt
fd20d46659 Issue #1062 - adding https/ssl/tls test varient to ThreadStarvationTest 2016-11-17 16:42:37 -07:00
Greg Wilkins
ed14d739f3 Issue #1103 original URI trimmed 2016-11-16 23:31:03 +11:00
Jan Bartel
05f2e56aa1 Merge pull request #1093 from nevafuse/patch-3
Keep restored file if saving periodically
2016-11-16 10:53:59 +11:00
nevafuse
236571eaee only periodically save recently accessed sessions
Signed-off-by: nevafuse <nevafuse@gmail.com>
2016-11-12 22:12:56 -05:00
nevafuse
e05faf77c8 keep restored file if saving periodically
Signed-off-by: nevafuse <nevafuse@gmail.com>
2016-11-12 22:11:17 -05:00
Greg Wilkins
62331ce8f0 Issue #1074 javadoc 2016-11-08 16:26:03 +11:00
Greg Wilkins
a7048a325a Issue #1077
Removed concrete handle from AbstractHandler
Added AbstractHandler.ErrorDispatchHandler
cleanup context listeners
Removed vanity inlining of ScopeHandler methods

Squashed commit of the following:

commit 0f3619ac1101707de476ad9b7f7394e8de18d95f
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Nov 8 10:59:55 2016 +1100

    Issue #1077

    Removed concrete handle from AbstractHandler
    Added AbstractHandler.ErrorDispatchHandler

commit 0876fee0334b9f43297f28fc4b855f447b7ee73f
Merge: 5eabad2 7716ada
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Nov 8 08:48:53 2016 +1100

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-issue-1077

commit 5eabad29a5c4d893e204cb403a1d276ea3b15281
Author: Greg Wilkins <gregw@webtide.com>
Date:   Mon Nov 7 21:15:40 2016 +1100

    Issue #1077 cleanup context listeners

commit 9edf91a386aa20a3c0af86a634b4b3dbbc8e1092
Author: Greg Wilkins <gregw@webtide.com>
Date:   Mon Nov 7 18:08:01 2016 +1100

    Issue #1077 Removed vanity inlining of ScopeHandler methods
2016-11-08 15:58:15 +11:00
Simone Bordet
526d385a62 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-11-07 16:23:10 +01:00
Simone Bordet
998c5729ec Fixes #1072 - InetAccessHandler needs InetAddress & Path based restrictions like IPAccessHandler did.
Introduced isAllowed(InetAddress, HttpServletRequest) so that it
would be possible to make access decisions also based on request
information such as context, path, headers, etc.
2016-11-07 16:20:15 +01:00
Simone Bordet
fe1aed24c0 Code cleanup. 2016-11-07 16:15:11 +01:00
Greg Wilkins
d9bf635e64 removed warnings from unit test 2016-11-07 15:41:17 +11:00