Fix error string

This commit is contained in:
Tatsuhiro Tsujikawa 2013-08-03 23:45:10 +09:00
parent f613f68a13
commit b14d9d622f
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ const char* nghttp2_strerror(int error_code)
case NGHTTP2_ERR_DEFERRED_DATA_EXIST: case NGHTTP2_ERR_DEFERRED_DATA_EXIST:
return "Another DATA frame has already been deferred"; return "Another DATA frame has already been deferred";
case NGHTTP2_ERR_START_STREAM_NOT_ALLOWED: case NGHTTP2_ERR_START_STREAM_NOT_ALLOWED:
return "SYN_STREAM is not allowed"; return "request HEADERS is not allowed";
case NGHTTP2_ERR_GOAWAY_ALREADY_SENT: case NGHTTP2_ERR_GOAWAY_ALREADY_SENT:
return "GOAWAY has already been sent"; return "GOAWAY has already been sent";
case NGHTTP2_ERR_INVALID_HEADER_BLOCK: case NGHTTP2_ERR_INVALID_HEADER_BLOCK: