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
Simone Bordet
c69c7b29c7
Fixes #1878 - Handle 100 Continue response without Expect header.
2017-10-09 12:08:24 +02: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
5452ed18fa
Issue#215 fixed tests dependencies
2017-09-21 10:19:32 +10: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
d9ade0678c
Added JMX support.
2017-09-08 10:52:40 +02: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
b9a946f76e
Made test more robust.
2017-08-21 17:00:40 +02:00
Simone Bordet
87d090e062
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-08-11 16:42:21 +02: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
Joakim Erdfelt
585f126b48
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x-clean
2017-08-08 09:24:41 -07:00
Simone Bordet
191b6e044f
Fixes #1656 - Improve configurability of ConnectionPools.
...
Introduced ConnectionPool.Factory and HttpClientTransport.connectionPoolFactory.
This allows applications to create a ConnectionPool given the HttpDestination.
2017-08-08 09:14:19 -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
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
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
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
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
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
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
Joakim Erdfelt
307d23975e
Updating to version 9.3.17.v20170317
2017-03-17 09:07:39 -07:00
Greg Wilkins
6102861755
made test have longer timeouts
2017-03-10 15:00:45 +11:00
Greg Wilkins
bd6e888be4
made test have longer timeouts
2017-03-10 14:58:47 +11:00
Greg Wilkins
48131f1fab
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-09 23:40:51 +11:00
Greg Wilkins
aacc59bb57
made test less stressful
2017-03-09 23:37:36 +11:00
Greg Wilkins
0a2da4822d
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-06 14:20:23 +11:00
Simone Bordet
affeb67f1a
Issue #1375 - Support pushed resources in HTTP client.
...
Implemented in the non-API HttpRequest class.
2017-03-05 19:01:08 +01:00
Simone Bordet
daa2a217e3
Fixes #1184 - IllegalStateException for HEAD requests responded with 404.
...
Fixed additional code path for requests with Accept header and non-404 response.
2017-02-26 16:20:28 +01:00
Joakim Erdfelt
523fab30bd
Updating to version 9.4.3-SNAPSHOT
2017-02-20 08:13:31 -07:00
Joakim Erdfelt
4a674b9cc9
Updating to version 9.4.2.v20170220
2017-02-20 06:22:45 -07:00
Greg Wilkins
e4028fa4d4
Issue #1317 cleanup
2017-02-09 22:52:38 +11:00
Greg Wilkins
8ecfbab79f
Issue #1047 - ReadPendingException and then thread death.
...
Alternate fix. Tracking needed vs interested state within HttpChannelState rather
that ignoring duplicate interest registrations.
2017-02-08 15:58:35 +11:00
Simone Bordet
e01636d109
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-02-07 22:31:06 +01:00
Simone Bordet
369c73ab45
Issue #1047 - ReadPendingException and then thread death.
...
Fixed by calling tryFillInterested() rather than fillInterested() to
cope with the race between reads scheduling read interest and
setWriteListener() that also executes code in
HttpChannelState.unhandle() that wants to schedule read interest.
2017-02-07 22:23:52 +01:00
Jesse McConnell
d0c33ebe8b
Updating to version 9.4.2-SNAPSHOT
2017-01-20 10:49:06 -06:00
Jesse McConnell
556ecbcdcf
Updating to version 9.4.1.v20170120
2017-01-20 09:47:53 -06:00
Jesse McConnell
66b43ecda8
Updating to version 9.3.17-SNAPSHOT
2017-01-20 09:33:43 -06:00