[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TLS in Gopher



Hi,

On 01/03/18 09:57, Mateusz Viste wrote:
> What if the only byte received is a single 0x0A ? Is this enough to tell 
> "not TLS"? How long would the server need to wait for more bytes?

You would be expecting to receive a handshake message, which would start
with 0x16 (ASCII: SYN). I cannot think of a reason that a Gopher
selector would start with a non-printable character, so you can most
likely check only a single byte.

Thanks,
Iain.


Reply to: