mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Fix: make lsquic_conn_quic_version() available
This commit is contained in:
parent
bea6482295
commit
881272bb24
2 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
2018-05-02
|
||||
|
||||
- [BUGFIX] Make lsquic_conn_quic_version() available
|
||||
- Switch to using ls-hpack 1.1
|
||||
- [BUGFIX] Do not ignore stream resets after receiving FIN
|
||||
|
||||
|
|
|
@ -149,3 +149,13 @@ lsquic_conn_decrypt_packet (lsquic_conn_t *lconn,
|
|||
}
|
||||
|
||||
|
||||
enum lsquic_version
|
||||
lsquic_conn_quic_version (const lsquic_conn_t *lconn)
|
||||
{
|
||||
if (lconn->cn_flags & LSCONN_VER_SET)
|
||||
return lconn->cn_version;
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue