In quic, indicate whether there is bytes in flight when blackhole is detected. not protected.

PiperOrigin-RevId: 319062165
Change-Id: I722e69612413c680a1fea1eaa9197f078733c9d6
diff --git a/quic/core/quic_connection.cc b/quic/core/quic_connection.cc
index 02ca259..12a2e85 100644
--- a/quic/core/quic_connection.cc
+++ b/quic/core/quic_connection.cc
@@ -4572,7 +4572,11 @@
       << ENDPOINT
       << "Closing connection because of blackhole, but there is no bytes in "
          "flight";
-  CloseConnection(QUIC_TOO_MANY_RTOS, "Network blackhole detected.",
+  const std::string error_detail = quiche::QuicheStrCat(
+      "Network blackhole detected", sent_packet_manager_.HasInFlightPackets()
+                                        ? "."
+                                        : " with no packets in flight.");
+  CloseConnection(QUIC_TOO_MANY_RTOS, error_detail,
                   ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
 }