http3: instrument with req-level dtrace probes
@@ -984,6 +984,8 @@ static int handle_input_expect_headers(struct st_h2o_http3_server_stream_t *stre
return 0;
}
+ h2o_probe_log_request(&stream->req, stream->quic->stream_id);
+
/* change state */
set_state(stream, H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK);
@@ -1016,6 +1018,7 @@ static void do_send(h2o_ostream_t *_ostr, h2o_req_t *_req, h2o_sendvec_t *bufs,
if (stream->state == H2O_HTTP3_SERVER_STREAM_STATE_SEND_HEADERS) {
write_response(stream);
+ h2o_probe_log_response(&stream->req, stream->quic->stream_id);
set_state(stream, H2O_HTTP3_SERVER_STREAM_STATE_SEND_BODY);
} else {
assert(stream->state == H2O_HTTP3_SERVER_STREAM_STATE_SEND_BODY);
