kazu-yamamoto / http2

HTTP/2.0 library including HPACK
BSD 3-Clause "New" or "Revised" License
86 stars 23 forks source link

Memory leak in http 5.3.6 #154

Open edsko opened 3 days ago

edsko commented 3 days ago

The below is a memory profile of a client using http2-5.3.5 who makes repeated connections to a server and then has a short interaction with the server on that connection before closing it again and starting again:

image

With http-5.3.6 this profile looks like this instead:

image

I will try to figure out whta's happening and submit a PR.

edsko commented 3 days ago

(The leak is still present in 5.3.7 also.)