4865 Commits

Author SHA1 Message Date
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
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
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
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
Jesse McConnell
6c0bb390ae adding in some more test cases which now include the MBeanContainer 2012-08-03 16:05:04 -05:00
Joakim Erdfelt
33270eced5 More valid UTF8 text payload edge cases 2012-08-03 12:49:03 -07:00
Joakim Erdfelt
a18e28d767 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-03 12:35:33 -07:00
Joakim Erdfelt
a6d88f0d0f Adding more Invalid UTF8 text payload tests 2012-08-03 12:35:16 -07:00
Joakim Erdfelt
951b669ba9 Adding more UTF8 text payload tests 2012-08-03 12:00:10 -07:00
Thomas Becker
d4d41fb877 jetty9 - fix WriteFlusherTest.testConcurrentAccessToIncompleteWriteAndOnFail() 2012-08-03 19:56:00 +02:00
Thomas Becker
3187fe00fe Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-03 19:28:06 +02:00
Thomas Becker
5743483f9c jetty9 - WriteFlusher.PendingState._buffers is final now 2012-08-03 19:27:35 +02:00
Simone Bordet
b1bb418fea Jetty9 - SPDY cleanups. 2012-08-03 19:17:11 +02:00
Thomas Becker
103dcd7131 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-03 19:12:27 +02:00
Thomas Becker
90112965b6 jetty9 - SelectChannelEndPoint.toString() fix 2012-08-03 19:10:21 +02:00
Simone Bordet
433839bd47 Jetty9 - Introduced ConnectionFactory for SelectChannelConnector.
This change abstracts out the connection creation from the connector itself,
so there can be only one connector managing all protocols, depending on
the configuration of the connection factories.
2012-08-03 19:10:21 +02:00
Thomas Becker
9f2d1586ca jetty9 - WriteFlusher minor changes. Some ConcurrentTests for WriteFlusher added. Cleanup. Javadoc. 2012-08-03 19:10:18 +02:00
Joakim Erdfelt
744bd20a44 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-03 09:37:58 -07:00
Simone Bordet
e3132d41d8 Jetty9 - Introduced ConnectionFactory for SelectChannelConnector.
This change abstracts out the connection creation from the connector itself,
so there can be only one connector managing all protocols, depending on
the configuration of the connection factories.
2012-08-03 18:35:34 +02:00
Joakim Erdfelt
03521a9a99 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-03 08:49:53 -07:00
Joakim Erdfelt
65cb453080 Attempting to come to terms with EofException condition 2012-08-03 08:49:48 -07:00
Greg Wilkins
2d7b6c9c06 jetty-9 some post simone review changes to WriteFlusher 2012-08-03 19:41:56 +10:00
Greg Wilkins
99a4b5955f jetty-9 more common code in AbstractEndPoint 2012-08-03 15:51:21 +10:00
Greg Wilkins
40d4e1070f jetty-9 renamed ReadInterest to fillInterest 2012-08-03 12:49:37 +10:00
Greg Wilkins
7df281bb16 jetty-9 renamed ReadInterest to fillInterest 2012-08-03 12:47:33 +10:00
Greg Wilkins
29833f000b Merge branch 'jetty-9' into jetty-9-oneconnector
Conflicts:
	jetty-io/src/main/java/org/eclipse/jetty/io/AsyncByteArrayEndPoint.java
	jetty-io/src/main/java/org/eclipse/jetty/io/ChannelEndPoint.java
	jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java
	jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java
	jetty-io/src/test/java/org/eclipse/jetty/io/WriteFlusherTest.java
2012-08-03 12:39:21 +10:00
Thomas Becker
88cc3bfdc6 Merge branch 'writeFlusher_refactoring' into jetty-9 2012-08-03 01:07:20 +02:00
Thomas Becker
137ccca7c5 jetty9 - Make WriteFlusher.java threadsafe 2012-08-03 01:06:41 +02:00
Greg Wilkins
5e6cd1b27f Merge branch 'jetty-9' into jetty-9-oneconnector
Conflicts:
	jetty-jmx/src/main/java/org/eclipse/jetty/jmx/ObjectMBean.java
	jetty-jmx/src/test/java/org/eclipse/jetty/jmx/ObjectMBeanTest.java
2012-08-03 08:48:34 +10:00
Greg Wilkins
962a0d0889 jetty-9 ensure injected threadpool is managed 2012-08-03 08:44:49 +10:00
Joakim Erdfelt
57f16d750d Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-08-02 15:25:33 -07:00
Joakim Erdfelt
9b49e889dd Fixing big buffer flush issue (thanks simone) 2012-08-02 15:25:18 -07:00
Jesse McConnell
8d0ad9f3b0 fix array conversion on mbean info 2012-08-02 16:57:02 -05:00
Greg Wilkins
8366ae08c9 Merge branch 'jetty-9' into jetty-9-oneconnector
Conflicts:
	jetty-jmx/src/test/java/org/eclipse/jetty/jmx/ObjectMBeanTest.java
2012-08-03 07:49:24 +10:00
Jesse McConnell
a945a30a37 remove lazy list usage and remove mbean container in simple test 2012-08-02 16:47:56 -05:00