Commit Graph

416 Commits

Author SHA1 Message Date
Joakim Erdfelt 7a3f9bfeb7 Fixing compilation issue surrounding deprecated Utf8PartialBuilder 2017-10-19 12:35:34 -07:00
Greg Wilkins dde65f2633 Merge remote-tracking branch 'origin/jetty-9.4.x' 2017-10-19 20:45:40 +11:00
Greg Wilkins 729dd41493 Added partial string support to Utf8Appendable 2017-10-19 20:43:46 +11:00
Joakim Erdfelt c3c3881c9f Merge remote-tracking branch 'origin/jetty-9.4.x' 2017-10-10 13:44:22 -07:00
Joakim Erdfelt d34f04c559 Issue #1881 - eliminate NPE in id generation against UnixSocketChannel 2017-10-10 12:09:52 -07:00
Simone Bordet 4389da9196 Issue #272 - WebSocket hangs in blockingWrite.
Rewritten FrameFlusher.
2017-10-05 22:20:22 +02:00
Joakim Erdfelt 6faaf3346c Issue #272 - Read/Parse exceptions should flow out, so Session can handle it via new Session.close() 2017-10-03 15:30:32 -07:00
Joakim Erdfelt c0dfa1dd50 Issue #272 - Attempting to centralize close logic in Session.close() 2017-10-03 15:29:27 -07:00
Joakim Erdfelt bb5195192a Issue #272 - Addressing some concerns with multithreading in FrameFlusher 2017-10-03 15:20:16 -07:00
Greg Wilkins 1b7ebf5599 Merge remote-tracking branch 'origin/jetty-9.4.x' 2017-09-23 00:22:57 +10:00
Joakim Erdfelt 45a4b87a33 Fixes #1662 - Removing harmless NPE on websocket compress with null frame payload 2017-09-06 10:57:28 -07:00
Joakim Erdfelt b0fd444a1b File EOL issue, post-hard reset 2017-08-09 14:31:06 -07:00
Joakim Erdfelt 796da084b4 Issue #1625 - Support new IANA declared websocket close status codes 2017-08-08 08:49:58 -07:00
Joakim Erdfelt af4962f842 Issue #1605 - common executor and bufferpool for jsr356 client 2017-08-08 08:49:57 -07:00
Joakim Erdfelt 22f815ddfd Issue #1650 - testing improvements 2017-07-07 13:16:31 -07:00
Joakim Erdfelt ee8d4c1587 gitattributes followup 2017-07-06 16:24:31 -07:00
Joakim Erdfelt 986e49ab35 Issue #1650 - fixing Suspend/Resume in websockets 2017-07-06 16:24:07 -07:00
Joakim Erdfelt 2d65605de1 Issue #1650 - fixing CDI + websocket integration 2017-07-03 09:19:17 -07:00
Joakim Erdfelt 67cccd610a Post cherry-pick cleanup of jetty-9.4.x...master jetty-websocket 2017-06-26 13:11:33 -07:00
Joakim Erdfelt f5e273b4a3 Enabling more websocket tests 2017-06-26 11:59:54 -07:00
Joakim Erdfelt 310bbda38a WebSocket SuspendResume updated tests and notes from review 2017-06-26 11:59:45 -07:00
Joakim Erdfelt 61fc95aa36 Issue #1599 - WebSocketClient early close scenarios
+ Connection timeout results in:
  endpoint.onError(WebSocketTimeoutException)
  localSession.close(SHUTDOWN)
2017-06-26 11:59:42 -07:00
Joakim Erdfelt b8e10ce9ef Issue #207 - Close Handshake Test refactor 2017-06-26 11:59:35 -07:00
Joakim Erdfelt a8503a2932 Issue #207 - removing scheduler 2017-06-26 11:59:34 -07:00
Joakim Erdfelt 0e2656b938 Issue #207 - Improved Close notification and testing 2017-06-26 11:59:30 -07:00
Joakim Erdfelt 30595ccdaa Issue #207 - Adding toString() 2017-06-26 11:59:29 -07:00
Joakim Erdfelt 04afed1338 Issue #207 - stabilizing testing of Dispatched MessageSinks 2017-06-26 11:59:26 -07:00
Joakim Erdfelt 55fd254161 Issue #207 - All websocket tests moved to /websocket-tests/ module
# Conflicts:
#	jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/WSServer.java
2017-06-26 11:59:09 -07:00
Joakim Erdfelt d43c8e7776 Issue #207 - MessageOutputStream fix 2017-06-26 11:57:26 -07:00
Joakim Erdfelt 239f88c158 Issue #207 - javadoc fix 2017-06-26 11:57:25 -07:00
Joakim Erdfelt 0c8d4dec9f Issue #207 - cleaning up dispatched MessageSink threading 2017-06-26 11:57:24 -07:00
Joakim Erdfelt 3931336633 Issue #207 - Restoring fillAndParse callback 2017-06-26 11:57:21 -07:00
Joakim Erdfelt 6b203f5187 Issue #207 - more test fixes 2017-06-26 11:57:20 -07:00
Joakim Erdfelt ad29d65229 Issue #207 - more test induced fixes
# Conflicts:
#	jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/IdleTimeoutTest.java
2017-06-26 11:57:00 -07:00
Joakim Erdfelt 79f30041a1 Issue #207 - More test fixes
# Conflicts:
#	jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/BinaryStreamTest.java
#	jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/TextStreamTest.java
2017-06-26 11:55:36 -07:00
Joakim Erdfelt 4a4069d0c2 Issue #207 - more testing updates and mainline code fixes 2017-06-26 11:53:30 -07:00
Joakim Erdfelt c065f7d125 Issue #207 - simplifying OnUpgradeTo prefill + parse, with test 2017-06-26 11:53:29 -07:00
Joakim Erdfelt 1d18522a99 Issue #207 - allowing untrusted sessions to have non-validating generators 2017-06-26 11:50:13 -07:00
Joakim Erdfelt 36f40689cc Issue #207 - websocket-common test fixes 2017-06-26 11:50:12 -07:00
Joakim Erdfelt 3d6263aafb Issue #207 - more review rework 2017-06-26 11:50:11 -07:00
Joakim Erdfelt 5e8a7078eb Issue #207 - more testing updates 2017-06-26 11:50:10 -07:00
Greg Wilkins 7148db67dc tidy up close 2017-06-26 11:50:09 -07:00
Joakim Erdfelt dddf066e90 Issue #207 - Simplifying Connection and Close states
+ Removing IOState
+ Adding AtomicConnectionState
+ Adding AtomicClose
+ Reworking AbstractWebSocketConnection to be focused solely on
  low level Connection handling, with little to none websocket
  specifics.
+ WebSocketSession simplified
2017-06-26 11:50:08 -07:00
Joakim Erdfelt fcb8693c52 Issue #207 - testcase rework due to new async behaviors
# Conflicts:
#	jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/ConnectionManager.java
#	jetty-websocket/websocket-common/src/test/java/org/eclipse/jetty/websocket/common/test/RegexMatcher.java
2017-06-26 11:49:53 -07:00
Joakim Erdfelt affda23876 Issue #207 - ongoing testing improvements 2017-06-26 11:43:26 -07:00
Joakim Erdfelt b2fa9cd23a Issue #207 - fixing compilation error 2017-06-26 11:43:25 -07:00
Joakim Erdfelt 38fefa6471 Issue #207 - Improved Error Handling 2017-06-26 11:43:24 -07:00
Joakim Erdfelt d5151ddc90 Issue #207 - remove IncomingFrames#incomingError(throwable) 2017-06-26 11:43:22 -07:00
Joakim Erdfelt b93925e03e Issue #207 - more work on policy / buffer behaviors 2017-06-26 11:43:21 -07:00
Joakim Erdfelt aae4a24726 Issue #207 - reworking I/O to allow streaming backpressure 2017-06-26 11:43:20 -07:00