Commit Graph

10607 Commits

Author SHA1 Message Date
Simone Bordet 44d262c65a Renamed GatheringCallback to CountingCallback. 2015-02-10 13:16:41 +01:00
Simone Bordet 7dffe4f082 459542 - AsyncMiddleManServlet race condition on first download content.
Fixed the race condition by submitting a zero length buffer to write
from onWritePossible() which will succeed the callback without
causing races.
2015-02-10 13:16:41 +01:00
Simone Bordet 12e2f9e6c8 459542 - AsyncMiddleManServlet race condition on first download content.
Fixed the race condition by submitting a zero length buffer to write
from onWritePossible() which will succeed the callback without
causing races.
2015-02-10 13:10:57 +01:00
Joakim Erdfelt 7f0a073b54 Merge branch 'jetty-9.2.x' 2015-02-09 14:50:34 -07:00
Joakim Erdfelt 7b00f6857f Print full RUN_CMD when jetty.sh -d is called
Also-by: Mike Dillon <mike@embody.org>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2015-02-09 14:22:40 -07:00
Simone Bordet cb5541b58e Merged branch 'jetty-9.2.x' into 'master'. 2015-02-09 17:39:16 +01:00
Simone Bordet 273854835f Made HttpClientTransportOverHTTP2 a ContainerLifeCycle, so that it
can manage the start/stop of HTTP2Client.
2015-02-09 17:33:10 +01:00
Simone Bordet 53813d94a9 Reduced logging level in test configuration. 2015-02-09 17:00:48 +01:00
Simone Bordet 3855024bba Added tests for HTTP2Client idle timeout. 2015-02-09 16:53:22 +01:00
Simone Bordet f974c74329 Implemented HTTP2Client connect timeout. 2015-02-09 16:22:21 +01:00
Simone Bordet 85edb7e573 Improved configurability of HTTP2Client. 2015-02-09 14:24:09 +01:00
Simone Bordet d0f0aa7c9f Fixed removal of streams upon sending the response HEADERS frame. 2015-02-09 13:26:01 +01:00
Simone Bordet 7066f65e8c 423974 - Optimize flow control.
Implemented a buffering FlowControlStrategy that reduces the amount
of WindowUpdate exchanges.
2015-02-09 13:25:32 +01:00
Simone Bordet 1274bb9e43 Implemented dump() to print out the scheduler thread stack trace. 2015-02-09 12:13:18 +01:00
Simone Bordet e3ae501db8 Improved AbstractEndPoint.toString() to print for how long it has been idle. 2015-02-09 12:12:14 +01:00
Simone Bordet 2a749dc0ea Fail the callback in case we cannot activate a newly created connection. 2015-02-09 12:11:18 +01:00
Simone Bordet fa72356d1d Fixed failure of stalled frames. 2015-02-09 09:11:56 +01:00
Simone Bordet 02b5732720 First take at implementing the HttpClientTransport for HTTP2. 2015-02-09 09:11:56 +01:00
Simone Bordet 96132dbe45 Merged branch 'jetty-9.2.x' into 'master'. 2015-02-09 08:56:03 +01:00
Simone Bordet 43f14997d8 Improved toString() methods for better reporting during dump(). 2015-02-09 08:54:52 +01:00
Joakim Erdfelt 32ae2a15b2 Typo 2015-02-06 15:48:44 -07:00
Simone Bordet 99da9ce98e Merged branch 'jetty-9.2.x' into 'master'. 2015-02-06 21:45:22 +01:00
Simone Bordet ee16dfd066 Added test to verify the complete event is not fired until the
content is consumed.
2015-02-06 21:42:07 +01:00
Simone Bordet 12eaedd96b Refactored HttpDestination to allow customization of the request enqueuing.
Subclasses may override enqueue() and provide a different algorihtm.
2015-02-06 21:42:07 +01:00
Greg Wilkins b1953a6859 added private key for debugging 2015-02-06 15:51:01 +11:00
Greg Wilkins 14cd10b676 experimenting with push API 2015-02-06 13:48:34 +11:00
Greg Wilkins 21e8cf68b6 allow InetSocketAddress to be translated in ConnectHandler 2015-02-06 11:17:36 +11:00
Greg Wilkins ab8b7f8c8d PushBuilder uses full URI 2015-02-06 10:44:19 +11:00
Greg Wilkins 4ed6069aa8 default to delayed dispatch 2015-02-05 14:54:13 +11:00
Greg Wilkins 858a6e7ed1 Merge remote-tracking branch 'origin/jetty-9.2.x'
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpInput.java
2015-02-05 14:42:49 +11:00
Greg Wilkins 504ff73d03 default to delayed dispatch 2015-02-05 14:39:49 +11:00
Greg Wilkins d08fced010 handle slow arriving input 2015-02-05 14:27:05 +11:00
Greg Wilkins 7db7ef3020 Added test cases and improved isReady and isFinished handling 2015-02-05 14:26:34 +11:00
Greg Wilkins f6cfe07a69 added direct buffer configuration 2015-02-05 10:02:01 +11:00
Greg Wilkins 1576c68a52 fixed finger trouble bugs 2015-02-05 09:36:05 +11:00
Greg Wilkins 2971f868d5 fixed header 2015-02-05 08:46:02 +11:00
Joakim Erdfelt 96ebeed9d9 Merge branch 'jetty-9.2.x' 2015-02-04 12:47:42 -07:00
Joakim Erdfelt 741d7891f3 459006 - master branch does not build on norwegian locale
+ Adding appropriate locale settings to testcases to prevent
  machine specific locale from changing the expectations.

Bug: 496006
Also-by: Kristian Rosenvold <kristian@zenior.no>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2015-02-04 10:41:04 -07:00
Greg Wilkins 2563ef6871 458527 - Implement an async proxy servlet that can perform content transformations.
Handle jetty-9.3 isReady at EOF behaviour
2015-02-04 16:27:29 +11:00
Greg Wilkins 5e95caaf29 added test for async IO isNotReadyAtEOF 2015-02-04 13:15:01 +11:00
Greg Wilkins 47055dd2c8 added test for async IO isNotReadyAtEOF 2015-02-04 12:40:36 +11:00
Greg Wilkins 40ffac3339 Merge remote-tracking branch 'origin/jetty-9.2.x' 2015-02-04 12:35:34 +11:00
Greg Wilkins 44b3abc839 added test for async IO isNotReadyAtEOF 2015-02-04 12:35:04 +11:00
Greg Wilkins f5588c7ada Merge remote-tracking branch 'origin/jetty-9.2.x' 2015-02-04 11:44:43 +11:00
Greg Wilkins acbffecb60 added test for async IO isNotReadyAtEOF 2015-02-04 11:43:19 +11:00
Greg Wilkins 65b8872227 Merge remote-tracking branch 'origin/jetty-9.2.x' 2015-02-04 10:59:34 +11:00
Greg Wilkins be127ee0cf added test for async IO isNotReadyAtEOF 2015-02-04 10:58:57 +11:00
Joakim Erdfelt b90c83250e Merge branch 'jetty-9.2.x' 2015-01-30 11:45:40 -07:00
Joakim Erdfelt 56ff29568f 458849 - org.eclipse.jetty.util.Uptime.DefaultImpl() not available on GAE 2015-01-30 11:45:06 -07:00
Joakim Erdfelt 762f353e0e Reverting default behavior of StdErrLog to original format.
+ Making tagPad default 0 (not 50) as this preserves backward
  compatibility for those folks that rely on the output format being a
  certain way.
+ Moving lookup from System properties to Logging properties format
  instead
2015-01-30 10:20:42 -07:00