Commit Graph

8641 Commits

Author SHA1 Message Date
Jan Bartel ec8dabfa5b Update realm.properties for test-spec-webapp for use with jetty-maven-plugin 2014-02-07 12:16:05 +11:00
Simone Bordet 21d938f12d 427587 - MessageInputStream must copy the payload.
Forgot to flip the buffer.
2014-02-06 22:39:02 +01:00
Simone Bordet cf37533d87 427587 - MessageInputStream must copy the payload. 2014-02-06 21:18:21 +01:00
Simone Bordet e2805b5b1b Using jetty-test-helper version 2.7. 2014-02-06 16:47:57 +01:00
Simone Bordet 1841b3ec87 427572 - Default number of acceptors too big.
Defaulted to 1+cores/16.
2014-02-06 16:47:57 +01:00
Jesse McConnell 4d4b0c42e7 [Bug 427570] externalize common http config to start.ini 2014-02-06 09:14:28 -06:00
Simone Bordet 9356ab46da Made test more robust.
The check for the connection being closed may fail spuriously because
the notification of CompleteListener happens before the connection is
closed.
2014-02-06 11:56:25 +01:00
Simone Bordet 5edf2799e9 Made test more robust.
The response may arrive on client before the server notifies the
complete listeners, so the assert on client side was spuriously
failing to check the completion on server side.
2014-02-06 11:27:22 +01:00
Jan Bartel 51aedd2393 426358 NPE generating temp dir name if no resourceBase or war 2014-02-06 12:06:47 +11:00
Jan Bartel c5c553260f 424171 Old javax.activation jar interferes with email sending 2014-02-06 10:31:35 +11:00
Simone Bordet 8e03498b0d Renamed NetworkTrafficSelectChannelConnector to
NetworkTrafficServerConnector and deprecated the old class.
2014-02-05 23:05:23 +01:00
Simone Bordet f147362915 427512 - ReadPendingException in case of HTTP Proxy tunnelling.
Fixed by marking the old HttpConnection as "soft closed", that is
make it so that isClosed() returns true but the underlying EndPoint
is not closed.
This allows the HttpReceiver to skip the registration for fill
interest, so that the ReadPendingException is not thrown.
2014-02-05 21:30:06 +01:00
Greg Wilkins 7725056234 426750 isReady() returns true at EOF 2014-02-05 17:34:22 +11:00
Jesse McConnell ba318ccbd3 [426003] active modules with missing dependencies fail accordingly, non-active with missing deps fail silently 2014-02-04 14:09:16 -06:00
Jan Bartel 4844508c5f 427245 StackOverflowError when session cannot be de-idled from disk 2014-02-04 19:25:34 +11:00
Simone Bordet 5d9360e343 427254 - Cookies are not sent to the client.
Introduced ServletUpgradeResponse.complete(), called when the response
is about to be sent to the client, to transfer the headers stored in
the superclass (UpgradeResponse.headers) into the HttpServletResponse.
2014-02-03 15:31:51 +01:00
Simone Bordet cfe248c67b 427128 - Cookies are not sent to the server.
Implemented/fixed handling of cookies sent by client to server.
2014-02-03 12:49:58 +01:00
Simone Bordet 5e3c8821bb If ClientContainer is being stopped, then we can unregister it from
the ShutdownThread.

This happens when ClientContainer is added as a managed bean to a
ContainerLifeCycle and the container is stopped.
2014-02-03 12:09:27 +01:00
Simone Bordet 3f5a30282d Made sure that the number of selectors cannot be zero. 2014-02-03 12:09:27 +01:00
Greg Wilkins 8cc9d71e20 426750 Handle autoclose on async writes 2014-02-03 17:59:31 +11:00
Jan Bartel d4368d1018 427068 ServletContext.getClassLoader should only check privileges if a SecurityManager exists 2014-01-31 16:24:00 +11:00
Greg Wilkins a09d05b5cb protected ServletHandler API 2014-01-30 15:52:15 +11:00
Simone Bordet 3486046f1e 426870 - HTTP 1.0 Request with Connection: keep-alive and response
content hangs.

Refactored tests.
2014-01-29 18:26:32 +01:00
Simone Bordet cbdfd87d78 426870 - HTTP 1.0 Request with Connection: keep-alive and response
content hangs.

Fixed HttpGenerator to stay in the EOF_CONTENT mode if such case is
detected (while before it was moving to NO_CONTENT mode).
By staying in EOF_CONTENT mode the generator is made non-persistent
and eventually the connection is closed, signaling the end-of-content
to the client.
2014-01-29 11:20:00 +01:00
Joakim Erdfelt 5ed1a9dfb4 Adding parameterized version of HttpGeneratorServerTest.testHTTP() 2014-01-28 11:57:44 -07:00
Simone Bordet 7ce6aee304 426739 - Response with Connection: keep-alive truncated.
Fixed copy/paste error.
Also removed unnecessary constant.
2014-01-27 18:57:24 +01:00
Jesse McConnell 2db90757ed Bug 426481 fix < java 1.7.0_10 npn files 2014-01-23 10:36:29 -06:00
Jesse McConnell d2ab0ed506 Bug 426250 jetty-all should be deployed on release 2014-01-22 16:57:36 -06:00
Jesse McConnell 44858c2428 [Bug 423421] remove org.slf4j and org.ow2.asm from jetty-all artifact 2014-01-22 16:54:51 -06:00
Jan Bartel 49ac6de011 425930 JDBC Session Manager constantly reloading session if save intervall expired once 2014-01-20 13:29:21 +11:00
Greg Wilkins 62666dc344 425638 Fixed monitor module/xml typos 2014-01-20 11:04:39 +11:00
Jan Bartel 5f7a34e590 408167 Complex object as session attribute not necessarily persisted. 2014-01-20 10:40:05 +11:00
Jan Bartel f735fe834b 425998 JDBCSessionIdManager fails to create maxinterval column 2014-01-18 08:31:43 +11:00
Jan Bartel 1e2e3fc7f2 425837 Upgrade to jstl 1.2.2 2014-01-17 14:36:08 +11:00
Simone Bordet 93013b36dd 425703 - Review [Queued]HttpInput.
Fixed synchronization.
Fixed notification of callbacks outside sync blocks.
Added isEOF() method to allow correct implementation of
blockForContent().
Remove unused callback onAllContentConsumed().
2014-01-15 13:14:19 +01:00
Joakim Erdfelt e3e402c751 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2014-01-14 15:10:11 -07:00
Joakim Erdfelt 1ff01f36eb Fixing SessionTest failures on windows due to file locking 2014-01-14 15:09:57 -07:00
Simone Bordet e4cac732cf Updated build profiles to JDK 7u51, along with NPN modules. 2014-01-14 22:51:18 +01:00
Simone Bordet 10dd14d34e Reorganization of the code in preview of a larger refactoring. 2014-01-14 22:51:18 +01:00
Simone Bordet 1286363dbf Improved SPDY load test. 2014-01-14 22:51:18 +01:00
Simone Bordet 9f786402fd Added TODO, reminding to notify failure outside sync blocks. 2014-01-14 22:51:18 +01:00
Simone Bordet c06e65e798 Improved dump() output. 2014-01-14 22:51:18 +01:00
Simone Bordet 99b5b61b0b Simplified handling of "Connection: close" response header. 2014-01-14 22:51:18 +01:00
Joakim Erdfelt dec67094bf 425696 - start.jar --add-to-start={module} results in error 2014-01-14 11:43:21 -07:00
Joakim Erdfelt 3a16944fd7 Fixing path based assertions to be OS neutral (windows) 2014-01-14 11:35:08 -07:00
Joakim Erdfelt 5cdd27b7b9 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2014-01-13 19:13:32 -07:00
Joakim Erdfelt 1cad68b263 Windows file mod (0755 to 0655) changes 2014-01-13 19:13:19 -07:00
Jan Bartel a8b74ea9af 425275 org.eclipse.jetty.osgi.annotations.AnnotationConfiguration.BundleParserTask.getStatistic() returns null when debug is enabled. 2014-01-13 19:50:41 +11:00
Jesse McConnell 91429ea123 Merge branch 'release-9' 2014-01-10 09:11:25 -06:00
Jesse McConnell d3b2072ad3 set for dev 2014-01-10 09:11:04 -06:00