From bfc60ea5a4ac492b4d0461e282aeedd44cc23878 Mon Sep 17 00:00:00 2001 From: Sergey Frolov Date: Mon, 31 Jul 2017 18:20:09 -0400 Subject: [PATCH] README: add note about Handshake() being mandatory --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 75ac6da..0a7dd26 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,8 @@ will prepare ClientHello with empty uconn.Extensions so you can fill it with TLS * `utls.HelloAndroid_6_0_Browser` * `utls.HelloAndroid_5_1_Browser` +Note: it is *mandatory* to manually call ```tlsConn.Handshake()``` afterwards. +Otherwise, eventual ```tls.Write()``` is going to call non-overridden version of handshake. ##### Customizing handshake Before doing `Handshake()` you can also set fake session ticket, set clientHello or change uconn in other ways: