#1374 http2 doesn't do connection re-use

closed-fixed
5
2014-05-20
2014-05-20
Daniel Stenberg
No

Command line use to repeat the problem:

./src/curl --http2 -s https://nghttp2.org https://nghttp2.org --trace-ascii dump --trace-time > /dev/null

I'm attaching a work in progress patch

1 Attachments

Discussion

  • tujikawa
    tujikawa
    2014-05-20

    The cause of stuck is that 1) stream_id does not reset and 2) underlying recv/send functions point to somewhere else.
    Patch attached (which modifies the original patch slightly)

     
    • status: open-confirmed --> closed-fixed
     
  • Thanks a lot, merged now!