Commit Graph

8837 Commits

Author SHA1 Message Date
Jan Bartel b198234d5b Ensure that jetty-annotations manifest uses 4.1 or above for asm, and that the jetty osgi spdy tests use only 4.1. 2014-03-27 17:08:57 +11:00
Joakim Erdfelt 2f6f210174 430747 - jetty-start / Allow --lib and module [lib] to recursively add jars
+ --lib={pattern} now supported
  + regular searching rules (for BaseHome) apply
  + even supporting multiple lib pattern entries via File.pathSeparator
    separation, resulting in support for command lines like this:
       --lib=/opt/common/lib/**.jar:lib/db/*.jar
  + {pattern} can be any valid java.nio.file.PathMatcher of syntax "glob:"
    (since we rely on File.pathSeparator to break apart the --lib line
    the existence of that same char in "glob:" and "regex:" means that
    supporting both syntaxes of (regex and glob) isn't going to make
    writing this line easy for the user.  opting for glob only seems
    like a good compromise)
2014-03-26 19:22:20 -07:00
Joakim Erdfelt dfbe5c92c6 426920 - jetty-start / BaseHome.listFilesRegex() and .recurseDir() do not detect filesystem loops
+ Using java.nio.files to walk directory tree and detect filesystem
  loops
+ All standard PathMatching patterns now work. ("glob:" and "regex:")
2014-03-26 19:01:05 -07:00
Joakim Erdfelt 1444ffadb8 Reverting <modules> in parent pom in favor of spdy and osgi specifics 2014-03-26 14:06:23 -07:00
Joakim Erdfelt b835aab06f 430825 - jetty-start / use of jetty-jmx.xml prevents configuration of ThreadPool in jetty.xml
+ Flipped dependencies around from:
     server -(optional) -> jmx
  to:
     jmx -> server
2014-03-26 11:59:59 -07:00
Joakim Erdfelt a52925efcc 431279 - jetty-start / Unable to start jetty if no properties are defined.
+ Removed spurious check for no properties set (as System Properties are
  not part of that check, but should have been, which essentially means
  that there is never no properties available)
2014-03-26 11:34:08 -07:00
Joakim Erdfelt 6600abd3f9 Adding more start debug for lib resolution steps 2014-03-26 11:34:06 -07:00
Joakim Erdfelt 4f051fecf3 More work to make alpn & npn builds sane 2014-03-25 15:47:15 -07:00
Joakim Erdfelt 3e500a6f48 Adding alpn.version to other compatible java 7 updates 2014-03-25 11:25:16 -07:00
Joakim Erdfelt 6cba8ee375 Sprinkling in some test timeouts for the Java 8 build 2014-03-25 10:43:38 -07:00
Joakim Erdfelt aea74ea2da Attempting to fix OSGi build for Java 8 2014-03-25 09:01:11 -07:00
Joakim Erdfelt fab377335f 419801 - Upgrade to asm5 for jdk8
+ Upgrading to version 5.0.1
2014-03-25 08:59:23 -07:00
Simone Bordet f0fc00ea50 Merged branch 'master' into 'jetty-9-alpn'. 2014-03-21 21:35:26 +01: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
Simone Bordet 529dde5ea4 Cleaned up wrong or unused configuration, and replaced NPN with ALPN. 2014-03-21 12:22:06 +01: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 52b34020a0 Implemented ALPN client-side connection.
This time added implementation classes :)
2014-03-20 21:28:13 +01:00
Simone Bordet 947e59f2b4 Implemented ALPN client-side connection. 2014-03-20 19:32:25 +01:00
Simone Bordet 3692ac17d4 Merged branch 'master' into 'jetty-9-alpn'. 2014-03-20 16:34:44 +01: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
Simone Bordet 3f02e56514 Merged branch 'master' into 'jetty-9-alpn'. 2014-03-20 12:19:03 +01:00
Simone Bordet 919e41114c Updated POMs to use ALPN. TestJettyOSGiBootSpdy still not working. 2014-03-20 12:09:54 +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
Simone Bordet ec30202533 Merged branch 'master' into 'jetty-9-alpn'. 2014-03-19 10:52:02 +01: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
Simone Bordet 48bd41ab83 Updated ALPN API version to 1.0.0. 2014-03-19 12:57:50 +11:00
Simone Bordet d77b07d687 Refactored SPDY modules and added ALPN tests. 2014-03-19 12:57:50 +11:00
Simone Bordet dba8555825 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-19 12:57:50 +11:00
Simone Bordet b3669c499c Refactored SPDY modules to extract into a different module the tests
that required NPN to run.
2014-03-19 12:57:50 +11:00
Simone Bordet b3b669166f Implemented ALPNServerConnection and refactored common code with NPN. 2014-03-19 12:57:50 +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