Commit 0fe488a
committed
tls-gnutls.c: Handle rehandshake error in
Per GNUTLS manual, `gnutls_record_recv()` can get GNUTLS_E_REHANDSHAKE
and if it is HTTP client, we should not close the connection and ignore
the error. The server can terminate the connection as before._httpTLSRead
1 parent 15e073c commit 0fe488a
1 file changed
Lines changed: 23 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1613 | 1613 | | |
1614 | 1614 | | |
1615 | 1615 | | |
| 1616 | + | |
1616 | 1617 | | |
1617 | 1618 | | |
1618 | | - | |
1619 | 1619 | | |
1620 | 1620 | | |
1621 | 1621 | | |
1622 | 1622 | | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | 1625 | | |
1626 | | - | |
1627 | | - | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
1628 | 1642 | | |
1629 | 1643 | | |
1630 | | - | |
1631 | | - | |
| 1644 | + | |
| 1645 | + | |
1632 | 1646 | | |
1633 | | - | |
1634 | | - | |
1635 | 1647 | | |
1636 | 1648 | | |
1637 | 1649 | | |
| |||
2032 | 2044 | | |
2033 | 2045 | | |
2034 | 2046 | | |
2035 | | - | |
2036 | | - | |
| 2047 | + | |
| 2048 | + | |
2037 | 2049 | | |
2038 | 2050 | | |
2039 | | - | |
2040 | | - | |
| 2051 | + | |
| 2052 | + | |
2041 | 2053 | | |
2042 | | - | |
2043 | | - | |
2044 | 2054 | | |
2045 | 2055 | | |
2046 | 2056 | | |
| |||
0 commit comments