Commit Graph

8847 Commits

Author SHA1 Message Date
Jan Bartel eb45d45dbf 432483 jetty-annotations bundle does not start if there are no bundles that provide a service javax.servlet.ServletContainerInitializer
(cherry picked from commit f2f5353a29)
2014-04-11 17:27:58 +10:00
Simone Bordet aebab6919c Improved IllegalStateException reporting. 2014-04-10 09:04:40 +02:00
Simone Bordet dfa2d05bcc 432270 - Slow requests with response content delimited by EOF fail.
Better handling of the idle case, and closing the connection only
if the response can be failed.
2014-04-10 09:04:11 +02:00
Simone Bordet 8e24cdf913 Fixed timeout value left over during debugging. 2014-04-10 09:03:46 +02:00
Simone Bordet 74d66a87f6 Made the test more reliable. 2014-04-10 09:03:19 +02:00
Simone Bordet 3cd7dfd445 432270 - Slow requests with response content delimited by EOF fail.
Fixed by using a flag to determine the need to close the connection,
and by closing the connection only at exchange termination.
2014-04-10 09:00:17 +02:00
Simone Bordet e3662a9b23 432145 - Pending request is not failed when HttpClient is stopped.
Fixed by fixing the code in close() to also abort pending exchanges.
Reviewed for HTTP, FastCGI and SPDY transports.
2014-04-10 08:59:30 +02:00
Greg Wilkins 0e458c80f4 reverted version to SNAPSHOT 2014-04-10 16:37:25 +10:00
Greg Wilkins 9f3e986119 431519 Fixed NetworkTrafficListener 2014-04-10 16:24:20 +10:00
Jan Bartel 268ca92ce2 432473 web.xml declaration order of filters not preserved on calls to init() 2014-04-10 09:39:58 +10:00
Jesse McConnell c616ece6c7 [maven-release-plugin] prepare release jetty-9.1.4.v20140401 2014-04-02 10:55:21 -05:00
Jesse McConnell 46c1734817 Updating VERSION.txt top section 2014-04-01 09:01:59 -05:00
Jesse McConnell f842fe6c7c Merge branch 'master' into release-9 2014-04-01 09:00:23 -05:00
Simone Bordet 860ea9c329 Made easier for subclasses to customize the response code in case of
rewrite failed.
2014-04-01 15:50:41 +02:00
Jesse McConnell c35618ee20 fixed merge conflict in version.txt 2014-04-01 08:18:20 -05:00
Greg Wilkins a1d20956b1 deferred apache and quickstart until 9.2 2014-03-31 14:01:39 +11:00
Greg Wilkins 325c4df482 431592 - do not resolved forwarded-for address 2014-03-31 12:17:53 +11:00
Greg Wilkins c895f6dbcd organised imports 2014-03-31 09:57:59 +11:00
Simone Bordet a7f9e5a674 Made test more reliable. 2014-03-28 19:34:03 +01:00
Simone Bordet f36700092c Don't assert on existing directories/files. 2014-03-27 16:11:11 +01:00
Simone Bordet 342c97d8ba 430654 - closing client connections can hang worker threads.
Prettified usage of NonBlockingThread and added Javadocs.
2014-03-27 15:37:23 +01:00
Simone Bordet 1089a33578 Fixed imports referencing JUnit 3 and old matcher libraries. 2014-03-27 15:34:48 +01:00
Greg Wilkins 86d13b91a5 430654 avoid dispatching failure callbacks 2014-03-27 19:08:16 +11:00
Simone Bordet cda4af3ec9 431103 - Complete listener not called if request times out before processing exchange.
Fixed by forcing the abort of the exchange in [Pooling|Multiplex]HttpDestination.
2014-03-25 18:18:14 +01:00
Greg Wilkins 5c188e02b7 improved AsyncServletTest 2014-03-24 15:11:40 +11:00
Jan Bartel d0b70ee259 414885 Don't expose JDT classes by default 2014-03-24 14:13:28 +11:00
Greg Wilkins 8a166840d1 Revert "remove java7 generics"
This reverts commit e3c594b152.
2014-03-24 11:55:50 +11:00
Greg Wilkins e3c594b152 remove java7 generics 2014-03-24 11:53:21 +11:00
Simone Bordet 382bfebcae Removed code that should never run, and replaced it wil IllegalStateException. 2014-03-22 14:49:00 +01:00
Greg Wilkins 710ea48244 430654 430242 - Closeable SharedBlockingCallback 2014-03-22 09:36:09 +11:00
Greg Wilkins 5d83a43cce 430242 - added SharedBlockingCallback to support threadsafe blocking 2014-03-22 08:42:03 +11:00
Simone Bordet 0330f509e6 424107 - Jetty should not finish chunked encoding on exception.
Implemented abort() - empty - in HttpTransportOverFastCGI.
2014-03-21 21:29:43 +01:00
Simone Bordet 565d17dc8c 430808 - OutputStreamContentProvider violates OutputStream contract.
Fixed OutputStreamContentProvider to perform blocking write() calls and
implemented OutputStream.flush().
HttpSender now notifies the ContentProvider iterator of write completion
and if it implements Callback.
This is used in DeferredContentProvider to provide a blocking flush()
functionality.
2014-03-21 21:15:31 +01:00
Simone Bordet 5c0aae2f12 Removed unused field in ResponseNotifier.
Catching Throwable in RequestNotifier and ResponseNotifier when
notifying listeners.
2014-03-21 21:15:31 +01:00
Joakim Erdfelt a55ae9e58c 427204 - jetty-start / startup incorrectly requires directory in jetty.base
+ Removing start failure on missing [files] entries as this would
  prevent startup when the user has configured to alternative files
  locations.  The modules directives for [files] are defaults,
  best practice, not required content.  It now warns only on
  missing download directives.
2014-03-21 11:54:41 -07:00
Joakim Erdfelt e1540be4cf 428817 - jetty-start / Allow for property to configure deploy manager `webapps` directory
+ Adding 'jetty.deploy.monitoredDirName' property
2014-03-21 11:54:41 -07:00
Greg Wilkins 138dfba560 Revert "430242 - added SharedBlockingCallback to support threadsafe blocking"
This reverts commit 9c30e7a303.
2014-03-21 17:55:48 +11:00
Greg Wilkins bbfb5c7237 430649 test form encoding 2014-03-21 15:38:11 +11:00
Greg Wilkins 18f75011b4 430490 Added JETTY_SHELL
426738 Fixed JETTY_HOME comments
2014-03-21 13:54:23 +11:00
Greg Wilkins 0d1fca545c 424107 Abort HttpTransport if already committed on error 2014-03-21 13:51:30 +11:00
Greg Wilkins 367c43a7b3 423982 removed duplicate UrlResource toString 2014-03-21 12:56:53 +11:00
Joakim Erdfelt 116f6bc281 430822 - jetty-start / make soLingerTime configurable via property
+ Added 'https.soLingerTime' and 'http.soLingerTime' properties
2014-03-20 17:11:35 -07:00
Joakim Erdfelt 267542b315 430823 - jetty-start / make NeedClientAuth (ssl) configurable via property
+ Added 'jetty.ssl.needClientAuth' for required client certificate auth
+ Added 'jetty.ssl.wantClientAuth' for desried client certificate auth
2014-03-20 14:41:53 -07:00
Joakim Erdfelt 18fb0c8877 430824 - jetty-start / use of jetty-logging.xml prevents configuration of ThreadPool in jetty.xml
+ Setting <Configure> to configure itself, not Server
2014-03-20 14:13:29 -07:00
Simone Bordet b994db698c Refactored NPN code for the soon-to-arrive ALPN code.
Moved NPN tests to new module spdy-npn-tests, that now is the only module
requiring the -Xbootclasspath configuration for the Maven Surefire Plugin.
2014-03-20 16:22:43 +01:00
Simone Bordet 48c803b693 JDK 8 build fix: now test uses LinkedHashMap to avoid random position of attributes in XML. 2014-03-20 15:26:09 +01:00
Greg Wilkins a3ae739ca3 423619 set Request timestamp on startRequest 2014-03-20 13:31:21 +11:00
Greg Wilkins 31a377d829 425991 added qml mime type 2014-03-20 12:49:49 +11:00
Greg Wilkins 0b1c4b6d8b 426897 improved ContainerLifeCycle javadoc 2014-03-20 12:43:36 +11:00
Greg Wilkins 0d876de759 414206 Rewrite rules re-encode requestURI 2014-03-20 11:32:01 +11:00