10665 Commits

Author SHA1 Message Date
Greg Wilkins
042de2ec9f 461452 Double release of buffer by HttpReceiverOverHTTP
Updated HttpParse to always return from parseNext when messageComplete is called.  This allows it to notice reentrant state changes
and removes the need for HttpReceiverOverHTTP.methodComplete to return true, thus avoiding the race.
2015-03-05 15:26:19 +11:00
Greg Wilkins
418a60bbd0 461452 Double release of buffer by HttpReceiverOverHTTP
Updated comments to better describe the race to double release the buffer
2015-03-05 12:15:31 +11:00
Greg Wilkins
8cbab09527 461452 Double release of buffer by HttpReceiverOverHTTP
This commit is just a tidy up of the code to reduce the size of the race causing this problem.  It is not a fix.
2015-03-05 11:05:35 +11:00
Simone Bordet
40ad8dc608 Notifying the "failure" event for request and response when the failure
is detected during the processing of another event.
2015-03-04 01:01:09 +01:00
Simone Bordet
213d6e1fbd Added test for large chunked gzipped content. 2015-03-02 19:18:29 +01:00
Simone Bordet
3162ccc299 Fixed dependency on old test helper classes. 2015-03-02 17:00:52 +01:00
Simone Bordet
4caf991e44 Made test run only under JDK 8. 2015-03-02 16:39:31 +01:00
Simone Bordet
3cf2a5409d Updated toolchain's test helper to 2.9. 2015-03-02 16:37:37 +01:00
Simone Bordet
bfda3fb5e3 Improved logging. 2015-03-02 13:17:26 +01:00
Simone Bordet
9f76995086 Restored ALPN tests. 2015-03-02 13:17:26 +01:00
Simone Bordet
46bcc31f3b Renamed Drupal and WordPress example classes, SPDY -> HTTP2. 2015-03-02 11:23:37 +01:00
Simone Bordet
66df49bb4c Clarified test code. 2015-03-02 09:57:42 +01:00
Simone Bordet
73821e7ac6 461052 - Local streams created after INITIAL_WINDOW_SIZE setting have wrong send window.
Fixed by tracking both send and recv initial stream windows.
This is needed because both client and server may send an
INITIAL_WINDOW_SIZE setting, and they must be treated
separately.
2015-02-27 19:21:35 +01:00
Simone Bordet
b533aa6ce5 Made tests more stable.
Naked writes could throw WritePendingException.
Now we wait until the client has finished sending the reply to the
server SETTINGS frame, then we do the naked write.
2015-02-27 12:30:42 +01:00
Simone Bordet
ec2fcb6648 Made tests more stable by consuming the content on the server.
When the content was not consumed, it was possible that the response
arrived to the client before it was able to send the whole request
content.
In some cases/tests this would cause the request to fail, thereby
failing the test as well.
2015-02-27 11:06:57 +01:00
Simone Bordet
b86ab56cfc Fixed test. 2015-02-27 10:26:24 +01:00
Simone Bordet
27beeff164 Merged branch 'jetty-9.2.x' into 'master'. 2015-02-27 09:56:32 +01:00
Greg Wilkins
4e1de48ba6 Simplified Gzip test 2015-02-27 13:54:41 +11:00
Greg Wilkins
8ec5cab568 fixed LocalClient issue with integration tests 2015-02-27 11:18:45 +11:00
Simone Bordet
da80498c56 Improved logging. 2015-02-26 23:38:27 +01:00
Simone Bordet
bbc2d0c29d Simplified abort logic. 2015-02-26 23:26:24 +01:00
Simone Bordet
31a0b36f3c Improved logging and toString() implementations. 2015-02-26 23:26:24 +01:00
Simone Bordet
008b03ac78 460905 - Make sure TimeoutCompleteListener is cancelled if the request cannot be sent. 2015-02-26 12:25:42 +01:00
Simone Bordet
d5a6ad2345 460905 - Make sure TimeoutCompleteListener is cancelled if the request cannot be sent. 2015-02-26 10:56:19 +01:00
Greg Wilkins
165ae8f238 Improved LocalConnector 2015-02-26 20:13:45 +11:00
Greg Wilkins
af70c4bd48 protect event schedule race 2015-02-26 15:37:51 +11:00
Greg Wilkins
752973931e Improved request buffer recycling
Added a reference count that is incremented for each content reference passed and decremented as each content is consumed.
The request buffer is only filled or recycled if the reference count is 0
2015-02-26 13:04:50 +11:00
Joakim Erdfelt
15cc66f20d Merge branch 'jetty-9.2.x' 2015-02-25 16:10:26 -07:00
Joakim Erdfelt
7b25674aca Adding reference to patched versions of jetty-http jars 2015-02-25 16:10:06 -07:00
Joakim Erdfelt
78665b325d Minor update to javadoc 2015-02-25 09:40:10 -07:00
Joakim Erdfelt
a751943643 Merge branch 'jetty-9.2.x' 2015-02-25 07:47:58 -07:00
Joakim Erdfelt
8402d8c100 Adding 9.3 to advisory 2015-02-25 07:46:55 -07:00
Joakim Erdfelt
a913fdeae0 Merge branch 'jetty-9.2.x' 2015-02-25 07:34:24 -07:00
Joakim Erdfelt
8efa8de39d Update to advisory 2015-02-25 07:34:01 -07:00
Greg Wilkins
a24f702537 Avoid dispatch in HttpOutput 2015-02-25 19:33:43 +11:00
Greg Wilkins
2d096b677f removed ALPN from test 2015-02-25 18:23:54 +11:00
Greg Wilkins
551b339f67 Added a HttpInput integration test 2015-02-25 16:20:00 +11:00
Greg Wilkins
9b40f6e0dd Added a HttpInput integration test 2015-02-25 15:35:51 +11:00
Greg Wilkins
0ee278902d Added a HttpInput integration test 2015-02-25 15:26:51 +11:00
Joakim Erdfelt
9756ad9fad Merge branch 'jetty-9.2.x' 2015-02-24 17:18:11 -07:00
Joakim Erdfelt
cfca172dd6 Adding credits for discovery 2015-02-24 17:17:50 -07:00
Greg Wilkins
26c4f3ab20 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2015-02-25 10:48:15 +11:00
Greg Wilkins
f44bf8e368 460210 - ExecutionStragegy producer for SelectManager calls onOpen from produce method
Further refactoring.   Handle the initial onDataAvailable and final onAllDataRead calls
specially, as they may need to be called without scheduling read interest.
2015-02-25 10:47:09 +11:00
Joakim Erdfelt
e5fdf98d19 Merge branch '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-jmx/jmx-webapp-it/pom.xml
	tests/test-jmx/jmx-webapp/pom.xml
	tests/test-jmx/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
2015-02-24 14:53:54 -07:00
Joakim Erdfelt
1e502d4922 Adding advisory text 2015-02-24 14:43:59 -07:00
Jesse McConnell
1659d83978 [maven-release-plugin] prepare for next development iteration 2015-02-24 10:38:33 -06:00
Jesse McConnell
dc0c3f4c52 [maven-release-plugin] prepare release jetty-9.2.9.v20150224 jetty-9.2.9.v20150224 2015-02-24 10:38:28 -06:00
Jesse McConnell
12031d77af set for release 2015-02-24 10:06:46 -06:00
Jesse McConnell
33b5cc80bb set for release 2015-02-24 10:06:13 -06:00
Simone Bordet
7c315ebce5 Fixed test. 2015-02-24 15:59:32 +01:00