http-2
http-2 copied to clipboard
Add mutexes to client examples to avoid race conditions
When streaming a lot of data or opening a lot of streams it is possible that HTTP2::Client#on(:bytes) will call blocks before completion of the previous one. I suggest to add mutexes to examples to present how to avoid this situation resulting in OpenSSL errors.