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:
parent
2a5d09646e
commit
7d6c1d4ed2
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user