recv revert treating zero as hangup
[platform/upstream/libwebsockets.git] / README.test-apps.md
index 203a11d..5f4d347 100644 (file)
@@ -78,6 +78,16 @@ same time as drawing random circles in the mirror protocol;
 if you connect to the test server using a browser at the
 same time you will be able to see the circles being drawn.
 
+The test client supports SSL too, use
+
+```bash
+$ libwebsockets-test-client localhost --ssl -s
+```
+
+the -s tells it to accept the default selfsigned cert from the server,
+otherwise it will strictly fail the connection if there is no CA cert to
+validate the server's certificate.
+
 
 Testing simple echo
 -------------------
@@ -335,7 +345,5 @@ The autobahn test itself admits this is not part of the standard, just someone's
 random opinion about how they think a ws server should act.  So we will fail
 this by design and it is no problem about RFC6455 compliance.
 
- - Test 6.x: detect we were sent invalid UTF-8.  Validity of encoding is left
- to the user code in libwebsockets until now.