Greg Wilkins
3d93d39b39
Issue #845 data rate limits
...
Initial thoughts
2016-08-16 16:24:14 +10:00
Greg Wilkins
84efe1e438
increased test idletimeout
2016-08-05 14:11:30 +10:00
Joakim Erdfelt
6e1b1cdb36
Updating to version 9.3.12-SNAPSHOT
2016-07-21 19:07:19 -07:00
Joakim Erdfelt
9fd6d4354e
Updating to version 9.3.11.v20160721
2016-07-21 18:37:09 -07:00
Joakim Erdfelt
0b18340179
Updating to version 9.2.19-SNAPSHOT
2016-07-21 13:10:23 -07:00
Joakim Erdfelt
d3ff3423f0
Updating to version 9.2.18.v20160721
2016-07-21 12:35:26 -07:00
Simone Bordet
6a15bbfb2b
Issue #751 - Remove usages of ArrayQueue.
2016-07-21 17:55:48 +02:00
Greg Wilkins
adf3281ba8
Issue #696 Improve testing of LocalConnector
...
Fixed some races in the implementation
2016-07-08 21:15:36 +10:00
Greg Wilkins
183e3acabb
Issue #695 improve getResponse methods
2016-07-07 16:36:46 +10:00
Greg Wilkins
3a52b46115
Provisional fix for #681
2016-07-01 15:05:27 +10:00
Jesse McConnell
ae931538ab
[maven-release-plugin] prepare for next development iteration
2016-06-22 13:59:10 -05:00
Jesse McConnell
df1ed4fb03
[maven-release-plugin] prepare release jetty-9.3.11.M0
2016-06-22 13:59:06 -05:00
Jesse McConnell
030ec61837
[maven-release-plugin] prepare for next development iteration
2016-06-22 09:14:25 -05:00
Jesse McConnell
9a4cb41122
[maven-release-plugin] prepare release jetty-9.3.11.M0
2016-06-22 09:14:21 -05:00
Jesse McConnell
e7034117ea
[maven-release-plugin] prepare for next development iteration
2016-06-21 08:50:13 -05:00
Jesse McConnell
16c435c69d
[maven-release-plugin] prepare release jetty-9.3.10.v20160621
2016-06-21 08:50:09 -05:00
Greg Wilkins
a2309057dc
Test Harness for #596
...
Test harness to try to repeat problem with #596 of content-length added to a HEAD response.
In the process added a much better getResponse mechanism to the local connector that avoids
using the idle time.
2016-06-03 14:15:25 +10:00
Greg Wilkins
ec7871718c
added delay to improve SSL tcpClose test
2016-06-02 17:38:36 +10:00
Simone Bordet
f3a805887e
Fixes #542 - Support Connection.Listener bean on clients.
...
Introduced ClientConnectionFactory.customize() to look for
Connection.Listener beans.
ClientConnectionFactory implementation calls customize() when they
create a Connection instance, so the Connection.Listener beans are
registered onto the Connection.
2016-05-25 19:27:08 +02:00
Simone Bordet
4762a6eaa3
Issue #464 - Improve reporting of SSLHandshakeException.
...
Making sure that the raw EndPoint is closed if the decrypted EndPoint
output is shutdown when the input is also shutdown.
2016-05-25 00:52:10 +02:00
Simone Bordet
ddddc3a675
Fixes #574 - Introduce a TLS handshake completed listener.
...
Introduced class SslHandshakeListener that can be registered as a
bean in both the ServerConnector and in clients such as HttpClient
and HTTP2Client.
When creating SslConnection instances, the factory will query the
connector (client or server) for SslHandshakeListener beans and, if
present, will be added to the SslConnection.
2016-05-24 16:09:19 +02:00
Simone Bordet
d73c60db14
Issue #464 - Improve reporting of SSLHandshakeException.
2016-05-24 11:15:18 +02:00
Simone Bordet
f95daca8b4
Code cleanups.
2016-05-24 11:15:18 +02:00
Jesse McConnell
dc4574f380
[maven-release-plugin] prepare for next development iteration
2016-05-17 17:30:17 -05:00
Jesse McConnell
0bbebec1e0
[maven-release-plugin] prepare release jetty-9.3.9.v20160517
2016-05-17 17:30:13 -05:00
Jesse McConnell
d5c6793e6a
[maven-release-plugin] prepare for next development iteration
2016-05-17 15:33:46 -05:00
Jesse McConnell
0bab7e6616
[maven-release-plugin] prepare release jetty-9.2.17.v20160517
2016-05-17 15:33:42 -05:00
Simone Bordet
016fc6569f
Fixes #558 - HTTP/2 server hangs when thread pool is low on threads.
...
Modified ExecuteProduceConsume to test for Rejectable tasks when
trying to execute a task in low threads mode, and if so, reject them
immediately.
2016-05-12 00:13:35 +02:00
Simone Bordet
caa45283c7
Fixes #547 (ExecuteProduceConsume (EWYK) does not exit low threads mode)
...
Exposed getters/setters for ExecutionStrategy.Factory in
ServerConnector and SelectorManager, to allow explicit configuration
and testing.
Added test to verify that EPC exits low threads mode.
2016-05-06 17:10:46 +02:00
Simone Bordet
61f9192e58
Renamed field to better tell what's doing.
2016-05-06 17:10:46 +02:00
Simone Bordet
2ac1b73b55
Added the connection's hashCode to toString().
...
This would be useful in dump() where it would be possible to link the
EndPoint to the Connection.
2016-05-03 10:51:20 +02:00
Greg Wilkins
fbdd5e1da6
Issue #432 Limit queue size in ByteBufferPools
...
Created a shared Bucket instance that can count down available space.
2016-04-24 09:58:38 +10:00
Joakim Erdfelt
939505c342
Updating to version 9.2.17-SNAPSHOT
2016-04-14 14:03:21 -07:00
Joakim Erdfelt
778fac638d
Updating to version 9.2.16.v20160414
2016-04-14 13:21:34 -07:00
Joakim Erdfelt
47bbd9364d
Revert "Updating to version 9.2.16.v20160414"
...
This reverts commit 29ae63855b
.
2016-04-14 13:19:59 -07:00
Joakim Erdfelt
29ae63855b
Updating to version 9.2.16.v20160414
2016-04-14 13:17:21 -07:00
Simone Bordet
6827c5b045
Fixes #514 - Allow ExecutionStrategy to be configurable.
...
Introduced setters and constructor parameters to components that use
ExecutionStrategy.
2016-04-14 12:20:31 +02:00
Joakim Erdfelt
6fb338e50d
Updating to version 9.3.9-SNAPSHOT
2016-04-11 16:20:50 -07:00
Joakim Erdfelt
bb4f3c4882
Updating to version 9.3.9.M1
2016-04-11 15:35:22 -07:00
Joakim Erdfelt
13fde643ed
Merge branch 'release-9.3.8' into jetty-9.3.x
2016-03-16 10:03:29 -07:00
Simone Bordet
26f8deddf7
Introduced Callback.Nested.
...
Refactored code that was using nested callbacks and removed
unnecessary overrides now that we have default methods.
2016-03-15 15:24:44 +01:00
Joakim Erdfelt
c68d3b1d8d
Updating to version 9.3.9-SNAPSHOT
2016-03-14 09:07:52 -07:00
Joakim Erdfelt
1f3b3f31f4
Updating to version 9.3.8.v20160314
2016-03-14 08:30:20 -07:00
Simone Bordet
8ad0944732
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-03-07 16:04:46 +01:00
Simone Bordet
d36e5864db
Issue #377 (HttpClient - No supported cipher suites leads to stuck requests)
...
Fixed by rethrowing the exception thrown by onOpen() so that the
SelectorManager can act appropriately.
2016-03-07 15:20:12 +01:00
Simone Bordet
7e7b126847
Issue #362 (Very slow page load and missing resources when using HTTP/2 with Jetty 9.3.7)
...
The issue happened when the selector was both read ready and write
ready. In that case fillable() was called before completeWrite(),
causing the reader thread to read, parse, call the application which
performed a blocking write, thus never returning to call
completeWrite().
Inverting the calls (first completeWrite() then fillable()) solves
the issue because completeWrite() never calls application code.
2016-03-01 22:08:02 +01:00
Simone Bordet
2e62bca2ea
Issue #251 (Consider removing SSLEngine.beginHandshake() calls).
...
Removed SSLEngine.beginHandshake() calls.
2016-02-19 16:33:55 +01:00
Simone Bordet
519734bec4
Fixed usage of volatile reference.
2016-02-19 11:36:06 +01:00
Joakim Erdfelt
f98dde5e5b
Updating to version 9.2.16-SNAPSHOT
2016-02-10 15:36:41 -07:00
Joakim Erdfelt
9b6890d3c1
Updating to version 9.2.15.v20160210
2016-02-10 14:49:12 -07:00
Greg Wilkins
1b87db6782
486930 - Selector does not correctly handle rejected execution exception
...
ignoring the test harness, as it does not work from command line?
2016-02-02 16:11:00 +01:00
Greg Wilkins
7ec6e2e899
486930 - Selector does not correctly handle rejected execution exception
...
Improved comments and unit test
2016-02-01 17:18:42 +01:00
Greg Wilkins
c81dcfc790
486930 - Selector does not correctly handle rejected execution exception
...
This fix work in two ways:
1) Both the PEC and EPC strategies when confronted with a
RejectedExecutionException will continue to Produce rather than consume.
2) If a produced Runnable cannot be consumed and it supports the new Rejectable interface,
then it's reject() method is called by the producer thread. Typically this is implemented
to close the connection - with the risk being that the close might block, but that is
probably better than leaking the connection?
2016-02-01 17:10:24 +01:00
Joakim Erdfelt
e0ce545ad7
Updating to version 9.3.8-SNAPSHOT
2016-01-15 17:15:14 -07:00
Joakim Erdfelt
c0b191119b
Updating to version 9.3.7.v20160115
2016-01-15 16:40:15 -07:00
Joakim Erdfelt
b7f9c9aca9
Updating to version 9.3.7-SNAPSHOT
2016-01-13 08:21:01 -07:00
Joakim Erdfelt
21ca3f6690
Updating to version 9.3.7.RC1
2016-01-13 07:30:24 -07:00
Joakim Erdfelt
cd39fd84fe
Happy New Year 2016
2016-01-04 14:31:22 -07:00
Joakim Erdfelt
b5db18378d
Happy New Year 2016
2016-01-04 14:21:26 -07:00
Simone Bordet
6d1027eaff
Removed caching of debug log level.
...
It is useful to be able to change the log level via JMX for debugging purposes.
2016-01-04 12:46:43 +01:00
Simone Bordet
35c4c24099
484718 - Review idle timeout handling.
...
Introduced Connection.onIdleExpired().
2015-12-21 11:47:05 +01:00
Simone Bordet
bcd282a8dd
Updated javadocs and added missing removeListener() method.
2015-12-21 11:47:05 +01:00
Joakim Erdfelt
edf686fe0a
Updating to version 9.3.7-SNAPSHOT
2015-11-06 12:13:00 -07:00
Joakim Erdfelt
d737e1c638
Updating to version 9.3.6.v20151106
2015-11-06 11:09:32 -07:00
Joakim Erdfelt
ec8f8d3e4f
Updating to version 9.2.15-SNAPSHOT
2015-11-06 11:06:48 -07:00
Joakim Erdfelt
ecba378f5c
Updating to version 9.2.14.v20151106
2015-11-06 10:32:14 -07:00
Simone Bordet
973d95c8bc
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2015-11-04 18:36:36 +01:00
Simone Bordet
ea04e59637
Fixed typo in logging statement.
2015-11-04 18:18:25 +01:00
Simone Bordet
3fc6320881
Using EndPoint.upgrade() in client code when connections are upgraded
...
and removed ClientConnectionFactory.Helper.
2015-10-21 14:32:37 +02:00
Joakim Erdfelt
dde32787c4
Updating to version 9.3.6-SNAPSHOT
2015-10-12 15:47:37 -07:00
Joakim Erdfelt
29722bd880
Updating to version 9.3.5.v20151012
2015-10-12 15:10:39 -07:00
Joakim Erdfelt
2cce7510e1
Updating to 9.3.5-SNAPSHOT
2015-10-08 17:49:09 -07:00
Joakim Erdfelt
37296bec3c
Updating to version 9.3.4.v20151007
2015-10-07 14:58:38 -07:00
Greg Wilkins
b2f8192c7b
478923 - threads stuck at SharedBlockingCallback$Blocker.block
...
Fixed the failure path so that it also checks for non blocking callbacks
and directly calls them
2015-10-07 15:11:53 +11:00
Simone Bordet
90743d301a
Improved toString().
...
Changes imported manually from branch 9.2.x.
2015-09-29 12:06:01 +02:00
Simone Bordet
1f2f62cff4
Revert "Merged branch 'jetty-9.2.x' into 'master'."
...
This reverts commit 701ca1aa26
, reversing
changes made to 64ba5a6ef8
.
2015-09-29 11:31:56 +02:00
Simone Bordet
9549b32ea6
Revert "Merged branch 'jetty-9.2.x' into 'master'."
...
This reverts commit db61fc2a47
.
2015-09-29 11:31:03 +02:00
Simone Bordet
db61fc2a47
Merged branch 'jetty-9.2.x' into 'master'.
2015-09-29 09:43:12 +02:00
Simone Bordet
701ca1aa26
Merged branch 'jetty-9.2.x' into 'master'.
2015-09-29 09:42:28 +02:00
Simone Bordet
fd5c5b5779
Improved toString().
2015-09-28 19:23:50 +02:00
Jesse McConnell
6409366499
[maven-release-plugin] prepare for next development iteration
2015-08-27 10:11:29 -05:00
Jesse McConnell
3086adc965
[maven-release-plugin] prepare release jetty-9.3.3.v20150827
2015-08-27 10:11:21 -05:00
Jesse McConnell
f5d1fb1058
Merge branch 'master' into release-9.3.3
2015-08-27 08:31:22 -05:00
Simone Bordet
7057dae67b
475927 - SecureRequestCustomizer fails to match host.
...
Fixed by storing in the SSLSession the SNI names correspondent to the
alias that was selected when the TLS connection was initiated.
2015-08-26 20:36:43 +02:00
Jesse McConnell
f8734f23ce
[maven-release-plugin] prepare for next development iteration
2015-08-25 14:10:01 -05:00
Jesse McConnell
e9edf4c24b
[maven-release-plugin] prepare release jetty-9.3.3.v20150825
2015-08-25 14:09:54 -05:00
Simone Bordet
9b6ba2477c
Removed unnecessary field.
2015-08-20 15:15:06 +02:00
Simone Bordet
aa684a5dcc
470311 - Introduce a proxy-protocol module.
...
Support for the PROXY protocol is now enabled via 2 new modules:
proxy-protocol and proxy-protocol-ssl, respectively for the HTTP
connector and the SSL connector.
2015-08-11 12:17:24 +02:00
Joakim Erdfelt
a3684f7fb8
[maven-release-plugin] prepare for next development iteration
2015-07-30 09:47:57 -07:00
Joakim Erdfelt
798fc8118b
[maven-release-plugin] prepare release jetty-9.2.13.v20150730
2015-07-30 09:47:48 -07:00
Joakim Erdfelt
4b3879845d
[maven-release-plugin] prepare for next development iteration
2015-07-30 07:02:10 -07:00
Joakim Erdfelt
6b7e9ac4b0
[maven-release-plugin] prepare release jetty-9.3.2.v20150730
2015-07-30 07:02:02 -07:00
Greg Wilkins
370abc9df1
473832 SslConnection flips back buffers on handshake exception
2015-07-30 12:09:11 +10:00
Greg Wilkins
a568ee6f17
473832 SslConnection flips back buffers on handshake exception
2015-07-30 11:52:31 +10:00
Greg Wilkins
df6b935b94
470351 Fixed SNI matching of wildcard certificates
2015-07-23 19:49:06 +10:00
Greg Wilkins
6bd4b36221
NPE protection
2015-07-23 12:06:04 +10:00
Greg Wilkins
e1faa5c1e9
Merge remote-tracking branch 'origin/jetty-9.2.x'
...
Conflicts:
jetty-util/src/main/java/org/eclipse/jetty/util/IO.java
jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceTest.java
2015-07-23 11:34:59 +10:00
Greg Wilkins
ac8316756c
473322 - GatherWrite limit handling
2015-07-23 11:32:28 +10:00
Greg Wilkins
607239028c
470727 - Thread Starvation of selector wakeups.
...
Changed the CallBack.NonBlocking to a default Callback.isNonBlocking, so that wrapping callbacks can determine if they are NonBlocking or not.
2015-07-22 17:31:54 +10:00
Jesse McConnell
4b8a6e584f
Merge branch 'release-9.3.1'
2015-07-17 12:10:49 -05:00