On Thu, Apr 30, 2015 at 8:39 AM, Daniel Stenberg <[email protected]> wrote:
> Is there another reason to use libevent than simply the fact that an > nghttp2 example uses it? > > As current wget isn't libevent based, it seems like a pretty major > redesign to change it to use libevent only for the purpose of adding HTTP/2. > Agreed, I will most likely end up reusing code instead of libevent, at the time of the proposal I didn't think the changes would be so big. I was just concerned of some blocking code in wget when reading form the socket (namely select(2)). But it would be silly to throw away so much code. I'm glad to see this project come to life, and I'm happy to see you chosing > to base it on Tatsuhiro's awesome nghttp2 library. We do this in the curl > project too. I blame Giuseppe for suggesting it :-), and nghttp2 looks really good, can't wait to dive into it this summer! What challenges did you face when implementing HTTP/2 in curl? I would love to hear about that.
