• Anna Henningsen's avatar
    lib: add nghttp2_rcbuf_is_static() · eb306f46
    Anna Henningsen authored
    Add a `nghttp2_rcbuf_is_static()` method to tell whether a rcbuf
    is statically allocated.
    
    This can be useful for language bindings that wish to avoid
    creating duplicate strings for these buffers; concretely, I am
    planning to use this in the Node HTTP/2 module that is being
    introduced.
    eb306f46
nghttp2_rcbuf.c 2.72 KB