Hi,
I don't have a GitHub acct so hope no one will mind too much if I mention a couple of issues with the latest release of nghttp2 in the hope someone reading this and having a stake in http2 might be able to get something done about them;
Compiling : nghttp2_stream.c
..\lib\nghttp2_stream.c:36: declaration syntax error
..\lib\nghttp2_stream.c:36: undefined identifier 'nghttp2__mptr'
..\lib\nghttp2_stream.c:37: declaration syntax error
..\lib\nghttp2_stream.c:37: undefined identifier 'nghttp2__mptr'
..\lib\nghttp2_stream.c:861: declaration syntax error
..\lib\nghttp2_stream.c:861: undefined identifier 'nghttp2__mptr'
All three compilers I have find an issue starting at line 36,

and this has been around for a few releases:
--- nghttp2_submit.c.orig       2015-07-18 01:28:25.000000000 +1000
+++ nghttp2_submit.c    2015-07-23 09:11:07.703125000 +1000
@@ -155,7 +155,7 @@
                                attach_stream);
 }

-int32_t ghnttp2_submit_trailer(nghttp2_session *session, int32_t stream_id,
+int nghttp2_submit_trailer(nghttp2_session *session, int32_t stream_id,
                                const nghttp2_nv *nva, size_t nvlen) {
   return submit_headers_shared_nva(session, NGHTTP2_FLAG_END_STREAM, stream_id,
                                    NULL, nva, nvlen, NULL, NULL, 0);
The header prototype has tp2_submit_trailer() defined as int.
HTH,
Norm

Reply via email to