tls: improve i/o loop
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 20 Jan 2017 18:11:14 +0000 (19:11 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 20 Jan 2017 18:11:14 +0000 (19:11 +0100)
commit38972a8df1df970a5878bbd7fc5ef6259f1168ab
treed205e830156c71b04058e8e7d28c2bda8f6a67df
parente7863f394e6a963d1e2c6af77ea064442d3ef594
tls: improve i/o loop

With tls_has_buffered_record(), entire kernel.org response
is printed at once, without 6 second pause to see its delayed EOF.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tls.c