Commit Graph

15576 Commits

Author SHA1 Message Date
Greg Wilkins 60a7551785 Merge remote-tracking branch 'origin/jetty-9.4.x' 2017-08-15 11:55:58 +10:00
Greg Wilkins 4d56d154ac Issue #1721 async read failure on big POST
fixed HttpInput test
2017-08-15 11:50:07 +10:00
Greg Wilkins 3c3d05f722 Issue #1721 async read failure on big POST
Modified isReady to not fillAndParseContent if known to be isReady()==false already.
Added mutex on produceContent
2017-08-15 10:08:08 +10:00
Greg Wilkins a58447aea1 Issue #1732 Stop accepting new connections
removed debug
2017-08-15 10:07:55 +10:00
Simone Bordet 64d5131a2a Issue #1719 - Improve handling of HTTP/2 queued requests.
Since for HTTP/2 EWYK has been forced to run in PEC mode, we need the
onFillable() callback to be non blocking.
2017-08-14 11:08:57 +02:00
Greg Wilkins db249c09d0 Issue #1729 Correct exception message 2017-08-14 09:52:33 +10:00
Greg Wilkins 5197ce4f54 Issue #1732 Stop accepting new connections 2017-08-12 10:26:17 +10:00
Simone Bordet 829fa4fe9b Improved logging. 2017-08-11 16:48:06 +02:00
Simone Bordet 4e83ad3ec5 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-08-11 16:46:23 +02:00
Simone Bordet 87d090e062 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-08-11 16:42:21 +02:00
Greg Wilkins 7179ac0b61 simplified test 2017-08-10 15:11:55 +10:00
Greg Wilkins 08c49a30c0 Improve test reporting 2017-08-10 15:11:55 +10:00
Greg Wilkins ce3bfe63b9 Less verbose tests 2017-08-10 15:11:55 +10:00
Greg Wilkins 39cb278577 Merge remote-tracking branch 'origin/jetty-9.4.x' 2017-08-10 13:22:54 +10:00
Jan Bartel 67d93f9f74 Issue #1724 2017-08-10 13:05:50 +10:00
Greg Wilkins bb39fe6009 improved test for running in IDE 2017-08-10 12:54:41 +10:00
Greg Wilkins cf418c639f Revert "added assume from running directly"
This reverts commit 39ea66368c.
2017-08-10 12:52:28 +10:00
Greg Wilkins 39ea66368c added assume from running directly 2017-08-10 11:34:13 +10:00
Greg Wilkins 13e928dfd0 Merge remote-tracking branch 'origin/jetty-9.4.x' 2017-08-10 11:30:09 +10:00
Greg Wilkins 7b5d3b2b5a Issue #1706 Log class uses self Loader 2017-08-10 11:22:06 +10:00
Joakim Erdfelt 3ec5f8fa3d Merge remote-tracking branch 'origin/jetty-9.4.x' 2017-08-09 16:21:08 -07:00
WalkerWatch d5a9f0e0e5 EOL Fix 2017-08-09 17:42:15 -04:00
Joakim Erdfelt 438c0a8159 Minor update to README 2017-08-09 14:41:25 -07:00
Joakim Erdfelt b0fd444a1b File EOL issue, post-hard reset 2017-08-09 14:31:06 -07:00
Simone Bordet d3d02f227e Fixes #1719 - Improve handling of HTTP/2 queued requests.
Idle timeout have a special meaning in that they become a no-operation
if the application is dispatched but idle (neither reading nor writing).

HttpChannelOverHTTP2 now forwards the idle timeout to HttpInput, which
will only change its state if it is interested in reading.

HttpInput.consumeAll() has been modified to consume all input even if
it's already failed.

Failures caused by the other peer (e.g. I/O failures or stream resets)
are now retained and will eagerly consumed any queued data to free up
the flow control windows.
2017-08-09 16:21:53 +02:00
Simone Bordet 93e8af1db5 Refactored isRequestHandled() logic to use HttpChannelState. 2017-08-09 10:25:47 +02:00
Simone Bordet 7b437cd647 Refactored calls to _transport.abort() to call this.abort(). 2017-08-09 10:25:47 +02:00
Joakim Erdfelt 71d5fcf246 Fixing javadoc errors 2017-08-08 11:09:25 -07:00
Joakim Erdfelt 952bb8dfdd Fixing compilation 2017-08-08 10:40:58 -07:00
Joakim Erdfelt 54367621e4 Fixing cdi/websocket pom versions 2017-08-08 09:54:09 -07:00
Joakim Erdfelt 1311052b15 Cleaning up state of branch to match the original jetty-9.4.x
+ Does not include changes to /jetty-cdi/
+ Does not include changes to /jetty-websocket/ for javax.websocket-1.1
2017-08-08 09:47:04 -07:00
Joakim Erdfelt 585f126b48 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x-clean 2017-08-08 09:24:41 -07:00
Greg Wilkins 94322f7290 simplify reserved thread configuration 2017-08-08 09:16:11 -07:00
Greg Wilkins 76981a0a15 Fixed #1715 standardise XML properties and IDs 2017-08-08 09:16:08 -07:00
Jan Bartel c917d9e72b Issue #1714 2017-08-08 09:16:06 -07:00
Greg Wilkins 4c2c0add76 Fixed #1713 limit selectors for small thread pool 2017-08-08 09:16:04 -07:00
Josh Elser c6d86122db Fix a bug around handling "Negotiate" case-insensitively in SpnegoAut… (#1710)
* Fix a bug around handling "Negotiate" case-insensitively in SpnegoAuthenticator

Closes #1709

Signed-off-by: Josh Elser <elserj@apache.org>

* Clean up isAuthSchemeNegotiate(String) since we don't need to use startsWith()

Signed-off-by: Josh Elser <elserj@apache.org>
2017-08-08 09:16:01 -07:00
Greg Wilkins 9f285d92e7 Issue #1637
Limit reserved threads if threadpool is of small size
2017-08-08 09:15:59 -07:00
Greg Wilkins 3b297a2557 Apply #1649 2017-08-08 09:15:56 -07:00
Igal 10bf0e5edb fixed typo (#1668)
* fixed typo

* improved text

* corrected typo in readme
2017-08-08 09:15:54 -07:00
Greg Wilkins cfeb2a3325 Issue #215 Conscrypt SSL provider
upgraded to 1.0.0.RC9
2017-08-08 09:15:51 -07:00
Simone Bordet b1b569bd23 475546 - ClosedChannelException when connecting to HTTPS over HTTP proxy with CONNECT.
Not closing the connection if the request method is CONNECT.
2017-08-08 09:15:49 -07:00
Jan Bartel 19e539a87d Issue #1623
Remove projects.classes.dirs, using only lib.jars property.
2017-08-08 09:15:48 -07:00
Josh Elser 1fd3e4ad1b Sends the WWW-Authenticate header if a non-Negotiate authorization he… (#1700)
* Sends the WWW-Authenticate header if a non-Negotiate authorization header was given

Fixes #1698

Signed-off-by: Josh Elser <elserj@apache.org>

* Dumb compilation error

Signed-off-by: Josh Elser <elserj@apache.org>

* Adds a test to show the challenge is sent.

Signed-off-by: Josh Elser <elserj@apache.org>

* Refactor the conditionals per Greg's suggestion

Signed-off-by: Josh Elser <elserj@apache.org>

* Add the expected license header

Signed-off-by: Josh Elser <elserj@apache.org>
2017-08-08 09:15:45 -07:00
Greg Wilkins 1a07ddd787 Issue #215 Conscrypt SSL provider
Added module to install Conscrupt SSL provider
2017-08-08 09:15:43 -07:00
Simone Bordet a705f9a2ca Fixes #1703 - Improve HttpInput failure logging. 2017-08-08 09:15:40 -07:00
Simone Bordet a8ca4d23c6 Fixes #1702 - Update ALPN for JDK 8u144. 2017-08-08 09:15:38 -07:00
Greg Wilkins d12cde9cfd Fix commit 2e13208758
use suppressed exceptions to hold local stacktrace rather than wrapping exception, which hides the exception type.
2017-08-08 09:15:37 -07:00
Jan Bartel 7c4f7b13f7 Issue #1682 2017-08-08 09:15:35 -07:00
WalkerWatch dfd9e43b2d Updated web-default.xml documentation. Resolves #1462. 2017-08-08 09:15:32 -07:00