1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00

Update http2.cpp

This commit is contained in:
Victor Stewart 2020-02-24 17:30:03 -05:00 committed by GitHub
parent 2a5d09646e
commit 7d6c1d4ed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3832,7 +3832,15 @@ void UHTTP2::sendResetStream()
u_write_unalignedp32(ptr+5,frame.stream_id);
u_write_unalignedp32(ptr+9,nerror);
#ifdef GCC_IS_GNU
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif
const char* descr = getFrameErrorCodeDescription(nerror);
#ifdef GCC_IS_GNU
#pragma GCC diagnostic pop
#endif
U_DEBUG("Send RST_STREAM frame with error (%u, %s)", nerror, descr)