• Jian Liang's avatar
    gweb: Fix a crash using wispr over TLS · 87a3ecf0
    Jian Liang authored
    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
    87a3ecf0
Name
Last commit
Last update
..
giognutls.c Loading commit data...
giognutls.h Loading commit data...
gionotls.c Loading commit data...
gresolv.c Loading commit data...
gresolv.h Loading commit data...
gweb.c Loading commit data...
gweb.h Loading commit data...