Hugo Landau
9f2349aebe
QUIC QTX: Allow QLOG instance retrieval via callback
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23535 )
2024-02-19 10:15:46 +01:00
Hugo Landau
410270d1ac
QUIC FIFD: Allow QLOG instance retrieval via callback
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23535 )
2024-02-19 10:15:46 +01:00
Hugo Landau
965f68f3e9
QUIC APL: Add implementation of SSL_VALUE_EVENT_HANDLING_MODE
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23535 )
2024-02-19 10:15:46 +01:00
Hugo Landau
9387bd4c25
QUIC POLLING: Implement autotick
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23495 )
2024-02-10 11:37:14 +00:00
Hugo Landau
6ba77d6743
QUIC APL: Implement SSL_poll backend
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23495 )
2024-02-10 11:37:14 +00:00
Hugo Landau
a5d16ac371
QUIC QSM: Allow bidi and uni incoming streams to be tracked separately
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23495 )
2024-02-10 11:37:14 +00:00
Hugo Landau
62cb7c810e
THREADING: Make CRYPTO_MUTEX and CRYPTO_CONDVAR typesafe
...
There was really no need for this to be void and it made bugs very easy
to introduce accidentally, especially given that the free functions
needed to be passed a pointer to the pointer.
Also fix some bugs in the QUIC code detected immediately by this change.
.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23519 )
2024-02-09 14:10:17 +01:00
Hugo Landau
2c63ec6fd3
QUIC QLOG: Fix use of size_t and uint64_t
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23517 )
2024-02-09 11:03:53 +00:00
Hugo Landau
1548e3cdaa
QUIC QLOG: Retrieve PID correctly on Windows
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23517 )
2024-02-09 11:03:52 +00:00
Hugo Landau
99a5cfc13a
QUIC APL: Move NULL pointer check to quic_impl.c
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23360 )
2024-02-08 16:50:01 +00:00
Hugo Landau
827475fc8b
QUIC CHANNEL: Optimise struct packing
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23360 )
2024-02-08 16:50:01 +00:00
Hugo Landau
39a387f46c
Quiet false warning about uninitialised variable
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23360 )
2024-02-08 16:50:00 +00:00
Hugo Landau
693d9afef4
QUIC CHANNEL: Fix idle timeout computation bug
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23360 )
2024-02-08 16:50:00 +00:00
Hugo Landau
69616017a6
QUIC CHANNEL: Defer transport parameter generation
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23360 )
2024-02-08 16:50:00 +00:00
Hugo Landau
57eee469f7
QUIC APL: Add feature query implementation
...
Fixes https://github.com/openssl/project/issues/412
Fixes https://github.com/openssl/project/issues/415
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23360 )
2024-02-08 16:50:00 +00:00
Hugo Landau
ecff7ca4c1
QUIC CHANNEL: Add idle timeout configuration and stream count APIs
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23360 )
2024-02-08 16:50:00 +00:00
Hugo Landau
a774062466
QUIC RXFC: Add accessor for credit
...
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23360 )
2024-02-08 16:50:00 +00:00
Hugo Landau
f26feac760
QUIC QLOG: Fix indentation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:30 +00:00
Hugo Landau
b58abf9822
QUIC QLOG: Use set0
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:30 +00:00
Hugo Landau
c71bde1e47
Minor fixes
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:30 +00:00
Hugo Landau
1cc04b777d
Minor fixes
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:30 +00:00
Hugo Landau
63aaa51b15
Minor fixes
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:30 +00:00
Hugo Landau
26e4bac4db
QUIC QLOG: Record implementation version
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:30 +00:00
Hugo Landau
6cb0026c63
QUIC QLOG: Allow PID to be overridden
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:30 +00:00
Hugo Landau
3c067dcb2c
QLOG: Fix filter lexing
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:30 +00:00
Hugo Landau
67f997697a
JSON_ENC: Fix initial value of error
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
c55e144b89
QUIC CHANNEL: Ensure QLOG instance is used correctly on server side
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
2acc1ebbd9
QUIC QTX: Refactor to enable qlog logging of injected frames
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
572c449a10
QUIC TXP: Allow QLOG instance to be changed after instantiation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
4a3a9257db
QUIC QTX: Allow QLOG instance to be changed after instantiation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
484b8bd0f5
QUIC FIFD: Allow QLOG instance to be changed after instantiation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
ba8b093be7
QLOG: Minor updates
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
ae300c0d5e
Minor updates
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
a70665852c
QLOG: Treat empty environment variable as default filter
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
de60b122b2
QLOG: Editorial fixes (QLOG is spelled 'qlog')
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
39b9345234
JSON_ENC: Minor tweaks
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
9dcad79795
QUIC QLOG: Rename QFILTER to OSSL_QFILTER
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
0e6eb431e8
QLOG: Fix bit_set
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
29bd1e2d24
QLOG: Minor updates
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
43a128875d
QLOG: Minor fixes after port refactor
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
b3706fd7e2
QLOG: JSON Encoder: Rename JSON_ENC
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
5849dbe52e
QLOG: Events: Implement transport:packet_received
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
fff66adfc8
QLOG: Events: Implement transport:packet_sent
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
434d52a4b6
QLOG: Wiring: QUIC QTX
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
fb1a0bb97a
QLOG: Wire title-setting code to QUIC_CHANNEL and SSL_CTX
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
407bcc8d55
QLOG: QUIC CHANNEL: Allow a log title to be specified
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
faf0912a2f
QLOG: Events: Implement recovery:packet_lost
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
40c835dac7
QLOG: Wiring: QUIC TXPIM: Record the packet type
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
3e52878039
QLOG: Wiring: QUIC FIFD
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
285a76bda0
QLOG: Wiring: QUIC QRX: Report the datagram ID from the DEMUX
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00