Skip to content

Commit 115da2e

Browse files
committed
http2: Log H2_Send_Frame() write error details
Trying to understand if this is the place where varnishcache#4293 happens
1 parent 4038cba commit 115da2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/varnishd/http2/cache_http2_send.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,11 @@ H2_Send_Frame(struct worker *wrk, struct h2_sess *h2,
212212
H2S_Lock_VSLb(h2, SLT_SessError,
213213
"H2: stream %u: Hit idle_send_timeout", stream);
214214
}
215+
else {
216+
H2S_Lock_VSLb(h2, SLT_Debug,
217+
"H2: stream %u: write error s=%zd/%zu errno=%d",
218+
stream, s, sizeof hdr + len, errno);
219+
}
215220
/*
216221
* There is no point in being nice here, we will be unable
217222
* to send a GOAWAY once the code unrolls, so go directly

0 commit comments

Comments
 (0)