Lachlan Roberts
0f3f77761f
Issue #2706 - Resource Service Incorrectly Returning 404
...
Replaced the response.isCommitted() check with a boolean returned from _resourceService.doGet().
This means the response does not need to be committed for the check to work correctly.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-07-20 11:01:56 +10:00
Lachlan Roberts
648554ad5c
Issue #2706 - Resource Service Incorrectly Returning 404
...
Removed response.flushBuffer() after writing to fix DefaultServletTest.testFiltered()
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-07-19 12:46:18 +10:00
Simone Bordet
eceaff7bed
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2018-07-18 16:21:00 +02:00
Simone Bordet
37e4da24cb
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2018-07-18 16:15:27 +02:00
Greg Wilkins
17b6eee5ac
Jetty 9.4.x 2233 ssl flush try again 2 ( #2726 )
...
Major refactor of SslConnection to address #2233 and to simplify in preparation for java-11 support.
Made the `needFillInterest` and `onIncompleteFlush` methods the primary stateful methods with state for fill and flush side that does not reproduce state already held by the SslEngine itself.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-07-18 10:11:35 +02:00
Lachlan Roberts
6de77d26e2
Issue #2706 - Resource Service Incorrectly Returning 404
...
Flush response buffer in places where the response needs to be committed.
Removed if statement preventing HEAD requests processing conditional headers.
Added two new test cases which failed before the changes and should now pass.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-07-18 11:27:19 +10:00
Simone Bordet
cc1071fa05
Fixes #2717 - Async requests are not considered when shutting down gracefully.
...
Now using _requestStats instead of _dispatchedStats to check for
requests completed when shutting down StatisticsHandler.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-07-16 10:54:43 +02:00
Joakim Erdfelt
0b69f00665
Updating to version 9.4.12-SNAPSHOT
2018-07-11 17:32:16 -05:00
Joakim Erdfelt
260596dd10
Updating to version 9.4.12.RC0
2018-07-11 16:30:55 -05:00
lachan-roberts
e05c11ae30
Changing default Http headerCacheSize from 512 to 4096
...
Signed-off-by: lachan-roberts <lachlan@webtide.com>
2018-07-10 10:39:45 +10:00
Venkata Jaswanth
9d9189d476
check for session id in path if url tracking mode is enabled ( #2668 )
...
Signed-off-by: Venkata Jaswanth U <aj.jaswanth@gmail.com>
2018-07-04 10:37:08 +02:00
Greg Wilkins
93a8afcc6b
Fixed #2677 use decoded path for favicon.ico
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-06-21 11:55:16 +02:00
Greg Wilkins
4f54447585
Jetty 9.4.x 2501 accept listener ( #2511 )
...
* Issue #2501 - Accept Listener
* Issue #2501 - Include accepting connections in connection limit.
* AcceptRateLimit minimal delay
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-06-19 09:03:54 +02:00
Matthias Perktold
09f614b48e
Eliminated redundant invocations of HandlerCollection.getHandlers()
...
Signed-off-by: Matthias Perktold <tias251@gmail.com>
2018-06-18 19:19:07 +02:00
Simone Bordet
253c637742
Fixes #2663 - Guard Throwable.addSuppressed() calls. ( #2665 )
...
* Fixes #2663 - Guard Throwable.addSuppressed() calls.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-06-14 15:21:44 +02:00
Joakim Erdfelt
1adbceae97
Merge pull request #2652 from lachlan-roberts/jetty-9.4.x-2398-MultiPartFormInputStream-Charset-Documentation
...
Issue #2398 - MultiPart Charset Encoding
2018-06-13 16:57:28 -05:00
Greg Wilkins
346879f2a5
Merge pull request #2664 from mperktold/jetty-9.4.x
...
Issue #2662 Unnecessary boxing conversions
2018-06-13 22:52:27 +02:00
Matthias Perktold
f901efc413
Issue #2662 - Unnecessary boxing conversions
...
Signed-off-by: Matthias Perktold <tias251@gmail.com>
2018-06-13 16:20:12 +02:00
Lachlan Roberts
34351c7854
Issue #2398 - MultiPart Charset Encoding
...
Improved comment describing charset behaviour for MultiPart
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-06-12 17:31:04 +10:00
Simone Bordet
4f1dd352d6
Issue #2468 - Remove SoLinger. ( #2644 )
...
* Issue #2468 - Remove SoLinger.
For non-blocking sockets, StandardSocketOptions#SO_LINGER javadocs
report that the behavior is undefined. In JDK 11 setting SoLinger
for non-blocking sockets will be ignored.
As such, there is no point in allowing SoLinger to be configured
in Jetty that only uses non-blocking sockets.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-06-09 13:21:24 +02:00
Joakim Erdfelt
3932b11e64
Merge remote-tracking branch 'origin/release-9.4.11' into jetty-9.4.x
2018-06-07 14:31:24 -05:00
Joakim Erdfelt
0e6c91b604
Updating to version 9.2.26-SNAPSHOT
2018-06-06 18:54:58 -05:00
Joakim Erdfelt
4830fd15e9
Updating to version 9.2.25.v20180606
2018-06-06 16:42:54 -05:00
Joakim Erdfelt
f54629a3c4
Merge pull request #2629 from eclipse/jetty-9.2.x-issue-2135-android-direct-buffers
...
Issue #2135 - proposal for Android 8.1 with SSL and direct buffers
2018-06-06 16:27:43 -05:00
Joakim Erdfelt
2d5ef67d3f
Issue #2135 - TLS on Android 8.1 workaround configuration for Direct ByteBuffer use
...
+ Changes from review with @sbordet
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-06-06 10:55:28 -05:00
Joakim Erdfelt
ea116028d4
Issue #2135 - TLS on Android 8.1 workaround configuration for Direct ByteBuffer use
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-06-06 10:44:53 -05:00
Simone Bordet
fddfa40e3d
Issue #2626 - Test failure: ShutdownMonitorTest.testStartStopSamePortDifferentKey.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-06-06 09:53:46 +02:00
Greg Wilkins
1f1a5cb064
Merge pull request #2610 from lachlan-roberts/jetty-9.4.x-issue-2592-ServerTimeoutTest-testAsyncWriteIdleTimeoutFires
...
Issue #2592 - fix for ServerTimeoutTest.testAsyncWriteIdleTimeoutFires [HTTP] on windows
2018-06-06 08:24:07 +02:00
Lachlan Roberts
29c9afe135
Issue #2592 - Failing test on Windows: ServerTimeoutsTest.testAsyncWriteIdleTimeoutFires[transport: HTTP]
...
removed HttpOutput.close(Closeable) method as IO.close(Closeable) should be used instead
added isFailed() method to WriteFlusher and used it to fix WriteFlusherTest.testFailWhileBlocking()
surrounded usage of onError() in HttpOutput.run() with try-finally so that IO.close(this) is executed if onError throws
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-06-06 15:35:54 +10:00
Joakim Erdfelt
e4bfe00dce
Updating to version 9.4.12-SNAPSHOT
2018-06-05 14:18:37 -05:00
Joakim Erdfelt
d5fc0523cf
Updating to version 9.4.11.v20180605
2018-06-05 13:23:02 -05:00
Joakim Erdfelt
5eefa90e05
Updating to version 9.3.25-SNAPSHOT
2018-06-05 13:13:07 -05:00
Joakim Erdfelt
84205aa28f
Updating to version 9.3.24.v20180605
2018-06-05 12:11:03 -05:00
Joakim Erdfelt
f0ff571c98
Reverting version to 9.3.24-SNAPSHOT
2018-06-05 12:06:58 -05:00
Joakim Erdfelt
13640c297c
Bumping version to 9.3.25-SNAPSHOT
2018-06-05 11:58:37 -05:00
Lachlan Roberts
72dcfc15e5
Issue #2592 - Failing test on Windows: ServerTimeoutsTest.testAsyncWriteIdleTimeoutFires[transport: HTTP]
...
changed write flusher to go from pending state to failed state
reverted previous HttpOutput changes
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-06-05 19:21:30 +10:00
Simone Bordet
9524156d8a
Issue #2602 - Failing test: ServerConnectorTimeoutTest.
...
Removed duplicate test.
Removed lines that were testing unreliable TCP behavior.
Fixed retrieval of EndPoint in case of SSL.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-06-01 18:13:25 +02:00
Simone Bordet
946e6682b7
Merged 'origin/jetty-9.4.x' into 'jetty-9.4.x'.
2018-06-01 16:43:24 +02:00
Simone Bordet
5baabd0ba8
Fixes #2237 - Test failure: SelectChannelServerSslTest.testFullURI.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-06-01 16:35:23 +02:00
Simone Bordet
af739ce85e
Issue #2237 - Test failure: SelectChannelServerSslTest.testFullURI.
...
Cleanup of test classes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-06-01 16:34:29 +02:00
Greg Wilkins
c3670d5870
Issue #2237 reduce large URI to avoid split write
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-06-01 16:30:07 +02:00
Joakim Erdfelt
53e8bc2a63
Backport of issue #2560 fixes to jetty-9.3.x
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-31 12:43:17 -05:00
Joakim Erdfelt
ad4dceb1c0
Issue #2560 - Moving InvalidPath logic from PathResource to ResourceContentFactory
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-31 11:31:36 -05:00
Lachlan Roberts
1bf5128e6d
Fixes #2592 - changes to fix ServerTimeoutsTest.testAsyncWriteIdleTimeoutFires[transport: HTTP] on windows
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-05-31 19:44:51 +10:00
Greg Wilkins
2bcc528920
expand spruious tabs in java sources
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-29 10:40:09 +02:00
Lachlan Roberts
d13e79a284
Merge remote-tracking branch 'eclipse/jetty-9.4.x' into jetty-9.4.x-server-stackTraceRemoval
2018-05-26 00:35:02 +10:00
Greg Wilkins
e6e49bdc85
Updated javadoc for callbacks
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-25 08:01:31 +02:00
Lachlan Roberts
c829ee3210
Issue #2424 - ReadPendingException in testHttpWriteIdleTimeout()
...
Replacing setBlockingTimeout with setIdleTimeout to fix the ReadPendingException on ServerConnectorTimeoutTest.testHttpWriteIdleTimeout().
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-05-23 07:41:20 +10:00
Lachlan Roberts
0664893022
Issue #2542 - Log exception stackTraces instead of printing
...
replaces some usages of printStackTrace with logging in ConnectorTimeoutTest to avoid printing out the stack trace on passing tests
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-05-23 07:39:23 +10:00
Simone Bordet
462679910f
Fixes #2544 - Test Failure: LowResourcesMonitorTest.testMaxLowResourceTime().
...
Rewrote the test to not write to the server,
thus avoiding connection resets.
The rewrite also clarified what the test was testing.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-05-22 12:55:03 +02:00
Simone Bordet
6b7f4c91db
Merge pull request #2552 from eclipse/jetty-9.4.x-2549-ConsumeAll
...
Issue #2549 ConsumeAll forced EOF or EarlyEOF
2018-05-18 09:18:57 +02:00
Greg Wilkins
c69ab6bd56
Issue #2549 ConsumeAll forced EOF or EarlyEOF
...
Cleanup after review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-18 16:39:44 +10:00
Greg Wilkins
252ab9facf
Jetty 9.4.x 2550 coalesce ranges ( #2551 )
...
Issue #2550 coalesce ranges
Author: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-18 08:45:54 +10:00
Greg Wilkins
b93cc5abb6
Issue #2549 ConsumeAll forced EOF or EarlyEOF
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-17 13:05:13 +10:00
Greg Wilkins
aa97518d0b
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2018-05-17 08:27:45 +10:00
Greg Wilkins
be8ff431a4
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-17 08:16:39 +10:00
Greg Wilkins
a285deea42
Issue #2529 RFC2616 vs RFC7230 cleanup
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-17 08:00:53 +10:00
Simone Bordet
01f7aecc4e
Fixes #2546 - Incorrect parsing of PROXY protocol v2.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-05-16 21:33:22 +02:00
Greg Wilkins
4cc8f4dcf6
Issue #2346 Revert stack logging
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-16 17:21:06 +10:00
Greg Wilkins
820b5752d7
Issue #2525 fixed jetty.xml
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-16 14:32:41 +10:00
Greg Wilkins
10eaa6e261
javadoc
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-14 21:33:41 +10:00
Simone Bordet
317a8a5c66
Issue #2525 - Clean up SharedBlockingCallback.
...
Small cleanups and added test for thread interruption.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-05-14 10:27:34 +02:00
Greg Wilkins
625d1f7726
Issue #2525 Clean up SharedBlockingCallback
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-13 23:11:38 +10:00
Steve Bolton
7e0afae70b
Issue #1785 Fix Javadoc and vhost warn logic
...
Signed-off-by: Steve Bolton <steve@boltn.com>
2018-05-04 02:01:04 -04:00
Greg Wilkins
03d96ae538
Issue #1785 minor cleanups
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-04 10:20:15 +10:00
Steve Bolton
ad21d35d51
Issue #1785 Pre-process vhost entries and provide warning
...
Signed-off-by: Steve Bolton <steve@boltn.com>
2018-05-03 16:48:18 -04:00
Steve Bolton
c73352b1f0
Merge branch 'jetty-9.4.x' of https://github.com/eclipse/jetty.project into jetty-9.4.x
2018-05-03 12:52:50 -04:00
Joakim Erdfelt
1732ffca51
Updating to version 9.4.11-SNAPSHOT
2018-05-03 11:48:05 -05:00
Joakim Erdfelt
daa59876e6
Updating to version 9.4.10.v20180503
2018-05-03 10:55:19 -05:00
Jan Bartel
5515e13649
Issue #2427 Stop and start session idle timer ( #2466 )
...
* Issue #2427 Stop and start session idle timer
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-05-03 08:05:26 +10:00
Jan Bartel
394c6313b3
Issue #2495 Make FileSessionDataStore private methods protected
2018-05-01 09:26:51 +10:00
Simone Bordet
d25fa7d20c
Code cleanup.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-27 10:12:19 +02:00
BenBE
f7faf392b2
Fix operator priority in ProxyConnectionFactory
...
Due to shift operations taking less precedence over addition the expression was parsed in an unintended way.
With this change the intention is made more clear and the intended order of calculations (shift the single byte values into some variable) is actually implemented.
Signed-off-by: Benny Baumann <BenBE@geshi.org>
2018-04-26 16:15:35 +02:00
Olivier Lamy
f36eba4577
class.newInstance is deprecated #2435 ( #2437 )
...
* Class.newInstance() is deprecated in Java 9+ #2435
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-17 19:07:20 +10:00
Simone Bordet
7629a8f98f
Fixes #2425 - Review BufferUtil.isMappedBuffer(). ( #2432 )
...
Now explicitly using a _mappedBuffer field in
CachedContentFactory.CachedHttpContent.
Deprecated BufferUtil.isMappedBuffer().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-12 10:36:57 +02:00
Simone Bordet
b09760ca9a
Code cleanups.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-11 15:05:58 +02:00
Steve Bolton
6abf026440
Issue #1785 If only connector in vhost and not connector in request then fail to match
...
Signed-off-by: Steve Bolton <steve@boltn.com>
2018-04-07 17:25:40 -04:00
Steve Bolton
c79b0f4e2a
Issue #1785 Update Javadoc
...
Signed-off-by: Steve Bolton <steve@boltn.com>
2018-04-07 14:51:28 -04:00
Steve Bolton
a30ed56ac1
Issue #1785 Added vhost@connectorname format for AND behaviour
...
Signed-off-by: Steve Bolton <steve@boltn.com>
2018-04-07 13:56:45 -04:00
Lachlan Roberts
92f44389b9
fixed value of public static String __MULTIPARTS
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-04 12:00:11 +10:00
Lachlan Roberts
4a0e4294b9
fixed path of MultiPartFormDataCompliance in jetty.xml
...
added some debug info
changes to jetty test webapp to display parts from multi-part forms
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-04 11:18:57 +10:00
Greg Wilkins
9397ae2d77
revert ResourceHandlerTest changes
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-04 09:10:57 +10:00
Lachlan Roberts
81ff77108c
Moved the MultiParts interface and implementations from Request into new file MultiParts.java
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-03 23:55:08 +10:00
Lachlan Roberts
1eec234336
Minor changes after review by gregw.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-03 21:22:16 +10:00
Lachlan Roberts
b3d5333d42
Implemented switch between LEGACY and RFC7578 modes. Added tests to check this worked correctly.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-03 16:13:19 +10:00
Lachlan Roberts
95cd6e0614
Merge remote-tracking branch 'eclipse/jetty-9.4.x-1027-Multipart' into jetty-9.4.x-1027-Multipart
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-03 15:33:56 +10:00
Lachlan Roberts
13b15e3566
Resolved Charset Issues and Reworked Request.MultiPartInputStream
...
Changed Request.MultiPartInputStream to an interface called MultiParts where there is an implementation for both the HTTP and UTIL parsers.
Resolved some issues with default charsets in regards to request.setCharacterEncoding and the _charset_ part for issue #2398 .
Changed HTTP parser to operate the same as UTIL parser in situtions with parts not of type form-data or without name field. HTTP parser was ignoring these parts, UTIL parser was throwing exceptions.
Replaced the context attribute with a field in MultiParts.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-03 15:24:54 +10:00
Greg Wilkins
48edc7305b
Merge remote-tracking branch 'lachlan/jetty-9.4.x-1027-Multipart' into jetty-9.4.x-1027-Multipart
2018-04-03 14:12:19 +10:00
Lachlan Roberts
be2d6ebb29
Merge remote-tracking branch 'eclipse/jetty-9.4.x' into jetty-9.4.x-1027-Multipart
2018-04-03 12:36:54 +10:00
Greg Wilkins
87498220bc
Added a multipart form-data compliance configuration
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-03 10:49:03 +10:00
Lachlan Roberts
b196596055
Replaced usages of MultiPartInputStreamParser to Request.MultiPartInputStream which provides runtime switching between old and new parser.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-30 19:16:59 +11:00
Lachlan Roberts
c418297db6
Minor cleanups
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-29 18:04:42 +11:00
Simone Bordet
d68c286499
Fixes #2145 - Enabled h2, http/1.1 + https failed with invalid preface.
...
Now using HttpVersion.HTTP_1_1::is, which is case insensitive,
to find the default protocol among the negotiated protocols.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-03-28 19:55:58 +02:00
Joakim Erdfelt
464b74ed60
Merge pull request #2385 from eclipse/jetty-9.4.x-issue-987-gzipcheck-disable
...
Issue #987 - move checkGzExists default to false
2018-03-28 07:13:41 -05:00
Jan Bartel
b4e400f236
Jetty 9.4.x 2231 refactor session tests ( #2382 )
...
* Issue #2231 WIP
* Issue #2231 Add tests for FileSessionDataStore and MongoSessionDataStore.
* Issue #2231 create unit tests for every SessionDataStore
Signed-off-by: Jan Bartel <janb@webtide.com>
* Issue #2231 Refactor session tests
Signed-off-by: Jan Bartel <janb@webtide.com>
* Issue #2231 Refactor and cleanup session tests.
Signed-off-by: Jan Bartel <janb@webtide.com>
* hazelcast tests faster
Signed-off-by: olivier lamy <olamy@webtide.com>
* make hazelcasts tests even faster
Signed-off-by: olivier lamy <olamy@webtide.com>
* cleanup comments
Signed-off-by: olivier lamy <olamy@webtide.com>
* run mongodb test in embdedded mode
Signed-off-by: olivier lamy <olamy@webtide.com>
* mongodb embedded test enabled per default
Signed-off-by: olivier lamy <olamy@webtide.com>
* Issue #2231 more session tests
Signed-off-by: Jan Bartel <janb@webtide.com>
* fix mongodb embedded tests
Signed-off-by: olivier lamy <olamy@webtide.com>
* cleanup code
Signed-off-by: olivier lamy <olamy@webtide.com>
* use Logger rather than System.err.println
Signed-off-by: olivier lamy <olamy@webtide.com>
* Issue #2231 Add test for DefaultSessionCache
Signed-off-by: Jan Bartel <janb@webtide.com>
* Issue #2231 Redisable mongo tests by default.
Signed-off-by: Jan Bartel <janb@webtide.com>
* fix issue with empty local repo build
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* jenkins should run mongodb tests
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* build this plugin last so we should not hit the maven invoker plugin
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* build test first for this one
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* use invoker plugin 3.0.2-SNAPSHOT as there is a fix for https://issues.apache.org/jira/browse/MINVOKER-191
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* temporary use of apache snapshots repository because of maven-invoker-plugin 3.0.2-SNAPSHOT
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-03-28 20:14:15 +10:00
Joakim Erdfelt
23788dba65
Issue #987 - move checkGzExists default to false
...
+ Flag existing methods / fields as deprecated
+ Indicate removal in Jetty 10.x
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-03-27 12:37:12 -05:00
Greg Wilkins
2cc26f0e71
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1027-Multipart
2018-03-23 09:34:52 +11:00
Joakim Erdfelt
c0dcf9a0a2
Issue #1027 - multipart testing examples
...
Adding raw/binary gitattributes
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-03-21 18:07:30 -05:00
Joakim Erdfelt
c3cc138a3b
Updating to version 9.4.10-SNAPSHOT
2018-03-20 08:25:59 -05:00
Joakim Erdfelt
1f8159b1e4
Updating to version 9.4.9.v20180320
2018-03-20 07:18:24 -05:00
Joakim Erdfelt
44d718417a
Fixing #2346 - missing exception stacktrace
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-03-16 15:27:37 -05:00
Joakim Erdfelt
e7b411b90d
Fixing #361 - javadoc update/cleanup for GzipHandler
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-03-16 14:55:03 -05:00
WalkerWatch
534b8ea38b
Add edit warning for .mod files. Resolves #173
2018-03-15 13:23:42 -04:00
Greg Wilkins
1da19dc2fd
[WIP!] HTTP Close #1832 ( #2338 )
...
* Only close if parser closed and output is shutdown
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* a better possible fix
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* after review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-15 23:12:58 +11:00
Greg Wilkins
4ce7e9591b
Safer simpler version parsing #2284
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-15 22:49:20 +11:00
Greg Wilkins
ed907f8ed9
more generous test times
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-14 16:05:16 +11:00
Joakim Erdfelt
f34f23f20f
Merge pull request #2320 from eclipse/jetty-9.4.x-issue-2307-null-charencoding
...
Issue #2307 - On sendError() the response character encoding is null
2018-03-13 18:56:18 -05:00
Greg Wilkins
a634b571b3
Improved include handling of trailing / #2275
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-14 08:42:21 +11:00
Simone Bordet
9338aa171d
Merge pull request #2321 from eclipse/jetty-9.4.x-2318-bad_message_handling
...
Fixes #2318 - HttpParser.Listener.onBadMessage() should take BadMessageException
2018-03-13 09:36:36 +01:00
Greg Wilkins
a933456089
update etags for all methods #1416
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-13 14:07:37 +11:00
Joakim Erdfelt
dcfa6f0f38
Issue #2307 - applying changes from review
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-03-12 17:34:12 -05:00
Joakim Erdfelt
d3120ee212
Issue #2307 - On sendError() the response character encoding is null
...
+ Added testcase to replicate
+ Making character encoding from unset during sendError
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-03-12 14:29:36 -05:00
Simone Bordet
8b391a88dd
Fixes #2318 - HttpParser.Listener.onBadMessage() should take BadMessageException.
...
Changed the signature of HttpParser.Listener.onBadMessage()
to take a BadMessageException and updated dependent code.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-03-12 19:51:57 +01:00
Greg Wilkins
cf0b6140fe
Merge pull request #2299 from olamy/feature/available_processors
...
#2298 Override the processor number with an environment variable
2018-03-08 08:36:52 +11:00
Simone Bordet
a3100e0211
Issue #2288 - Cleanup the statistics classes. ( #2290 )
...
* Issue #2288 - Cleanup the statistics classes.
Cleaned up code, added Javadocs.
Renamed SampleStatistics.set(long) to record(long).
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* toString stddev
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-08 08:35:21 +11:00
olivier lamy
7004aaa538
#2298 Override the processor number with an environment variable
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-03-07 21:02:26 +10:00
Greg Wilkins
8607387499
better debug from test
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-07 17:15:05 +11:00
Greg Wilkins
bcb9fa3b32
Merge pull request #2257 from lachlan-roberts/jetty-9.4.x-2206-ReferenceEquality
...
Resolved errorprone ReferenceEquality warnings #2206
2018-03-07 11:11:40 +11:00
Greg Wilkins
87bd4e8730
more robust accept spin test
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-06 15:39:19 +11:00
Greg Wilkins
e99f28bc17
more robust test by avoiding SSL close race
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-06 14:29:53 +11:00
Lachlan Roberts
020ebde77c
found additional ReferenceEquality warnings which have been resolved
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-06 14:28:11 +11:00
Lachlan Roberts
a639ee9275
Resolved errorprone MissingOverride warnings #2206
...
`@Override` was added to methods which were missing the annotation #2206
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-01 13:59:25 +11:00
Joakim Erdfelt
a05b157c03
Updating to version 9.3.24-SNAPSHOT
2018-02-28 16:39:30 -06:00
Joakim Erdfelt
0554f8d8b4
Updating to version 9.3.23.v20180228
2018-02-28 15:45:57 -06:00
Lachlan Roberts
016c8076e0
updates after review #2206
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-28 16:02:47 +11:00
Lachlan Roberts
0cfc25d4ed
Resolved errorprone ReferenceEquality warnings #2206
...
Objects which inherit or implement an `equals()` method should not be compared with == or !=
When the comparison of references is intentional `@SuppressWarnings("ReferenceEquality")` can be used
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-28 14:26:02 +11:00
Greg Wilkins
5aaf8b4a5e
Ignore SSLException wrapping SocketException #2244
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-26 17:45:25 +11:00
Jesse McConnell
d179bcf7ac
Resolves #2241 clean up javadoc warnings
2018-02-23 14:09:33 -06:00
Greg Wilkins
f8a3ffea48
improved tests #2229
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-23 15:15:34 +11:00
Greg Wilkins
8bd27cd18a
improved or ignored tests #2230
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-23 14:52:37 +11:00
Joakim Erdfelt
cc4e85a525
Issue #2230 - improving failure message
2018-02-22 17:09:47 -06:00
Joakim Erdfelt
e27001b580
Fixing #2223 - test issue on Windows
2018-02-22 16:59:46 -06:00
Simone Bordet
8674b05134
Improved toString() adding the age of the request in ms.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-22 15:25:32 +01:00
Greg Wilkins
d39663f1db
improve fragile tests
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-22 17:03:59 +11:00
Greg Wilkins
ec51926622
reduce fragility of tests
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-19 19:22:32 +11:00
Greg Wilkins
4147e3734e
fix error found by Bazel build
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-02-17 18:35:07 +11:00
Greg Wilkins
ab5fc29cca
Jetty 9.4.x 1803 proposal 0 - single ReservedThreadExecutor ( #2119 )
...
Issue #1803 - Review usage of scheduling strategies
Use a single ReservedThreadExecutor built into the QueuedThreadPool
via new interface TryExecutor.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-08 11:08:48 +01:00
Joakim Erdfelt
3001c8af2f
Merge remote-tracking branch 'origin/release-9.2.24' into jetty-9.2.x
2018-02-07 15:35:04 -06:00
Greg Wilkins
8c6883a109
added margin on flaky test
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-30 19:31:48 +01:00
Chris Walker
0345820526
Issue #2130 Creates threadpool module. ( #2132 )
...
* Creates threadpool module. Resolves #2130
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
* Fixed formatting
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
* Made requested changes.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
* Additional PR changes.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
* Udated jetty-threadpool.xml
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2018-01-22 13:39:59 -05:00
Greg Wilkins
c66e3eb606
Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes
2018-01-11 10:31:30 +01:00
Greg Wilkins
385ba7d70d
Remove graceful handling from ManagedSelector stop #2046
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-11 10:29:27 +01:00
Greg Wilkins
8b7480f088
Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes
2018-01-10 22:25:49 +01:00
Jan Bartel
a0b8321ef4
Jetty 9.4.x 2038 slow filesessiondatastore ( #2102 )
...
* Issue #2038 Speed up FileSessionDataStore
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-01-10 16:40:53 +01:00
Greg Wilkins
356bf2e06f
Issue #2046 - Graceful stop of connections ( #2100 )
...
* Clean up of actions (now updates) prior to #2046 fix
* prevent exceptions from termincating lifecycle doStop or destroy
* Refactored ManagedSelector stop to always close endpoints
* Fixed NPE if SelectorManager is already stopped
* refactored after review
* further simplifications after review
* Wait only for oshut endpoints
* Cleanup from review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-09 20:36:41 +01:00
Joakim Erdfelt
21365234f8
Issue #2108 - Updating license headers for year 2018
2018-01-09 09:44:41 -06:00
Joakim Erdfelt
41ed9f29f4
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2018-01-09 09:37:25 -06:00
Joakim Erdfelt
fa4c7b0ca9
Issue #2108 - Updating license headers for year 2018
2018-01-09 08:39:37 -06:00
Joakim Erdfelt
067fc5d2d8
Issue #2108 - Upgrade licenses for 2018
2018-01-09 07:42:06 -06:00
Greg Wilkins
54f49dec7d
Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes
2018-01-09 13:32:19 +01:00
Greg Wilkins
88cf4603c5
Merge branch 'jetty-9.4.x' into bugfix/javadoc_fixes_2056
2018-01-08 21:31:48 +01:00
olivier lamy
2a89f23a46
javadoc fixes #2056 greg review
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-01-08 11:22:20 +11:00
Joakim Erdfelt
bd01e1877a
Updating to version 9.2.25-SNAPSHOT
2018-01-05 11:35:42 -06:00
Joakim Erdfelt
a617842695
Updating to version 9.2.24.v20180105
2018-01-05 10:11:08 -06:00
Greg Wilkins
41050cd8a4
Issue #2081 No idle timeout exception when dispatch is delayed ( #2083 )
...
Issue #2081 No idle timeout exception when dispatch is delayed
* Delegate the readtimeout handling to HttpChannel so that a delayed dispatch can be ended.
* Added unit test for delayed dispatch idle
* Now using HttpInput.onIdleTimeout() to fail the HttpInput, and then dispatching the request in case it has not been dispatched yet. This ensure consistent behavior independently of the value of HttpConfiguration.delayDispatchUntilContent.
* Fixed for both HTTP/1.1 and HTTP/2.
* Added tests for non-blocking reads.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-04 13:26:31 +01:00
Greg Wilkins
595c6ac1ee
Issue #2090 Java Version JEP223. Use shaded util in start.
2018-01-04 13:13:39 +01:00
Greg Wilkins
a107e543e6
Issue #2090 Java Version JEP223
2018-01-04 12:27:15 +01:00
olivier lamy
e07ba49283
more javadoc fixes #2056
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-12-29 11:07:51 +11:00
olivier lamy
942e819a7c
more javadoc fixes #2056
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-12-28 18:49:43 +11:00
Simone Bordet
e86e8a752c
Issue #1973 - Implement minimum response data rate ( #2012 )
...
* Code cleanups.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Improved test case handler.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Improved exception message.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Issue #1973 - Implement minimum response data rate.
Implemented response content data rate control in HttpOutput.
Introduced a WriteFlusher.Listener interface that produces events
for every flush(). These events are forwarded to the Connection
and from there to the HttpOutput so that the data rate control can
be enforced.
Both HTTP/1.1 and HTTP/2 are implemented.
Data rate control for HTTP/1.1 is approximate because it will count
also headers bytes and the chunk bytes, while for HTTP/2 is precise.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Issue #1973 - Implement minimum response data rate.
Addressed review comments.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-12-27 15:07:32 +01:00
Greg Wilkins
22beb1d02a
Updated tests to use _LEGACY modes
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-27 14:16:23 +01:00
Greg Wilkins
30e9c84b33
Added RFC7230_LEGACY compliance mode as the default
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-27 13:50:10 +01:00
Greg Wilkins
7e516e29fb
pass existing compliance tests
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-24 18:00:03 +01:00
Greg Wilkins
d8dead35ae
Issue #2022 Fine Gramed Compliance Modes
...
Added HttpComplianceSection and an EnumSet within HttpCompliance
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-24 14:41:18 +01:00
olivier lamy
3a189ab254
#2056 javadoc warning fixes WIP
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-12-20 10:52:45 +11:00
Joakim Erdfelt
2dd970b055
Updating to version 9.2.24-SNAPSHOT
2017-12-18 10:43:47 -06:00
Joakim Erdfelt
cdbe733684
Updating to version 9.2.23.v20171218
2017-12-18 09:06:48 -06:00
Greg Wilkins
5ce07dddd6
#2006 Use a NOOP to allow unhandle to cope with stolen read ( #2009 )
...
#2006 Use a NOOP to allow unhandle to cope with stolen read
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-02 12:14:43 +01:00
Greg Wilkins
15c0f79593
Issue #1614 made authentication extensible in request log ( #2004 )
...
Issue #1614 made authentication extensible in request log (#2004 )
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-02 10:00:39 +01:00
Joakim Erdfelt
70fe268bde
Merge branch 'release-9.4.8' into jetty-9.4.x
2017-11-29 10:52:02 -07:00
Joakim Erdfelt
aeb1a1d6cd
Merge tag 'jetty-9.4.8.v20171121' into jetty-9.4.x
...
Tag for release: jetty-9.4.8-SNAPSHOT
+ 212 HttpClient should support pluggable AuthenticationStore
+ 215 Add Conscrypt for native ALPN/TLS/SSL
+ 272 WebSocket hangs in blockingWrite
+ 487 JDK 9 build compatibility
+ 901 Overriding SSL context KeyStoreType requires explicit override of
TrustStoreType
+ 922 Implements methods Connection.getBytes[In|Out]()
+ 1209 IllegalStateException when HTTP/2 push is disabled
+ 1213 Upgrade to ASM Version 6.0 for JDK9
+ 1509 Improve GZIPContentDecoder buffer pooling sizing
+ 1550 Resolve inconsistent Shutdown configuration with Jetty Runner
+ 1640 Introduce :run-distro goal for local jetty distribution deployment
+ 1692 Annotation scanning should ignore `module-info.class` files
+ 1696 Missing stacktraces on debug of WriteFlusher onFail
+ 1705 Rejected executions in QueuedThreadPool can lead to memory leaks
+ 1760 Update to apache jasper 8.5.20
+ 1768 Allow jetty properties to be set for the jetty:run-forked goal
+ 1782 Using assembly.tarLongFileMode=posix for jetty-home and
jetty-distribution assembly
+ 1797 JEP 238 - Multi-Release JAR files break bytecode scanning
+ 1806 Improved ReservedThreads idle timeout
+ 1807 Add new HttpChannel listener and events for metrics libraries
+ 1814 Move JavaVersion to jetty-util for future Java 9 support requirements
+ 1818 Improve Infinispan support on JDK 9
+ 1819 Race condition during annotation parsing
+ 1823 ResourceHandler with ranged requests does not return Content-Type
response header
+ 1829 OSGi webbundle classes scanned twice
+ 1833 Request.startAsync requires context path
+ 1835 Locker is not reentrant on ServerConnector#setConnectionFactories
+ 1836 Migrate Locker implementation to JVM ReentrantLock implementation
+ 1841 Reduce contention on ServletHolder
+ 1845 Allow null User-Agent in HttpClient
+ 1849 Refactoring of SelectorManager.defaultSchedulers()
+ 1851 Improve insufficient thread warnings/errors
+ 1854 Consistent IOException and timeout handling when extracting form
parameters
+ 1856 ResourceHandler without ServletContext throws NPE for welcome files if
used directly
+ 1857 GZIPContentTransformer fails to send entire message if used with
BufferedContentTransformer
+ 1865 Improve Exception on invalid redirect usage
+ 1867 Improve Exception thrown during Expect 100 Continue
+ 1868 Need a way to randomly select ports for tests
+ 1871 JMXify SslContextFactory
+ 1878 Handle 100 Continue response without Expect header
+ 1879 'Bad tld url' seen during :jetty-run when running integration tests
+ 1881 Improve support of WebSocket over Unix Domain Socket
+ 1885 SessionHandler get/set maxInactiveInterval is not symmetric with
negative values
+ 1888 Implement cookie matching on Path attribute per RFC 6265
+ 1891 Make HTTP/2 async error notifications configurable
+ 1892 NPE resulting from bad JEP 238 MultiReleaseJarFile structure
+ 1893 Add ability to set HttpClient Connection TTL
+ 1897 Introduce a round-robin connection pool for HttpClient
+ 1900 Update to CDI 2.0 for cdi module
+ 1901 Reimplement PathWatcher as scanner
+ 1909 Update to Apache Jasper 8.5.23
+ 1910 Remove unused jetty-jsp module
+ 1912 AbstractConnector EndPoint leak for failed SSL connections
+ 1914 HttpClient fails to parse Content-Type response header with RFC 2045
charset="utf-8" syntax
+ 1919 Review LowResourceMonitor
+ 1920 Connect Timeouts with NonBlocking CreateEndPoint
+ 1924 ManagedSelector can livelock under high load
+ 1931 Expose RolloverOutputStream for pluggable behaviour
+ 1933 Use CLASSPATH for scanning java9 system classes
+ 1956 Store and report build information of Jetty
+ 1958 Blocking Timeout has different behavior in HttpInput vs HttpOutput
+ 1970 ManagedSelector can lose selector thread under high concurrent load
+ 1980 PushCacheFilter does not push TLS offloaded HTTP/2 requests
+ 1981 Loading resource content failed
+ 1984 Remove jetty-client dependency in jetty-rewrite
2017-11-29 10:51:22 -07:00
Greg Wilkins
6541848f28
PR #1987 AsyncICB need not execute
...
PR #1987 AsyncICB need not execute
The HttpOutput AsyncICB is a blocking callback, thus it is always executed and
never runs in the selector thread. It thus does not need to execute its call
the Channel.handle
* HTTP/2 must execute async callbacks
* AsyncICBr need not execute
* Invert the sense of the fix. AsyncICB now executes, but is flagged as a non-blocking callback.
* removed import
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-11-29 18:48:55 +01:00
Joakim Erdfelt
ff53002fac
Updating to version 9.4.9-SNAPSHOT
2017-11-21 13:11:31 -07:00
Joakim Erdfelt
82b8fb23f7
Updating to version 9.4.8.v20171121
2017-11-21 12:33:52 -07:00
Simone Bordet
fab4b95925
Fixes #1980 - PushCacheFilter does not push TLS offloaded HTTP/2 requests.
...
Changed HttpChannel to call Request.setSecure() with the scheme of the
request URI.
Changed PushCacheFilter to rely on the referrer URI scheme, and only if
that is missing then using Request.isSecure().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-11-16 23:32:44 +01:00
Greg Wilkins
918cf625cc
Issue #1958 Blocking timeout spurious wakeups ( #1975 )
...
* Issue #1958 Blocking timeout
Use tryFillInterested to allow retries on spurious wakeups
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-11-15 18:13:00 +01:00
Greg Wilkins
c66bacba02
Issue #922 ( #1965 ) bytesIn/Out stats
...
Ensure -1 fill is not appended to bytesIn counts
Don't include discarded bytes from head responses in counts
refactored gather writes in HttpConnection to be clearer and removed
redundant buffer checks
2017-11-14 09:12:00 +01:00
Olivier Lamy
786f128808
implements connection.getBytes[In|Out] for http transport #922 ( #1965 )
...
* implements connection.getBytes[In|Out] for http transport, #922
Signed-off-by: olivier lamy <olamy@webtide.com>
* use LongAdder rather than AtomicLong
Signed-off-by: olivier lamy <olamy@webtide.com>
* changes by Greg review
Signed-off-by: olivier lamy <olamy@webtide.com>
* changes by Greg review
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-14 08:41:47 +01:00
Olivier Lamy
6499baa3a2
add a build.properties file containing git hash, build timestamp scm url ( #1957 )
...
* add a build.properties file containing git hash, build timestamp and scm url #1956
Signed-off-by: olivier lamy <olamy@webtide.com>
* move build infos to Jetty class so it's available for server and client
Signed-off-by: olivier lamy <olamy@webtide.com>
* apply changes by Greg review
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-11 09:26:00 +11:00
Olivier Lamy
9fab69ea02
add a build.properties file containing git hash, build timestamp scm url ( #1957 )
...
* add a build.properties file containing git hash, build timestamp and scm url #1956
Signed-off-by: olivier lamy <olamy@webtide.com>
* move build infos to Jetty class so it's available for server and client
Signed-off-by: olivier lamy <olamy@webtide.com>
* apply changes by Greg review
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-10 18:39:28 +01:00
olivier lamy
17ce298b98
fix inconsistencies for JettyRunner support -DSTOP.PORT and -DSTOP.KEY as well #1550
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-09 17:29:39 +11:00
WalkerWatch
ee3b93de03
Updated javadoc language. Resolves #1945
2017-11-07 15:17:42 -05:00
Jesse McConnell
a72eb0001d
Updating to version 9.3.23-SNAPSHOT
2017-10-30 15:39:57 -05:00
Jesse McConnell
705048cc49
Updating to version 9.3.22.v20171030
2017-10-30 15:16:29 -05:00
Greg Wilkins
6e94d4023c
Fixed #1919 LowResourceMonitor@isAcceptingInLowResources
2017-10-25 10:44:55 +11:00
Greg Wilkins
71c78db60e
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-10-20 09:48:01 +11:00
Greg Wilkins
06e00355a2
Fixed #1912
2017-10-20 09:41:47 +11:00
Simone Bordet
5e5355cd20
Improved toString() to add the version.
2017-10-19 21:23:33 +02:00
Greg Wilkins
1b7cfbbf2c
Test #1898
2017-10-17 14:13:51 +11:00
Greg Wilkins
0f8bf0a64f
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-10-17 14:08:36 +11:00
Greg Wilkins
52baec434b
Test #1898
2017-10-17 14:04:53 +11:00
Simone Bordet
08a43cd0a2
Issue #1807 - HttpChannel events.
...
Added "dispatchFailure" event, and renamed "request[Before|After]Dispatch"
events to just "[before|after]Dispatch".
2017-10-17 00:09:45 +02:00
Simone Bordet
4236f14955
Fixes #1891 - Make HTTP/2 async error notifications configurable.
...
Introduced HttpConfiguration.notifyRemoteAsyncErrors, true by default.
2017-10-12 12:13:02 +02:00
Simone Bordet
c454ce88e8
Formatting cleanup.
2017-10-12 12:02:00 +02:00
Dan Smith
a579823f29
Issue #1885 Fixed rounding error of negative maxInactiveInterval
...
Session.getMaxInactiveInterval should return a negative number if the
the session is configured with a negative maxInactiveInterval. It was
being rounded up to 0 by mistake.
Signed-off-by: Dan Smith <upthewaterspout@apache.org>
2017-10-10 13:59:52 -07:00
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
c69c7b29c7
Fixes #1878 - Handle 100 Continue response without Expect header.
2017-10-09 12:08:24 +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
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
Greg Wilkins
1a7ff6854d
Fixed #1856 ResourceService without context
2017-10-03 11:34:00 +11: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
17a1484143
Code cleanups.
...
Removed unnecessary imports and fixed typos.
2017-10-02 11:43:45 +02: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
Greg Wilkins
a248d38f56
Issue #1854 consistent exception handling for Request parameters
2017-09-27 15:36:53 +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
0fa8c565bd
Issue #1835 reentrant lock in AbstractConnector.
2017-09-22 12:45:14 +10:00
Simone Bordet
7768a781be
Fixes #1836 - Review Locker.
...
Made Locker a simpler wrapper around ReentrantLock.
Deprecated lockIfNotHeld() and replaced its usages.
2017-09-21 19:16:36 +02:00
Greg Wilkins
8abb108b7e
Fixed #1833 Request.startAsycn requires a context
2017-09-21 14:09:21 +10:00
Greg Wilkins
bddd5ca5de
Issue #1832 SelectChannelServerSslTest.testFullMethod
...
Work around for now by accepting exception rather than error response.
2017-09-21 14:00:58 +10:00
Joakim Erdfelt
236658d61c
Build fix
2017-09-20 15:02:56 -07:00
Joakim Erdfelt
14573025f0
Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x
2017-09-20 14:46:26 -07:00
Joakim Erdfelt
5fc0167003
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-09-20 14:46:13 -07:00
Greg Wilkins
31a9b6f2e8
Issue #215 Conscrypt module for SSL and ALPN
...
Squash of the following commits:
commit 53e503b48d290e2ff83b214fd81572bf4cacd9ab
Merge: cc4ed73 d77ba82
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 21 07:27:45 2017 +1000
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-215-conscrypt-alpn
commit cc4ed73ae45e69addbb31221a860dd0984d92ac5
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 21 07:26:45 2017 +1000
Issue #215 Conscrypt module debug
commit f640693f7ef61f8012d1454b2ed364740b330a6e
Author: Simone Bordet <simone.bordet@gmail.com>
Date: Wed Sep 20 18:23:51 2017 +0200
Issue #215 - Consider native ALPN/SSL provider.
Fixed server-side ALPN negotiation for Conscrypt.
commit 669e992624a0f8f23103c70ba895b877dcec2404
Author: Simone Bordet <simone.bordet@gmail.com>
Date: Wed Sep 20 16:56:20 2017 +0200
Issue #215 - Consider native ALPN/SSL provider.
Fixed client-side ALPN negotiation for Conscrypt.
commit aa873263d73c19461890bd1f9a417c796412b3d2
Author: Simone Bordet <simone.bordet@gmail.com>
Date: Wed Sep 20 15:26:45 2017 +0200
Issue #215 - Consider native ALPN/SSL provider.
Code cleanups.
Changed ALPNProcessor.init(boolean) to init().
Removed unnecessary try/catches and simplified exception handling.
commit db9b169c35da956bcc42013f9bb8acddd7238d14
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 20 18:07:30 2017 +1000
Issue #215 Conscrypt SSL pom cleanups
commit 096572e029352428275e86a964fa92dbeee19a65
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 20 15:57:20 2017 +1000
Issue #215 Conscrypt SSL ALPN cleanups
commit b3c1bcb1fa9a7e15517a348270738e24c7b0a820
Merge: c836708 effec06
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 20 15:46:13 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-215-conscrypt-alpn
commit c836708a9bcd5fb61ed26302eb7d71b618cce329
Merge: de039d4 d9ecd5e
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 20 14:56:06 2017 +1000
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-215-conscrypt-alpn
commit de039d42f23f9caa239e5ddee0242b9a83a45441
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 19 17:19:49 2017 +1000
Fix #1823 MimeTypes for ResourceHandler mp4
commit ff1e08434415cd6d909715547c2a54dbd0fc5dee
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 19 14:21:39 2017 +1000
Issue #215
commit 3bb63147ebf4967698f51a65f009d80010038b20
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 19 14:08:05 2017 +1000
Issue #215
Use conscrypt 1.0.0.RC10 uber jar
commit 8b18099fde67f12d0e98d0b414568c9b76835459
Merge: 06f6530 eee4117
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 19 10:35:43 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-conscrypt-alpn
commit 06f65305d536250c5dfa2aaa84ffacdac113c8fc
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 14 16:04:05 2017 +1000
Issue #215 Conscrypt ALPN provider
First attempt at client support
commit 32d77461935263da86fb363233af0aa5a159d1fc
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 14 09:48:43 2017 +1000
Issue #215 Conscrypt ALPN provider
commit bc051dca5e3ea7fed6ddb3a25ba5cecbd1c5b18b
Merge: 573c9f0 6c47126
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 14 08:49:10 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-conscrypt-alpn
commit 573c9f060172b2863b0b0a94c1ec2fb9a8762fa2
Merge: 47e22fe 3399fd3
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 13 15:24:27 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-conscrypt-alpn
commit 47e22fe2e4f8e3cc71f3117ad7d789dc3ea56675
Merge: 63ffa2b 187f37d
Author: Greg Wilkins <gregw@webtide.com>
Date: Wed Sep 13 11:04:24 2017 +1000
Merge branch 'jetty-9.4.x' into jetty-9.4.x-conscrypt-alpn
commit 63ffa2bdc13fa85d02459855a3f8e0de4f4b4f1b
Merge: cf1443d a0cb424
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 12 09:04:45 2017 +1000
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-conscrypt-alpn
commit cf1443d3ab71ac1aec7f153c233e869a3d6f783f
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Sep 12 09:03:52 2017 +1000
Issue #215 Conscrypt ALPN provider
commit a37aec327274042e1007f4146a3c3ec06fb424d9
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 7 21:19:28 2017 +1000
Issue #215 Conscrypt ALPN provider
commit 6d7f39b2b0e53570afa61be5abfef2a352f80cf3
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 7 18:22:19 2017 +1000
Issue #215 Conscrypt ALPN provider
commit a7d0f46b57091550724242693559d786180896ff
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Sep 7 18:16:35 2017 +1000
Issue #215 Conscrypt ALPN provider
2017-09-21 07:34:25 +10:00
Joakim Erdfelt
36a649a66c
Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x
2017-09-20 14:29:17 -07:00
Joakim Erdfelt
d9865a02ba
Updating to version 9.4.8-SNAPSHOT
2017-09-14 08:44:27 -07:00
Joakim Erdfelt
80fb788d0c
Updating to version 9.4.7.v20170914
2017-09-14 07:35:18 -07:00
Simone Bordet
5d8c605d96
Updated logic to calculate the minimum number of threads.
2017-09-08 10:52:40 +02:00
Joakim Erdfelt
fb86b8e54f
Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x
2017-09-07 08:55:54 -07:00
Jan Bartel
8db5cc4f96
Issue #1795
2017-09-07 08:59:03 +10:00
Joakim Erdfelt
aa85bca2a9
Minor test cleanup
2017-09-06 13:49:20 -07:00
Jan Bartel
df0e6d7f43
Issue #1793
2017-09-06 18:00:31 +10:00
Jan Bartel
d8e035ba0d
Issue #1794
2017-09-06 18:00:31 +10:00
Greg Wilkins
57e86c5c41
Issue #1416 GzipHandler If-Match
2017-09-05 18:31:56 +10:00
Greg Wilkins
7be350370c
Issue #1732 Connection Limit ( #1745 )
...
Configure accepting during low resources from module/ini
2017-09-05 17:27:36 +10:00
Greg Wilkins
dd20272c48
Issue #1732 Connection Limit ( #1745 )
...
* Issue #1732 Connection Limit
Added a listener to stop accepting when a limit is reached
Update LowResourceMonitor to not accept in low resources
2017-09-05 15:21:51 +10:00
Simone Bordet
cef5358fc8
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-08-21 17:02:20 +02:00
Simone Bordet
6cb6a9e16f
Fixes #1719 - Improve handling of HTTP/2 queued requests.
...
Clearing _waitingForContent in recycle().
2017-08-21 16:41:04 +02:00
Joakim Erdfelt
0bad6d1e90
Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x
2017-08-17 11:50:45 -07:00
Joakim Erdfelt
9c7af33806
Issue #1737 - fixing up ResourceHandler behavior with welcome files
2017-08-16 09:34:07 -07:00
Greg Wilkins
c843b809f0
Fixed #1737 DefaultServlet wrong welcome dispatcher using non-root URL path
...
If operating in pathInfoOnly mode, prepend the serlvet path to the welcome path
2017-08-16 09:54:52 +10:00
Greg Wilkins
e4c0dcdd19
Issue #1721 async read failure on big POST
...
Remove ISE for a S that is perfectly legal
2017-08-15 19:05:44 +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
Greg Wilkins
5197ce4f54
Issue #1732 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 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
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
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 #1713 limit selectors for small thread pool
2017-08-08 09:16:04 -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
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
Simone Bordet
3eeeb8ec7e
Improved error reporting.
2017-08-08 09:15:30 -07:00
Simone Bordet
be1eb26670
Fixes #1671 - Asymmetric usage of trailers in MetaData.Request.
...
Reviewed with code cleanups.
2017-08-08 09:15:23 -07:00
Jan Bartel
56bf71aec2
Issue #1675
2017-08-08 09:14:54 -07:00
Greg Wilkins
0bc9149ff1
Issue #1671 asymmetric trailer usage on MetaData.Request
2017-08-08 09:14:47 -07:00
Greg Wilkins
2202d333fe
Issue #1655 ServerConnector configured with channel
...
converted setter to open method
added test harness
2017-08-08 09:14:18 -07:00
Greg Wilkins
7dc2559c8b
Issue #1655 added setter for accept channel
2017-08-08 09:14:16 -07:00
Greg Wilkins
386ca510e6
Issue #1655 added openAcceptChannel
2017-08-08 09:14:15 -07:00
Greg Wilkins
a105be95e4
Issue #1637 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 #1618 Async dispatch encoded passed URI
2017-08-08 09:13:43 -07:00
Joakim Erdfelt
3fdbcffbbd
Updating to version 9.2.23-SNAPSHOT
2017-08-08 09:12:55 -07:00
Jan Bartel
b2187b3b1c
Issue #1591
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 #1468 Configure PKIX Revocation Checker for SslContextFactory
2017-08-08 09:10:14 -07:00
Joakim Erdfelt
a7bcac6d75
Updating to version 9.3.20.v20170531
2017-08-08 09:07:35 -07:00
Joakim Erdfelt
11a544d6ac
Updating to version 9.3.22-SNAPSHOT
2017-08-01 11:26:37 -07:00
Joakim Erdfelt
bb1d69ca52
Updating to version 9.3.21.M0
2017-08-01 10:47:04 -07:00
Simone Bordet
a2b78f1be2
Fixes #1703 - 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 #1655 ServerConnector configured with channel
...
converted setter to open method
added test harness
2017-07-03 17:48:07 +02:00
Greg Wilkins
fd44bbabde
Issue #1655 added setter for accept channel
2017-07-03 15:34:23 +02:00
Greg Wilkins
6c0100181e
Issue #1655 added openAcceptChannel
2017-07-03 14:51:45 +02:00
Joakim Erdfelt
4d2c299fe8
Updating to version 9.2.23-SNAPSHOT
2017-06-06 08:55:12 -07:00
Joakim Erdfelt
0af30bce5a
Updating to version 9.2.22.v20170606
2017-06-06 07:03:05 -07:00
Joakim Erdfelt
6a3c40e935
Updating to version 9.4.7-SNAPSHOT
2017-05-31 17:26:34 -07:00
Joakim Erdfelt
8ba0f2d95d
Updating to version 9.4.6.v20170531
2017-05-31 16:22:52 -07:00
Joakim Erdfelt
429380d36a
Updating to version 9.3.21-SNAPSHOT
2017-05-31 16:10:04 -07:00
Joakim Erdfelt
0f3b1cbe36
Updating to version 9.3.20.v20170531
2017-05-31 15:24:57 -07:00
Christoph Dreis
e9f398cf41
Deprecate ConcurrentHashSet ( #1570 )
...
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 #1546 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 #1546 - more cookie fixes
2017-05-16 06:05:55 +02:00
Greg Wilkins
5141085fed
Issue #1546 - 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 #1546 - more cookie leniency fixes
2017-05-15 21:01:15 +02:00
Joakim Erdfelt
c5a0c5e761
Issue #1546 - more leniency testcase
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2017-05-15 11:04:09 -07:00
Greg Wilkins
04fe477e79
Issue #1546 Fixed cookie tests
2017-05-13 16:21:06 +02:00
Greg Wilkins
bdeea10a6f
Issue #1546 Fixed some tests. @Ignored for now
2017-05-13 09:12:11 +02:00
Joakim Erdfelt
dea2c340a4
Issue #1546 - 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 #1546 quotes in cookies
2017-05-12 10:38:37 +02:00
WalkerWatch
e091701bcd
Reviewing modules for #207
2017-05-09 13:38:14 -04:00
Greg Wilkins
b0edf18ad9
Issues #1538 #1435
...
Get base content type directly rather than through Type which maybe null
2017-05-08 15:31:00 +02:00
Joakim Erdfelt
cf56168f7d
Updating to version 9.3.20-SNAPSHOT
2017-05-02 15:26:56 -07:00
Joakim Erdfelt
d36d57d5c7
Updating to version 9.3.19.v20170502
2017-05-02 14:31:51 -07:00
Joakim Erdfelt
782f36f157
Updating to version 9.4.6-SNAPSHOT
2017-05-02 14:29:09 -07:00
Joakim Erdfelt
9d8ad7489c
Updating to version 9.4.5.v20170502
2017-05-02 13:22:18 -07:00
Jan Bartel
f9e9fd645d
Issue #1510
2017-04-27 12:47:51 +02:00
Greg Wilkins
5e5d650b05
Issue #1500
2017-04-26 16:02:18 +02:00
Greg Wilkins
fe173454e1
Fixed #1500
2017-04-26 15:38:18 +02:00
Greg Wilkins
29a26c76a2
Fixes #1493
2017-04-21 13:25:18 +10:00
Greg Wilkins
6bb8f793a3
Fixed #1487 #1486
2017-04-20 14:32:54 +10:00
Greg Wilkins
02276974a8
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-04-20 13:19:28 +10:00
Greg Wilkins
2f04b0f869
Fix #1487
2017-04-20 11:38:28 +10:00
Joakim Erdfelt
92ea5bda21
Updating to version 9.4.5-SNAPSHOT
2017-04-14 14:43:36 -07:00
Joakim Erdfelt
3dc8f557c6
Updating to version 9.4.4.v20170414
2017-04-14 13:20:17 -07:00
Joakim Erdfelt
19f28a5a8c
Issue #1475 - some code cleanup
2017-04-14 13:03:17 -07:00
Joakim Erdfelt
e598f5da14
Issue #1475 - more tests for bad ContextHandler.logger creation
2017-04-14 12:53:25 -07:00
Joakim Erdfelt
ccfe579a55
Issue #1475 - SIOOBE in ContextHandler startup
...
+ Fixed ContextHandler logname creation to be more resilient to
bad characters that are unsuitable for a log name
+ Corrected AbstractLogger condensePackageString() to be
more resilient to bad characters and classname formatting
2017-04-14 12:04:18 -07:00
Jan Bartel
509f59c32d
Issue #1472
2017-04-14 14:43:41 +10:00
Greg Wilkins
b6b451a988
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-04-12 14:56:47 +10:00
Greg Wilkins
23a9c6c1be
Issue #1463
2017-04-12 14:54:18 +10:00
Greg Wilkins
c4f2be4cfa
Issue #1454 convenience methods
2017-04-11 10:09:33 +10:00
Joakim Erdfelt
9e2aeda052
Updating to version 9.3.19-SNAPSHOT
2017-04-06 07:47:53 -07:00
Joakim Erdfelt
63273aa40b
Updating to version 9.3.18.v20170406
2017-04-06 06:31:02 -07:00
Simone Bordet
648448435d
Issue #1456 - Error dispatch race with async write.
...
Improved attempt to send a response in case of a failure while trying
to perform the error dispatch.
Fixed tests to use AbstractHandler.ErrorDispatchHandler.
2017-04-06 13:15:18 +02:00
Simone Bordet
c26af90978
Issue #1456 - Error dispatch race with async write.
...
Provisional fix catching IllegalStateExceptions and aborting the
transport; the Servlet Specification should clarify how the race
can be avoided altogether.
2017-04-06 10:53:38 +02:00
Jan Bartel
7e2f08a7ad
Issue #1450
2017-04-06 15:01:17 +10:00
Simone Bordet
c285d6f8bb
Fixes #612 - Support HTTP Trailer.
...
Added support on both the server and the client, for HTTP/1 and HTTP/2.
2017-04-03 22:25:50 +02:00
Simone Bordet
a994244454
Code cleanup.
2017-04-03 22:25:50 +02:00
Greg Wilkins
f06c7c358f
Fixes #1440
...
Improve low resource solution for scheduling strategy.
Replaced the dual scheduling strategy with a single re-implementation of EatWhatYouKill
that can adapt to act as ProduceConsume, ExectureProduceConsume or ProduceExecuteConsume
as need be.
Squashed commit of the following:
commit 25eeb32181
Author: Greg Wilkins <gregw@webtide.com>
Date: Sat Apr 1 09:08:49 2017 +1100
renamed variables
commit 4f370d84ca
Merge: 8159c50
823cbe1
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 31 11:54:26 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 8159c508f0
Merge: 5805a92
daf61cd
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 17:28:00 2017 +1100
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x-ewyk
commit daf61cd294
Author: Denis Nedelyaev <denvned@gmail.com>
Date: Thu Mar 30 04:15:32 2017 +0300
Fix memory leak in GzipHandler (#1429 )
Looks like this leak shows itself only with asynchronous responses.
Some relevant info: http://www.devguli.com/blog/eng/java-deflater-and-outofmemoryerror/
Signed-off-by: Denis Nedelyaev <denvned@gmail.com>
commit 5805a92d0e
Merge: cfabbd2
dc759db
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 17:12:38 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit cfabbd2341
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 16:04:57 2017 +1100
minor cleanups
commit c7aa64aa10
Merge: bacf51a
18f17ac
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 14:58:37 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit bacf51a83d
Merge: 11ba4bc
2fafa1d
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 14:13:36 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 11ba4bc849
Merge: 69003d3
1a0b2df
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 13:48:09 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 69003d3dd9
Merge: f89b08d
a8ff18d
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 12:35:27 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit f89b08d08a
Merge: 7a87c8e
00b42ca
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 23 16:01:00 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 7a87c8ec9d
Merge: 1a92015
12dc169
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 23 10:27:14 2017 +1100
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-ewyk
commit 1a92015471
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Mar 21 09:23:53 2017 +1100
better spruious wakeup handling and other simplifications
commit c01a910b69
Merge: 0b2b9ea
67ec4b0
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 14:59:37 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 0b2b9ea187
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 14:52:49 2017 +1100
cleanup
commit c1d92ebde6
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 13:41:45 2017 +1100
Fixed push
commit d2d6bc3e65
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 12:18:03 2017 +1100
minor cleanups
commit c1a159b7a9
Merge: 01349ac
78f4712
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 09:30:44 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 01349ac935
Merge: 4dc1503
08f351b
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 08:16:06 2017 +1100
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-ewyk
commit 4dc15032ba
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 16 23:26:59 2017 +1100
work in progress
commit 5d18c654b8
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 16 22:05:03 2017 +1100
work in progress
commit d52a09a6cd
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 16 18:03:16 2017 +1100
work in progress
commit c097db32e7
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 16 15:59:29 2017 +1100
Experiement enhancement to EatWhatYouKill ExecutionStrategy
Use the existence of a pending producer threads to determine if low resources or not.
2017-04-01 09:18:37 +11:00
Greg Wilkins
823cbe1cd4
Issue #1418 simplification after review
2017-03-31 11:53:37 +11:00
WalkerWatch
927bf97546
Resolves #1437 - Updated requestlog ini-template
...
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-03-30 18:16:28 -04:00
Greg Wilkins
50c5e7c93e
Issue #1418 updates after review
2017-03-31 08:43:15 +11:00
Greg Wilkins
7a6f2860e1
Issue #1418 updates after review
2017-03-30 21:59:23 +11:00
Greg Wilkins
ea39cbef57
Issue #1418 update after review
2017-03-30 19:29:26 +11:00
Denis Nedelyaev
daf61cd294
Fix memory leak in GzipHandler ( #1429 )
...
Looks like this leak shows itself only with asynchronous responses.
Some relevant info: http://www.devguli.com/blog/eng/java-deflater-and-outofmemoryerror/
Signed-off-by: Denis Nedelyaev <denvned@gmail.com>
2017-03-30 17:26:56 +11:00
Greg Wilkins
18f17ac102
Fixes #1436
2017-03-30 14:57:18 +11:00
Greg Wilkins
2fafa1de0f
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-30 14:13:07 +11:00
Joakim Erdfelt
dff8fb6b90
Issue parameter decoding ( #1330 )
...
* Issue #1327 - Removing non-standard (Microsoft only) %uXXXX support
* Issue #1322 - Removing attempts at "solving" bad behavior in UrlEncoded
+ No longer captures NumberFormatException and Utf8Exception and
NotUtf8Exception for purposes of "recovering" from a bad encoding.
+ Introduces UrlEncode.decodeHexChar() and .decodeHexByte() to make
reporting of bad encoding more clear.
* Issue #1316 - throw a BadMessageException on bad parameter parsing
+ If BadMessageException is uncaught by the webapp, this will result
in an error 400 response message.
+ If an application decides to catch the BadMessageException, they can
choose to ignore the exception and do their own error reporting.
+ This piggybacks on Issue #1327 and Issue #1322
2017-03-30 14:00:39 +11:00
Joakim Erdfelt
a8ff18db9d
Issue #1334 - throwing a ServletException if unable to commit the response ( #1336 )
...
* Issue #1334 - throwing a ServletException if unable to commit the response
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Issue #1334 - using addSuppressed(ex) instead of MultiException
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2017-03-30 11:50:55 +11:00
Greg Wilkins
70d33eab5d
Fixes #1435
2017-03-30 11:22:06 +11:00
Jan Bartel
9732e3a985
Merge pull request #1238 from raimohanska/jetty-9.4.x
...
Fix NPE in ContextHandler.isShutdown
2017-03-30 09:38:25 +11:00
WalkerWatch
071cf19f2b
Resolves #1426 - Updating JavaDoc.
...
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-03-29 11:54:33 -04:00
Simone Bordet
a9b4e2422a
Fixes #1434 - Improve properties in jetty-gzip.xml.
...
Added properties for syncFlush, includedMethodList and excludedMethodList.
2017-03-29 16:51:29 +02:00
Simone Bordet
7deb281aa0
Code cleanup and JavaDocs fixes.
2017-03-29 16:04:43 +02:00
Greg Wilkins
87a7ff550b
Fixes #1201
2017-03-25 14:24:05 +11:00
Greg Wilkins
00b42ca5ee
Issue #1418
...
Improved async handling to avoid race of setWriteListener->handle with async read callback.
The async read callback now calls into the HttpChannelState with a new onReadPossible() method.
A more detailed state machine is now kept for async reads, with and additional state for using
the handler thread to produce more content.
2017-03-23 15:58:16 +11:00
Jan Bartel
08ee1b62d4
Issue #1386
...
Finally worked out what was wrong with the test.
2017-03-23 15:20:47 +11:00
Jan Bartel
8059b8553b
Issue #1386
...
More changes to ensure test dirs are clean and errors reported
2017-03-23 14:03:06 +11:00
Jan Bartel
b242f1e902
Issue #1386
...
Change tests to ensure test dir clean
2017-03-23 12:10:37 +11:00
Greg Wilkins
12dc169b5b
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-23 09:31:19 +11:00
Greg Wilkins
ee59b42321
Fixes #1417 ClassLoaderDump
2017-03-23 09:26:36 +11:00
Joakim Erdfelt
b8ddef08d6
Merge remote-tracking branch 'origin/release-9.4.3' into jetty-9.4.x
2017-03-22 09:31:44 -07:00
Jan Bartel
f4504ffded
Issue #1386
2017-03-22 17:36:29 +11:00
Joakim Erdfelt
1360b863dc
Updating to version 9.4.4-SNAPSHOT
2017-03-17 10:53:54 -07:00
Joakim Erdfelt
95e94b49d8
Updating to version 9.4.3.v20170317
2017-03-17 09:54:58 -07:00
Joakim Erdfelt
a6a0ab991f
Updating to version 9.3.18-SNAPSHOT
2017-03-17 09:48:19 -07:00