Commit Graph

10195 Commits

Author SHA1 Message Date
Greg Wilkins ee3481cb3f fixed ByteArrayEndPoint dispatch 2014-12-24 12:50:19 +01:00
Greg Wilkins 26de8931a3 less verbose errors 2014-12-24 12:42:07 +01:00
Greg Wilkins 3e8969be6f different callbacks for HTTP blocking and async reads 2014-12-24 10:31:33 +01:00
Greg Wilkins fecc03a2f5 fixed some more tests after EWYK refactor 2014-12-23 22:20:49 +01:00
Greg Wilkins 3f59bc4c14 refactored HttpConnector for EWYK - work in progress 2014-12-23 17:15:27 +01:00
Simone Bordet 023c593d35 Removed loop calling the ExecutionStrategy, since it was spinning.
In case of ProduceExecuteRun, the producer is called in a loop, and
it never returns null (unless stopped), so ExecutionStrategy.execute()
never returns.

In case of ExecuteProduceRun, ExecutionStrategy.execute() does return,
but only after it has arranged another thread to continue producing.
Therefore calling ExecutionStrategy.execute() in a loop was spinning
since the ExecutionStrategy had already arranged to produce with
another thread and therefore calling execute() again was a
no-operation hence causing the spinning.
2014-12-23 17:01:10 +01:00
Simone Bordet 9cff4a57e7 Merged branch 'master' into 'jetty-9.3-ewyk'. 2014-12-22 21:34:10 +01:00
Simone Bordet e8c88cfd9c Merged branch 'jetty-9.2.x' into 'master'. 2014-12-22 21:32:09 +01:00
Simone Bordet fc42d5d4aa Configuring output aggregation size when configuring output buffer size. 2014-12-22 21:29:02 +01:00
Simone Bordet c944b06a61 New tests testing request retry. 2014-12-22 21:27:59 +01:00
Greg Wilkins 2a584613ee work in progress on EWYK HTTP 2014-12-21 20:56:36 +01:00
Greg Wilkins e363dd41c2 HttpConnection refactoring work in progress 2014-12-21 15:23:36 +01:00
Greg Wilkins 24ffe377ce improved HttpInputTest 2014-12-21 12:42:27 +01:00
Greg Wilkins ebaf84b97e Refactored HttpInput to use poison pills 2014-12-21 10:43:37 +01:00
Greg Wilkins b0b038f5b0 fillInterest never recurses 2014-12-19 23:03:01 +01:00
Simone Bordet 448f150ac4 Cleaned up ExecutionStrategy by adding javadocs, removing methods not
used and renaming classes and methods to better names.
2014-12-19 11:25:09 +01:00
Simone Bordet 393bfa76f0 Code cleanups. 2014-12-19 10:15:14 +01:00
Simone Bordet 3d5c785dd3 Temporarily commented out non-compiling code. 2014-12-18 17:14:34 +01:00
Simone Bordet 4ccd5207b5 Switched ExecutionStrategy to EWYK. 2014-12-18 17:14:34 +01:00
Simone Bordet e35c51eb7d Implemented dispatch to the application using an ExecutionStrategy.
Now instead of having the channel to dispatch when it detects that it
has to call the application (upon receiving a HEADERS frame, or upon
a push "fake" request), now the whole mechanism is controlled by an
ExecutionStrategy.
2014-12-18 17:14:34 +01:00
Simone Bordet 7f98b64658 Clearing the buffer in case of parser errors that lead to a
connection failure.
2014-12-18 17:14:34 +01:00
Simone Bordet 1c2c83e962 Added TODO to remove references to ByteBuffer.array() without
checking whether the ByteBuffer does have a backing array.
2014-12-18 17:14:34 +01:00
Greg Wilkins 3b34423b17 EWYK SelectorManager 2014-12-18 17:06:32 +01:00
Greg Wilkins 31e06b5791 refactored jetty-io to not have onFillable statemachine. work in progres... 2014-12-18 14:10:06 +01:00
Jan Bartel 5e8e0b11f5 455476 MongoSessionManager sessions always expire at create + maxIdle 2014-12-17 17:08:13 +01:00
Greg Wilkins 97af3632a1 SelectManager executes endpoint tasks 2014-12-17 17:03:15 +01:00
Greg Wilkins bbd2ba60e7 fixed refactor file header 2014-12-17 16:36:46 +01:00
Greg Wilkins cdd2b0a9d2 refacted SelectorManager to have a ManagedSelector 2014-12-17 16:29:24 +01:00
Greg Wilkins 37e7e5217a updated EWYK strategy 2014-12-17 12:52:17 +01:00
Jan Bartel 89a9aa2472 455330 Multiple Jetty-ContextFilePath entries separated by commas doesn't work 2014-12-17 12:22:34 +01:00
Joakim Erdfelt 40ae4767d1 Some extra safety checks 2014-12-16 15:52:33 -07:00
Joakim Erdfelt 2b241ac04b 454773 - SSLConnection use on Android client results in loop
+ Adding safety check for SSL unwrap in client mode that
  results in OK status but no content
2014-12-12 09:24:39 -07:00
Greg Wilkins fe444b28dd 455047 Update JASPI
Added test harnesses. Corrected a few issues.
2014-12-12 16:48:45 +01:00
Jan Bartel 2dd4e9b09e Update version of jetty-osgi-servlet-api artifact for testing. 2014-12-12 15:59:03 +01:00
Jan Bartel 8fa2c8ca60 454955 OSGi AnnotationParser should skip resources that are not in the classpath and close the class inputstream when done scanning it 2014-12-12 15:32:17 +01:00
Jan Bartel 32c27d146c 454954 Jetty osgi should skip fragment and required bundles that are in the uninstalled state 2014-12-12 14:56:33 +01:00
Jan Bartel eb06d7cf5f 454983 Source bundles should not be singleton 2014-12-12 13:40:33 +01:00
Greg Wilkins a71cc6978a Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2014-12-12 11:08:16 +01:00
Joakim Erdfelt 71af18f4b7 454952 - Allow Jetty to run in Java 8 compact 3 profile
+ Simplifying setup, removing entire-project wide compiler setting
 + Setting up jetty-all-compact3 aggregate for the compilation instead
 + Marking various classes that are never going to be safe to use in
   compact3 as excluded
2014-12-11 16:15:12 -07:00
Joakim Erdfelt f96f3489e3 454952 - Allow Jetty to run in Java 8 compact 3 profile
+ Forcing <target> of 8 to satisfy javac error
2014-12-11 15:14:29 -07:00
Joakim Erdfelt 2b196a9ae1 454952 - Allow Jetty to run in Java 8 compact 3 profile
+ Step 1, enable a profile that will use the Java 8 "compact 3" profile
  during compilation time.
2014-12-11 15:12:59 -07:00
Jesse McConnell 1b63d4cfbb fix readme.md from jetty-fcgi info 2014-12-11 12:43:55 -06:00
Jesse McConnell 1be5055547 [Bug 424368] Add CONTRIBUTING.md 2014-12-11 12:35:54 -06:00
Greg Wilkins 113d1ff7bb fixed merge 2014-12-11 14:01:32 +01:00
Greg Wilkins d161bdcb36 Merge remote-tracking branch 'origin/jetty-9.2.x'
Conflicts:
	VERSION.txt
	aggregates/jetty-all/pom.xml
	apache-jsp/pom.xml
	apache-jstl/pom.xml
	examples/async-rest/async-rest-jar/pom.xml
	examples/async-rest/async-rest-webapp/pom.xml
	examples/async-rest/pom.xml
	examples/embedded/pom.xml
	examples/pom.xml
	jetty-alpn/jetty-alpn-client/pom.xml
	jetty-alpn/jetty-alpn-server/pom.xml
	jetty-alpn/pom.xml
	jetty-annotations/pom.xml
	jetty-ant/pom.xml
	jetty-cdi/pom.xml
	jetty-client/pom.xml
	jetty-continuation/pom.xml
	jetty-deploy/pom.xml
	jetty-distribution/pom.xml
	jetty-fcgi/fcgi-client/pom.xml
	jetty-fcgi/fcgi-server/pom.xml
	jetty-fcgi/pom.xml
	jetty-http-spi/pom.xml
	jetty-http/pom.xml
	jetty-io/pom.xml
	jetty-jaas/pom.xml
	jetty-jaspi/pom.xml
	jetty-jmx/pom.xml
	jetty-jndi/pom.xml
	jetty-jsp/pom.xml
	jetty-jspc-maven-plugin/pom.xml
	jetty-maven-plugin/pom.xml
	jetty-monitor/pom.xml
	jetty-nosql/pom.xml
	jetty-osgi/jetty-osgi-alpn/pom.xml
	jetty-osgi/jetty-osgi-boot-jsp/pom.xml
	jetty-osgi/jetty-osgi-boot-warurl/pom.xml
	jetty-osgi/jetty-osgi-boot/pom.xml
	jetty-osgi/jetty-osgi-httpservice/pom.xml
	jetty-osgi/jetty-osgi-npn/pom.xml
	jetty-osgi/pom.xml
	jetty-osgi/test-jetty-osgi-context/pom.xml
	jetty-osgi/test-jetty-osgi-webapp/pom.xml
	jetty-osgi/test-jetty-osgi/pom.xml
	jetty-plus/pom.xml
	jetty-proxy/pom.xml
	jetty-quickstart/pom.xml
	jetty-rewrite/pom.xml
	jetty-runner/pom.xml
	jetty-security/pom.xml
	jetty-server/pom.xml
	jetty-servlet/pom.xml
	jetty-servlets/pom.xml
	jetty-spdy/pom.xml
	jetty-spdy/spdy-alpn-tests/pom.xml
	jetty-spdy/spdy-client/pom.xml
	jetty-spdy/spdy-core/pom.xml
	jetty-spdy/spdy-example-webapp/pom.xml
	jetty-spdy/spdy-http-client-transport/pom.xml
	jetty-spdy/spdy-http-common/pom.xml
	jetty-spdy/spdy-http-server/pom.xml
	jetty-spdy/spdy-npn-tests/pom.xml
	jetty-spdy/spdy-server/pom.xml
	jetty-spring/pom.xml
	jetty-start/pom.xml
	jetty-util-ajax/pom.xml
	jetty-util/pom.xml
	jetty-webapp/pom.xml
	jetty-websocket/javax-websocket-client-impl/pom.xml
	jetty-websocket/javax-websocket-server-impl/pom.xml
	jetty-websocket/pom.xml
	jetty-websocket/websocket-api/pom.xml
	jetty-websocket/websocket-client/pom.xml
	jetty-websocket/websocket-common/pom.xml
	jetty-websocket/websocket-server/pom.xml
	jetty-websocket/websocket-servlet/pom.xml
	jetty-xml/pom.xml
	pom.xml
	tests/pom.xml
	tests/test-continuation/pom.xml
	tests/test-integration/pom.xml
	tests/test-loginservice/pom.xml
	tests/test-quickstart/pom.xml
	tests/test-sessions/pom.xml
	tests/test-sessions/test-hash-sessions/pom.xml
	tests/test-sessions/test-jdbc-sessions/pom.xml
	tests/test-sessions/test-mongodb-sessions/pom.xml
	tests/test-sessions/test-sessions-common/pom.xml
	tests/test-webapps/pom.xml
	tests/test-webapps/test-jaas-webapp/pom.xml
	tests/test-webapps/test-jetty-webapp/pom.xml
	tests/test-webapps/test-jndi-webapp/pom.xml
	tests/test-webapps/test-mock-resources/pom.xml
	tests/test-webapps/test-proxy-webapp/pom.xml
	tests/test-webapps/test-servlet-spec/pom.xml
	tests/test-webapps/test-servlet-spec/test-container-initializer/pom.xml
	tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml
	tests/test-webapps/test-servlet-spec/test-web-fragment/pom.xml
	tests/test-webapps/test-webapp-rfc2616/pom.xml
2014-12-11 13:50:21 +01:00
Greg Wilkins 4d7ea8127e Revert "453829 removed code with yahoo copyright"
This reverts commit 65c7b621f6.
The yahoo copyright messages were removed by the contributor in the bugzilla/pullrequest
2014-12-11 13:47:07 +01:00
Jan Bartel 0db02049ad 440506 Jetty OSGi boot bundle does not support OSGi framework Eclipse Concierge 2014-12-10 14:57:48 +01:00
Greg Wilkins f3791a9b06 minor EWYK changes 2014-12-10 13:34:11 +01:00
Greg Wilkins d5feadd241 minor EWYK changes 2014-12-10 13:30:50 +01:00
Greg Wilkins 28fb3e45d0 453636 Improved spin detection on test 2014-12-10 10:16:16 +01:00