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
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