]> granicus.if.org Git - curl/commit
examples/http2-serverpush: add some sensible error checks
authorDaniel Stenberg <daniel@haxx.se>
Mon, 18 Feb 2019 08:07:34 +0000 (09:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 Feb 2019 13:57:38 +0000 (14:57 +0100)
commitaf143ef45e308a38900a9550c7fffb7f5734a97e
tree563febe7d89bd4766f96c1fe6c7c941bcf3f97f5
parentf26bc29cfec0be84c67cf74065cf8e5e78fd68b7
examples/http2-serverpush: add some sensible error checks

To avoid NULL pointer dereferences etc in the case of problems.

Closes #3580
docs/examples/http2-serverpush.c