Simone Bordet
12dcfabd4e
Issue #1807 - HttpChannel events.
...
Implemented events for request and response processing.
Introduced HttpChannel.Listener to handle these events.
2017-10-09 18:06:03 +02:00
Simone Bordet
a436b9eb6c
Fixes #1878 - Handle 100 Continue response without Expect header.
...
Fixed - again - accept().
2017-10-09 15:59:41 +02:00
Simone Bordet
6fd3351272
Fixes #1878 - Handle 100 Continue response without Expect header.
...
Fixed accept() to test for the response code being indeed 100.
2017-10-09 13:38:17 +02:00
Simone Bordet
c69c7b29c7
Fixes #1878 - Handle 100 Continue response without Expect header.
2017-10-09 12:08:24 +02:00
Simone Bordet
bc7d53b43f
Fixes #1696 - WriteFlusher debug of onFail does not log stacktraces.
...
Fixed logging of exceptions.
2017-10-06 17:08:30 +02:00
Simone Bordet
c93360ad9c
Issue #1851 - Improve insufficient thread warnings/errors.
...
Added ExecutorSizedThreadPool, a wrapper around JDK's ThreadPoolExecutor
that implements SizedThreadPool (and therefore returns a ThreadPoolBudget).
Deprecated ExecutorThreadPool, an older version of ExecutorSizedThreadPool.
2017-10-06 16:36:46 +02:00
Simone Bordet
da72bff86a
Formatting cleanups and added Javadocs.
2017-10-06 16:36:35 +02:00
Simone Bordet
b38597a5bc
Fixes #1865 - NullPointerException on redirect.
2017-10-06 09:18:28 +02:00
Simone Bordet
b626dbdd16
Fixes #1867 - Verbose exception thrown during successful test.
...
Added guard against self suppression, which otherwise causes
an IllegalStateException.
2017-10-06 09:03:02 +02:00
Simone Bordet
268799b8bc
Fixes #1871 - JMXify SslContextFactory.
...
Fixed toString() formatting.
2017-10-06 00:12:03 +02:00
Simone Bordet
cebe2a7c4e
Fixes #1871 - JMXify SslContextFactory.
2017-10-05 23:02:02 +02:00
Simone Bordet
4389da9196
Issue #272 - WebSocket hangs in blockingWrite.
...
Rewritten FrameFlusher.
2017-10-05 22:20:22 +02:00
Jan Bartel
0282232ca4
Issue #1868
2017-10-05 17:12:21 +11:00
Jan Bartel
09e9cd1bef
Issue #1640
...
Use unique package names for it tests for jenkins tracking.
2017-10-04 13:24:26 +11:00
Joakim Erdfelt
6faaf3346c
Issue #272 - Read/Parse exceptions should flow out, so Session can handle it via new Session.close()
2017-10-03 15:30:32 -07:00
Joakim Erdfelt
c0dfa1dd50
Issue #272 - Attempting to centralize close logic in Session.close()
2017-10-03 15:29:27 -07:00
Joakim Erdfelt
bb5195192a
Issue #272 - Addressing some concerns with multithreading in FrameFlusher
2017-10-03 15:20:16 -07:00
WalkerWatch
49e85101da
Minor link fix
2017-10-03 15:45:08 -04:00
Simone Bordet
e2d7057988
Fixes #1209 - IllegalStateException when HTTP/2 push is disabled.
...
Aligned the behavior with Servlet 4.0, returning null if push is
not supported or disabled by the client.
2017-10-03 18:53:00 +02:00
Simone Bordet
8d0af35a5f
Issue #1857 - GZIPContentTransformer fails to send entire message if used with BufferedContentTransformer.
...
Modified the logic to invoke the transformer when there are input bytes
but there are no decoded bytes and it's the last content.
Could not write a test case for this though.
2017-10-03 18:01:30 +02:00
Simone Bordet
a4d7b4c4dc
Removed unnecessary code.
2017-10-03 10:19:06 +02:00
Jan Bartel
d5ff4fa075
Issue #1640
...
Fix integration test for run mojo.
2017-10-03 17:59:03 +11:00
Jan Bartel
7a1d076e64
Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1640
2017-10-03 14:25:38 +11:00
Jan Bartel
b451ee7a63
Issue #1640
...
Update javadoc.
2017-10-03 14:19:59 +11:00
Jan Bartel
8f64ae2a93
Issue #1640
...
Update jetty maven plugin doc.
2017-10-03 12:28:13 +11:00
Jan Bartel
be931ee237
Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1640
2017-10-03 11:40:16 +11:00
Greg Wilkins
1a7ff6854d
Fixed #1856 ResourceService without context
2017-10-03 11:34:00 +11:00
Jan Bartel
7b93c3c1e7
Issue #1863
2017-10-03 10:16:09 +11:00
Simone Bordet
c2bcdd5ed4
Fixes #1509 - Review GZIPContentDecoder buffer pooling.
...
GZIPContentDecoder returns to applications pooled buffers that may
appear as leaked, but they are not.
Fixed the test to avoid failures or exception stack traces.
2017-10-02 17:35:33 +02:00
Simone Bordet
2b43e668a3
Cosmetics.
2017-10-02 17:18:10 +02:00
Simone Bordet
807233771d
Removed unnecessary field _maxSize.
2017-10-02 17:17:50 +02:00
Simone Bordet
3b98a6c000
Issue #1851 - Improve insufficient thread warnings/errors.
...
ThreadBudget -> ThreadPoolBudget.
Added selectors to the leased threads.
2017-10-02 13:40:31 +02:00
Simone Bordet
a811785d64
Reverting Maven Surefire Plugin to 2.20.
...
Version 2.20.1 suffers from https://issues.apache.org/jira/browse/SUREFIRE-1424 ,
which breaks the Infinispan tests.
2017-10-02 13:16:44 +02:00
Simone Bordet
17a1484143
Code cleanups.
...
Removed unnecessary imports and fixed typos.
2017-10-02 11:43:45 +02:00
Simone Bordet
4526006bde
Reduced logging.
...
The ALPN callback may not be invoked in case the client does
not support ALPN, so the server will use the default protocol.
2017-09-30 22:49:38 +02:00
Simone Bordet
a6e28b5ce0
Issue #1859 - Jetty http2 client idle_timeout when trying to get the session after connected to Jetty HTTP2 server.
...
Implemented an integration test case that shows
HTTP2Client usage from within a web application.
2017-09-30 22:49:38 +02:00
Simone Bordet
3eaba140ef
Fixed logging.
2017-09-30 22:49:38 +02:00
Simone Bordet
b3ddf2b15e
Issue #487 - JDK 9 build compatibility.
...
Updated Maven Surefire and Failsafe Plugin to 2.20.1
following https://issues.apache.org/jira/browse/SUREFIRE-1403 .
2017-09-30 22:49:38 +02:00
WalkerWatch
d5b55705bf
Added javadoc.version value to assis with snapshot javadoc links in #1858
2017-09-29 14:43:29 -04:00
Greg Wilkins
d166881a5a
Issue #1806 Concurrent ReservedThreadExcecutor
...
Squashed commit of the following:
commit ab7f711c30ad1408ecdceffdca51cf167dc11a9c
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 28 10:20:08 2017 +1000
Fixed format
commit 062b051b56efb9924b81cf755297f538e4691851
Merge: d1e27d4 7d98cbb
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 28 09:19:40 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1806-ConcurrentReservedThreadExecutor
commit d1e27d42983487941c6dd7cb0ea1068f36ff92f0
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 26 11:28:21 2017 +1000
improvements after review
commit 477e3ac05610825cc834d3195e39e8e8620a44cb
Merge: 51a3ac3 35d0b59
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 26 10:10:30 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1806-ConcurrentReservedThreadExecutor
commit 51a3ac37e63108ca93fe2fdd9e02e7f8161072ba
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 26 10:08:55 2017 +1000
improvements after review
commit 23df855bf457fe609576a35327db3fbd4c82b491
Merge: b52c6de 5764afc
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 26 09:30:42 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1806-ConcurrentReservedThreadExecutor
commit b52c6de6573433a960fdb6f2692e7bbd9effb48c
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Sep 22 15:36:53 2017 +1000
Issue #1806
Added a concurrent stack class
Converted ReservedThreadExcecutor to use the concurrent stack
Added support for idle
2017-09-28 12:44:23 +10:00
Greg Wilkins
7d98cbb870
Issue #1851 Improve insufficient thread warnings/errors
...
Squashed commit of the following:
commit 1d9e8e4b4d53898cb6435f67529347bd2ba82cf0
Merge: 7280594 55b0f10
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 28 07:20:37 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1851-ThreadBudget
commit 7280594a0058538b603ad35625713a79830e9b93
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 27 22:48:58 2017 +1000
fixed headers
commit f962f18e5b098ae40846ee3832736ee4650aed84
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 27 18:12:33 2017 +1000
Issue #1851 added reset
commit a63894de284c8d8dc5ed031f1f6e0fccaf6c7715
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 27 18:08:53 2017 +1000
Issue #1851 improved test
commit 8bcc460dc63273165305a7adcb88e991e30de4b7
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 27 18:03:47 2017 +1000
Issue #1851 Improve insufficient thread warnings/errors
Refactor approach to use Leases, to handle multiple executors
commit fe4be5f56594f342ab5c2e6c886397d9b4fe9c14
Merge: abc5eac a248d38
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 27 15:37:56 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1851-ThreadBudget
commit abc5eac2b73d306a91b28ef4db778455095a5bdb
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 27 12:20:03 2017 +1000
Issue #1851 Improve insufficient thread warnings/errors
Created a ThreadBudget class that can be used to warn/error for
registered and unregistered allocations of threads.
The server on doStart does an unregistered check of all its components that
implement the Allocation interface.
The client will register itself as an Allocation if a shared Executor is used.
2017-09-28 07:35:05 +10:00
WalkerWatch
55b0f102b0
Adding authorization examples for #1850 .
2017-09-27 14:37:39 -04:00
Jan Bartel
29ee1c26d3
Issue #1640
...
Doco.
2017-09-27 16:29:08 +10:00
Jan Bartel
ee4fd24cb1
Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1640
2017-09-27 15:44:55 +10:00
Greg Wilkins
a248d38f56
Issue #1854 consistent exception handling for Request parameters
2017-09-27 15:36:53 +10:00
Jan Bartel
49b2823ee9
Merge pull request #1824 from jglick/WebAppClassLoader.addJars-ordering
...
Ensure that WebAppClassLoader.addJars considers classpath entries in a deterministic order
2017-09-27 11:12:39 +10:00
Greg Wilkins
ab85e010b6
Fixed #1849 sizing selectors
2017-09-27 09:02:59 +10:00
Greg Wilkins
e58a7b488e
Issue #1832 work around
2017-09-26 17:04:42 +10:00
Greg Wilkins
c2b7177628
temporary fix for unit test
2017-09-26 16:41:41 +10:00
Greg Wilkins
a7891b2f52
Issue #1841 reduce ServletHolder contention
2017-09-26 16:40:49 +10:00