Commit 72766225 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Add missing NGHTTP2_ERR_BAD_PREFACE to nghttp2_strerror

parent b2f88f8f
......@@ -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";
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment