1
0
mirror of https://github.com/jetty/jetty.project.git synced 2025-02-21 14:25:23 +00:00

3197 Commits

Author SHA1 Message Date
Greg Wilkins
4d56d154ac Issue async read failure on big POST
fixed HttpInput test
2017-08-15 11:50:07 +10:00
Greg Wilkins
3c3d05f722 Issue 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 Stop accepting new connections
removed debug
2017-08-15 10:07:55 +10:00
Greg Wilkins
5197ce4f54 Issue Stop accepting new connections 2017-08-12 10:26:17 +10: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
cf418c639f Revert "added assume from running directly"
This reverts commit 39ea66368ce28f6219dbef386a857e46454b7b95.
2017-08-10 12:52:28 +10:00
Greg Wilkins
39ea66368c added assume from running directly 2017-08-10 11:34:13 +10:00
Simone Bordet
d3d02f227e Fixes - 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
7b437cd647 Refactored calls to _transport.abort() to call this.abort(). 2017-08-09 10:25:47 +02: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
Greg Wilkins
94322f7290 simplify reserved thread configuration 2017-08-08 09:16:11 -07:00
Greg Wilkins
4c2c0add76 Fixed limit selectors for small thread pool 2017-08-08 09:16:04 -07:00
Greg Wilkins
1a07ddd787 Issue Conscrypt SSL provider
Added module to install Conscrupt SSL provider
2017-08-08 09:15:43 -07:00
Simone Bordet
a705f9a2ca Fixes - Improve HttpInput failure logging. 2017-08-08 09:15:40 -07:00
Greg Wilkins
d12cde9cfd Fix commit 2e13208758b6cf0036f3e18406e61683b41a0e14
use suppressed exceptions to hold local stacktrace rather than wrapping exception, which hides the exception type.
2017-08-08 09:15:37 -07:00
Simone Bordet
3eeeb8ec7e Improved error reporting. 2017-08-08 09:15:30 -07:00
Simone Bordet
be1eb26670 Fixes - Asymmetric usage of trailers in MetaData.Request.
Reviewed with code cleanups.
2017-08-08 09:15:23 -07:00
Jan Bartel
56bf71aec2 Issue 2017-08-08 09:14:54 -07:00
Greg Wilkins
0bc9149ff1 Issue asymmetric trailer usage on MetaData.Request 2017-08-08 09:14:47 -07:00
Greg Wilkins
2202d333fe Issue ServerConnector configured with channel
converted setter to open method
added test harness
2017-08-08 09:14:18 -07:00
Greg Wilkins
7dc2559c8b Issue added setter for accept channel 2017-08-08 09:14:16 -07:00
Greg Wilkins
386ca510e6 Issue added openAcceptChannel 2017-08-08 09:14:15 -07:00
Greg Wilkins
a105be95e4 Issue Thread per HTTP/2 Connection
This fix simplifies the EWYK scheduler by factoring out the preallocated producer into a
ReservedThreadExecutor class.   A shared ReservedThreadExecutor can then be used by multiple
EWYK instances to avoid over allocation of threads.

Squashed commit of the following:

commit c435dc20e25bd274d69423be1be7b0565925f249
Merge: 58a5a9a 90e5b56
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Jun 21 10:48:22 2017 +0200

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk3

commit 58a5a9a655ee1a72a66f54ac8c95d7c9d73afe85
Author: Simone Bordet <simone.bordet@gmail.com>
Date:   Wed Jun 14 15:56:43 2017 +0200

    Code cleanups.

commit 4e5296216b52948523572352cba391438ff6b494
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Jun 14 07:34:58 2017 +0200

    refixed Producing to Reproducing

commit a1f8682f86d1f0803121162e3f14d7768286d3ed
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Jun 14 07:26:29 2017 +0200

    fixed Producing to Reproducing

commit 9468932e062d2271d8dc1d43a78544757732fff5
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 16:33:44 2017 +0200

    fixed javadoc

commit 9d4941eb97638fec09b3fe34d423538d17943b6f
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 16:05:27 2017 +0200

    Renamed Preallocated to ReservedThread

commit 6d3379ab64c6dcc2a7aa8ec7088afd77863816c2
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 12:28:52 2017 +0200

    Added configuration in modules

commit 1bd1adea4682538e1546c2ae53f4c9340dafb3bb
Merge: 83418a9 6702248
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 10:09:29 2017 +0200

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk3

commit 83418a91320c8bfc54465ca02efdce0d2c874a0e
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 10:08:35 2017 +0200

    javadoc

commit 62918fd39189fed3414fec4a7c8380c21e90a4b8
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Jun 10 00:04:06 2017 +0200

    Improved EatWhatYouKill implementation

    Simplified by abstracting out PreallocatedExecutor
    Removed invocation execution
    HTTP2 now uses a shared PreallocationExcecutor between connection
2017-08-08 09:13:44 -07:00
Greg Wilkins
c9a1395f08 Issue Async dispatch encoded passed URI 2017-08-08 09:13:43 -07:00
Jan Bartel
b2187b3b1c Issue 2017-08-08 09:12:53 -07:00
Greg Wilkins
e7ef74dd4f removed deprecated test method usage 2017-08-08 09:10:25 -07:00
Greg Wilkins
189cc4e369 Issue Configure PKIX Revocation Checker for SslContextFactory 2017-08-08 09:10:14 -07:00
Simone Bordet
a2b78f1be2 Fixes - Improve HttpInput failure logging. 2017-08-01 14:21:49 +02:00
Joakim Erdfelt
16d14f90bb Adding test for bad URI query parsing during request.getParameterMap() 2017-07-07 16:28:56 -07:00
Greg Wilkins
070a58ff59 Issue ServerConnector configured with channel
converted setter to open method
added test harness
2017-07-03 17:48:07 +02:00
Greg Wilkins
fd44bbabde Issue added setter for accept channel 2017-07-03 15:34:23 +02:00
Greg Wilkins
6c0100181e Issue added openAcceptChannel 2017-07-03 14:51:45 +02:00
Christoph Dreis
e9f398cf41 Deprecate ConcurrentHashSet ()
Signed-off-by: dreis2211 <christoph.dreis@freenet.de>
2017-05-30 21:46:11 +02:00
WalkerWatch
82c909acdc Documentation updates 2017-05-18 12:12:32 -04:00
Greg Wilkins
971bdac6b0 Issue Ignore $names in Cookies in RFC6265 compliance mode 2017-05-18 07:47:33 +02:00
Simone Bordet
5adeee1d2b Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-05-17 10:11:57 +02:00
Simone Bordet
da05582b9a Marking the parser at EOF in case of exceptions. 2017-05-17 10:11:10 +02:00
Greg Wilkins
155e3e9bcd Issue - more cookie fixes 2017-05-16 06:05:55 +02:00
Greg Wilkins
5141085fed Issue - more cookie fixes 2017-05-15 23:34:28 +02:00
Joakim Erdfelt
fc6ca37c77 Updating expectations in RequestTest from changes in CookieCutter 2017-05-15 13:22:01 -07:00
Greg Wilkins
166736db55 Issue - more cookie leniency fixes 2017-05-15 21:01:15 +02:00
Joakim Erdfelt
c5a0c5e761 Issue - more leniency testcase
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2017-05-15 11:04:09 -07:00
Greg Wilkins
04fe477e79 Issue Fixed cookie tests 2017-05-13 16:21:06 +02:00
Greg Wilkins
bdeea10a6f Issue Fixed some tests. @Ignored for now 2017-05-13 09:12:11 +02:00
Joakim Erdfelt
dea2c340a4 Issue - Adding tests for CookieCutter
+ CookieCutterTest adds basic examples from RFCs
+ CookieCutter_LenientTest adds many examples of problematic
  lenient cookie parsing.
2017-05-12 16:39:33 -07:00
Greg Wilkins
06f721e3c2 Issue quotes in cookies 2017-05-12 10:38:37 +02:00
WalkerWatch
e091701bcd Reviewing modules for 2017-05-09 13:38:14 -04:00