ngtcp2 with picotls support #13572
-
For openssl, there is two port:
currently, curl with ngtcp2 support all tls libraries supported by ngtcp2 except picotls. Is there any chance for curl to support ngtcp2 with picotls? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Currently, the ngtcp2 TLS library has to be the same as for the rest of curl. So, to use picotls for H3, curl would need to support it also for all other TLS connections. There has been some discussion about decoupling this, but it makes things like Session sharing and various libcurl callbacks complicated. We decided not to go that route. |
Beta Was this translation helpful? Give feedback.
-
To extend on @icing's answer: it is possible, but someone would have to write the code. |
Beta Was this translation helpful? Give feedback.
Currently, the ngtcp2 TLS library has to be the same as for the rest of curl. So, to use picotls for H3, curl would need to support it also for all other TLS connections.
There has been some discussion about decoupling this, but it makes things like Session sharing and various libcurl callbacks complicated. We decided not to go that route.