[curl/curl] badcf2: http2: make sure pause is done on HTTP

Daniel Stenberg <[email protected]> Mon, 17 May 2021 00:07:58 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/bagder/http2-pause-non-http/[email protected]>
  Branch: refs/heads/bagder/http2-pause-non-http
  Home:   https://github.com/curl/curl
  Commit: badcf275bc5e7a13128734968102a48c93962cef
      https://github.com/curl/curl/commit/badcf275bc5e7a13128734968102a48c93962cef
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M lib/http2.c

  Log Message:
  -----------
  http2: make sure pause is done on HTTP

Since the function is called for any protocol, we can't assume that the
HTTP struct is there without first making sure it is HTTP.

Reported-by: Denis Goleshchikhin
Fixes #7079


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits