Gonzalo Diethelm
Gonzalo Diethelm
I have a question and a metaquestion... 1. What is the difference between nghttp2_session_send() and nghttp2_session_mem_send(), and between nghttp2_session_recv() and nghttp2_session_mem_recv()? Why does the libevent-client use nghttp2_session_mem_recv() to receive data,...
> ``` > What is the difference between nghttp2_session_send() and > nghttp2_session_mem_send(), and between nghttp2_session_recv() and > nghttp2_session_mem_recv()? Why does the libevent-client use > nghttp2_session_mem_recv() to receive data, but >...
On 11/02/2016 16:29, Tatsuhiro Tsujikawa wrote: > ``` > * A program interacts with NGHTTP2 through the callbacks, but > some of them are more "protocol-oriented" (send and recv >...
I reimplemented the simple client with poll() instead of epoll(), but I am not sure it is working properly. With all the logging statements, I do see it connects, reads...
On 23/02/2016 16:23, Tatsuhiro Tsujikawa wrote: > It works fine for me (I'm using Linux). Cool. How are you running it exactly? I mean, which URL are you using to...
When I run it against http://nghttp2.org, I only get this: ``` Writing Wrote 61 bytes: [ PRI * HTTP/2.0 SM ] Polling (-1)... ``` And it hangs in there. But...
I changed the call to poll() into this: ``` fprintf(stderr, "Polling [%d:%d:%d:%d] (%d)...\n", (pfd[0].events & POLLIN), (pfd[0].events & POLLOUT), (pfd[0].events & POLLERR), (pfd[0].events & POLLHUP), timeout); rv = poll(pfd, 1,...
BTW, I am running this on a Mac; maybe there is different behaviour in poll() that is being triggered here.
I just wanted to leave a comment here, that this will bring you into the classical territory of the two separate questions about a grammar / parser: 1. Does it...
In a traditional lexer / parser setup, some of these things would just be tokens, so no optional space between them (for example, `4.5`, `v0.1.2`, `@{`, etc). I don't know...