Add missing NGHTTP2_ERR_BAD_PREFACE to nghttp2_strerror
This commit is contained in:
parent
b2f88f8fe3
commit
727662257c
|
@ -225,6 +225,8 @@ const char* nghttp2_strerror(int error_code)
|
||||||
return "Out of memory";
|
return "Out of memory";
|
||||||
case NGHTTP2_ERR_CALLBACK_FAILURE:
|
case NGHTTP2_ERR_CALLBACK_FAILURE:
|
||||||
return "The user callback function failed";
|
return "The user callback function failed";
|
||||||
|
case NGHTTP2_ERR_BAD_PREFACE:
|
||||||
|
return "Received bad connection preface";
|
||||||
default:
|
default:
|
||||||
return "Unknown error code";
|
return "Unknown error code";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue