http2: dedupe nghttp2 verbose frame print function

Closes #20472
This commit is contained in:
Viktor Szakats 2026-01-29 15:59:15 +01:00
parent 0f5006f50d
commit c2d7bfa992
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 14 additions and 81 deletions

View file

@ -36,6 +36,11 @@
*/
void Curl_http2_ver(char *p, size_t len);
#ifdef CURLVERBOSE
int Curl_nghttp2_fr_print(const nghttp2_frame *frame, char *buffer,
size_t blen);
#endif
CURLcode Curl_http2_request_upgrade(struct dynbuf *req,
struct Curl_easy *data);