Commit Graph

8829 Commits

Author SHA1 Message Date
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
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
Joakim Erdfelt c251d5789d Adding some getRequestURI tests to validate servlet behavior 2014-03-19 11:08:30 -07:00
Jan Bartel 78ce25fa06 Fix incorrect pattern for ContainerIncludeJarPattern. 2014-03-19 13:24:04 +11:00
Jan Bartel d1c69900ca 427185 Add org.objectweb.asm. as serverClass 2014-03-19 13:20:31 +11:00
Greg Wilkins a85b855921 Revert ALPN and java 8 changes to move to another branch
Reverts e9ecd8c,2f22a10,addc49f,f4e4b09,cf1c245
Disabled unit test from commit 47e7583
2014-03-19 12:54:04 +11:00
Simone Bordet e9ecd8c966 Updated ALPN API version to 1.0.0. 2014-03-19 00:12:37 +01:00
Simone Bordet 2f22a1066c Refactored SPDY modules and added ALPN tests. 2014-03-18 23:59:19 +01:00
Simone Bordet addc49f391 Initial support for JDK 8 builds.
Added ALPN version and moved jetty-osgi module to a profile, only
built when using JDK 7.
2014-03-18 23:59:18 +01:00
Simone Bordet f4e4b093d4 Refactored SPDY modules to extract into a different module the tests
that required NPN to run.
2014-03-18 23:59:18 +01:00
Simone Bordet cf1c2451d6 Implemented ALPNServerConnection and refactored common code with NPN. 2014-03-18 23:59:18 +01:00
Greg Wilkins 119718d86f added jetty-quickstart module 2014-03-19 09:56:19 +11:00
Jan Bartel 1ffd308bbe Remove duplicate mock classes; updated version of annotation and transaction dependencies 2014-03-18 16:13:40 +11:00
Joakim Erdfelt 47e7583ada 430088 - OnMessage*Callable decoding of streaming binary or text is not thread safe
+ Adding testcase for Decoder.TextStream and lots of short messages with
  order indicator (for the order in which they were sent)
  Test case validates that all of the messages were received, not that
  they were in any particular order (as the use of Streaming prevents
  reliable ordering)
+ Adding defensive copy of callable array in order to prevent any
  possibility of concurrency issues with streams and dispatched
  calls.
2014-03-17 15:05:55 -07:00
Simone Bordet 2ddb5f7dea Javadocs. 2014-03-17 11:40:36 +01:00
Joakim Erdfelt e1417861b9 430088 - OnMessageTextStreamCallable is not thread safe
+ Adding client side testcase for Decoder.TextStream use with a Reader
  and multiple frames being received.
2014-03-14 13:46:47 -07:00