Commit Graph

5007 Commits

Author SHA1 Message Date
Simone Bordet 6a2041ae27 Jetty9 - Better handling of cases where the SslConnection has its output shutdown. 2012-08-10 10:34:00 +02:00
Simone Bordet 2d832fa9ad Jetty9 - Introduced Connection.close() for better stop of lifecycle components. 2012-08-10 10:32:45 +02:00
Simone Bordet cf5801f437 Jetty9 - Added logging. 2012-08-10 10:31:35 +02:00
Simone Bordet 598292172f Jetty9 - Code cleanup, renaming methods to be more expressive. 2012-08-10 10:29:14 +02:00
Jan Bartel 6dbef17e44 377055 Prevent webapp classloader leaks
Use the passed in classloader as an arg to Class.forName, even though the classloader is set in AbstractPreventer as the context classloader.
2012-08-10 17:48:03 +10:00
Greg Wilkins afe489e986 jetty-9 potential SSL fix 2012-08-10 15:21:52 +10:00
Greg Wilkins 54ea5a7de2 jetty-9 better dispatching of events to SSL 2012-08-10 14:39:51 +10:00
Greg Wilkins 97ff08b3be jetty-9 write on ssl connection test harness 2012-08-10 13:31:11 +10:00
Greg Wilkins 16b404754e jetty-9 improved logging 2012-08-10 13:31:11 +10:00
Joakim Erdfelt 3d029695ec Replacing with optional Collections 2012-08-09 14:52:18 -07:00
Joakim Erdfelt b37da5a5da Making payload fast-fail and demasking work together in peace and harmony 2012-08-09 13:17:07 -07:00
Joakim Erdfelt 6a66501701 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-09 11:05:41 -07:00
Joakim Erdfelt 2b286a4981 Fixing build issue with test-continuation module. (wrong scope) 2012-08-09 11:04:50 -07:00
Jesse McConnell aafa593ac4 reformat pom and set name to follow convention 2012-08-09 12:51:44 -05:00
Jesse McConnell 5e97db85e4 adjust parent 2012-08-09 12:37:04 -05:00
Thomas Becker 8ba068c73b jetty-9: jetty-plugins module added 2012-08-09 19:11:20 +02:00
Greg Wilkins 03ebcc881c jetty-9 include more modules 2012-08-09 19:31:50 +10:00
Jan Bartel 0b4d2e6a0f 377055 Prevent webapp classloader leaks 2012-08-09 10:23:00 +10:00
Joakim Erdfelt 0f4fe634a3 Adding UTF8 fast fail test case that doesn't fail as expected on the websocket side 2012-08-08 14:59:50 -07:00
Joakim Erdfelt 889d20ba55 Removing throws IOException on WSConnection.close() 2012-08-08 12:42:57 -07:00
Joakim Erdfelt 0abb7511ff Refactoring websocket.io.RawConnection to websocket.api.BaseConnection.
+ Introducing BaseConnection.SuspendToken and suspend/resume logic for
  working with buffer suspended read concerns.
2012-08-08 12:30:12 -07:00
Joakim Erdfelt 1a62b2a780 Reworking websocket chat example to not forward disconnect to other chat members. (oops) 2012-08-08 08:34:29 -07:00
Joakim Erdfelt 1a62c5ded6 Fixing websocket example to use creator 2012-08-08 08:31:44 -07:00
Simone Bordet 0ddbdda280 Jetty9 - Test code cleanup. 2012-08-08 15:02:11 +02:00
Simone Bordet 523f1a8295 Jetty9 - Made close(), isOpen() and onOpen() use the _open AtomicBoolean for their logic, to avoid race conditions. 2012-08-08 14:58:04 +02:00
Simone Bordet c7a3409ed1 Jetty9 - Shutting down output *and* closing the connection in case the generator produces SHUTDOWN_OUT. 2012-08-08 13:40:42 +02:00
Simone Bordet c2a62962fc Jetty9 - Cleaned up warnings and dead code. 2012-08-08 13:39:57 +02:00
Simone Bordet fe99631069 Jetty9 - Avoid to throw just after having written the SSL close message. 2012-08-08 11:28:53 +02:00
Simone Bordet c4912f4a1d Jetty9 - Removed "async" from class/method names. 2012-08-08 11:28:53 +02:00
Simone Bordet 2816187e0d Jetty9 - More logging. 2012-08-08 11:28:53 +02:00
Simone Bordet cac1c933c3 Jetty9 - Prevented NPE in case the connection cannot be created. 2012-08-08 11:28:53 +02:00
Simone Bordet d40170001a Jetty9 - Removed call to onOpen() for the nested connection, it's not needed, and always calling completeWrite() from onFillable() in case there is application data left to be written.
Improved logging.
2012-08-08 11:28:53 +02:00
Greg Wilkins 9c9668b112 ported websocketchat to new API 2012-08-08 16:08:47 +10:00
Greg Wilkins 689daf092d ported websocketchat to new API 2012-08-08 14:56:47 +10:00
Greg Wilkins 32c5f6c093 jetty-9 reduced LazyList usage 2012-08-08 11:58:50 +10:00
Greg Wilkins b2fd3aad26 386714 used deferred auth for form login and error pages 2012-08-08 10:37:02 +10:00
Joakim Erdfelt 7ebab746fe Reworking stream vs simple message appending into single concept.
+ Removing StreamAppender
+ Adding MessageAppender
+ Gain fast-fail on bad UTF8 in text message
2012-08-07 12:16:53 -07:00
Joakim Erdfelt 28bc479417 Verifying that fast-fail on utf8 works 2012-08-07 12:16:49 -07:00
Joakim Erdfelt d76a5ce80e Fixing testcase 7.5.1 (bad utf8 close reason) handling 2012-08-07 09:53:33 -07:00
Joakim Erdfelt 5a77c0801a Adding support for Utf8Appendable.append(ByteBuffer) 2012-08-07 09:53:15 -07:00
Jesse McConnell ea6a9f8b91 Merge branch 'master' into jetty-8 2012-08-07 08:58:34 -05:00
Jesse McConnell b4ec1f36ed [Bug 386591] add UnixCrypt note to about.html 2012-08-07 08:57:26 -05:00
Simone Bordet 75c2b57f25 Jetty9 - Introduced configure_9_0.dtd to support constructor injection for the <Configure> element.
Also refactored, simplified, and moved to JDK 7 XmlConfiguration code.
2012-08-06 23:12:01 +02:00
Joakim Erdfelt 365f4d8448 Adding TestABCase9 with @Stress enabled 2012-08-06 13:55:55 -07:00
Joakim Erdfelt b8fc39a53e Adding the AB7 close test cases 2012-08-06 10:18:16 -07:00
Simone Bordet ab40dee06f 367591 - Support Env variables in XmlConfiguration.
The 7.6 DTD was erroneously committed without the relevant change, which was committed to the 6.0 DTD.
2012-08-06 18:13:56 +02:00
Joakim Erdfelt 93168a3d24 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-06 08:36:54 -07:00
Joakim Erdfelt e04bb3128c Refactoring out the basic good/bad UTF tests from TestABCase6 into separate parameterized test cases 2012-08-06 08:36:41 -07:00
Simone Bordet b0041287a6 Jetty9 - Cleaned up implementation and removed warning when a bean is non managed and not started.
An example of such beans is the Connection.Statistics implementation.
2012-08-06 16:21:07 +02:00
Simone Bordet 2ce23df344 Jetty9 - Cleaned up implementation of Connector.Statistics, and changed order of lifecycle notifications for open events: first connector, then connection. 2012-08-06 15:52:18 +02:00