diff --git a/lib/nghttp2_helper.c b/lib/nghttp2_helper.c index bc10236a..105c6bcb 100644 --- a/lib/nghttp2_helper.c +++ b/lib/nghttp2_helper.c @@ -225,6 +225,8 @@ const char* nghttp2_strerror(int error_code) return "Out of memory"; case NGHTTP2_ERR_CALLBACK_FAILURE: return "The user callback function failed"; + case NGHTTP2_ERR_BAD_PREFACE: + return "Received bad connection preface"; default: return "Unknown error code"; }