nghttp2/examples
Tatsuhiro Tsujikawa e8de437d5c Return new stream ID from nghttp2_submit_{request, headers, push_promise}
Previously stream ID was assigned just before HEADERS or PUSH_PROMISE
was serialized and nghttp2_submit_{request, headers, push_promise} did
not return stream ID.  The application has to check assigned stream ID
using before_frame_send_callback.  Now it is apparent that priority is
meant to DATA transfer only.  Also application can reorder the
requests if it wants. Therefore we can assign stream ID in
nghttp2_submit_* functions and return stream ID from them.  With this
change, now application does not have to check stream ID using
before_frame_send_callback and its code will be simplified.
2014-05-07 23:24:07 +09:00
..
.gitignore Update .gitignore 2014-01-11 01:05:42 +09:00
Makefile.am Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
client.c Return new stream ID from nghttp2_submit_{request, headers, push_promise} 2014-05-07 23:24:07 +09:00
libevent-client.c Return new stream ID from nghttp2_submit_{request, headers, push_promise} 2014-05-07 23:24:07 +09:00
libevent-server.c examples: Zero clear callbacks 2014-05-01 10:46:08 +09:00