This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Commit df92821
QUIC: SSL_new_session_ticket() support (#26)
* Let SSL_new_session_ticket() work immediately
The initial implementation always deferred the generation of the
requested ticket(s) until the next application write, but this
means that the ticket cannot be written at all until there is
application data ready to write. In some scenarios this application
data may never arrive or may take a long time to arrive, so (when
already at a record boundary) allow the application to explicitly call
SSL_do_handshake() after SSL_new_session_ticket() to force an immediate
write, even when there is no application data available. The default
behavior remains to defer the generation of the ticket and coalesce the
network traffic for the ticket and application data.
* Test new SSL_new_session_ticket() functionality
Now that we can become "in init" directly after the call, test the
various scenarios where explicit SSL_do_handshake() calls can come
into play.
* Update SSL_new_session_ticket() manual for triggered send
Document the recently added functionality.
(cherry picked from commit 4fb1ff7)1 parent c9be599 commit df92821
3 files changed
Lines changed: 44 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
2220 | | - | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
2221 | 2223 | | |
2222 | 2224 | | |
2223 | 2225 | | |
| 2226 | + | |
| 2227 | + | |
2224 | 2228 | | |
2225 | 2229 | | |
2226 | 2230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
1710 | 1721 | | |
1711 | 1722 | | |
1712 | 1723 | | |
1713 | 1724 | | |
1714 | | - | |
| 1725 | + | |
1715 | 1726 | | |
1716 | 1727 | | |
1717 | 1728 | | |
| |||
1727 | 1738 | | |
1728 | 1739 | | |
1729 | 1740 | | |
1730 | | - | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
1731 | 1745 | | |
1732 | 1746 | | |
| 1747 | + | |
| 1748 | + | |
1733 | 1749 | | |
1734 | 1750 | | |
1735 | 1751 | | |
| |||
1742 | 1758 | | |
1743 | 1759 | | |
1744 | 1760 | | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
1745 | 1765 | | |
1746 | | - | |
| 1766 | + | |
1747 | 1767 | | |
1748 | 1768 | | |
1749 | 1769 | | |
| |||
0 commit comments