diff options
author | Jian Liang <jianliang@tycoint.com> | 2018-01-19 14:42:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-22 10:39:09 +0000 |
commit | 10e1be398b9279af50ac1c32772222a72826e3ad (patch) | |
tree | 891fff7290cace2cf9e13604a23aa483e8eee368 /meta/classes/spdx.bbclass | |
parent | f4335d224dc6484967ebd46352c151b13b64a939 (diff) | |
download | poky-10e1be398b9279af50ac1c32772222a72826e3ad.tar.gz |
connman: Fix a crash using wispr over TLS
This is happened when doing wispr against a HTTPS URL
rather than the default one, i.e.
http://ipv4.connman.net/online/status.html
When gnutls_channel is instantiated, the gnutls_channel->established
has to be initiated as FALSE. Otherwise, check_handshake function
won't work. A random initial value 1 of gnutls_channel->established
will make check_handshake return G_IO_STATUS_NORMAL, when the channel
is actually not ready to be used. The observed behaviours are,
- wispr is getting random errors in wispr_portal_web_result
- ConnMan crashes on exit after those random errors
- when wispr is luckly working, ConnMan doesn't crash on exit
(From OE-Core rev: 2ea983d4a187ac62e703e85dce622f70e309be05)
Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/spdx.bbclass')
0 files changed, 0 insertions, 0 deletions