Skip to content

Commit

Permalink
quic: include some missing headers. (envoyproxy#30361)
Browse files Browse the repository at this point in the history
This should not affect any functionality -- the only impact should be a modest compile-time impact, in exchange for making the code more resilient to changes in dependencies.

Commit Message: quic: include some missing headers.
Additional Description:
Risk Level: n/a
Testing: n/a
Docs Changes:
Release Notes:
Platform Specific Features:

Signed-off-by: Steve Wang <[email protected]>
  • Loading branch information
steveWang authored Oct 23, 2023
1 parent 69f1e43 commit 53b23a2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions source/common/quic/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ envoy_cc_library(
hdrs = ["send_buffer_monitor.h"],
tags = ["nofips"],
deps = [
"//source/common/common:assert_lib",
"@com_github_google_quiche//:quic_core_session_lib",
],
)
Expand All @@ -551,7 +552,9 @@ envoy_cc_library(
hdrs = ["envoy_quic_client_crypto_stream_factory.h"],
tags = ["nofips"],
deps = [
"//envoy/common:optref_lib",
"//envoy/config:typed_config_interface",
"//envoy/network:transport_socket_interface",
"@com_github_google_quiche//:quic_client_session_lib",
"@com_github_google_quiche//:quic_core_http_spdy_session_lib",
],
Expand Down Expand Up @@ -607,6 +610,7 @@ envoy_cc_library(
tags = ["nofips"],
deps = [
"//envoy/access_log:access_log_interface",
"//envoy/http:codec_interface",
"//source/common/http:header_map_lib",
"@com_github_google_quiche//:quic_core_ack_listener_interface_lib",
],
Expand All @@ -618,6 +622,7 @@ envoy_cc_library(
hdrs = ["http_datagram_handler.h"],
deps = [
"//envoy/http:codec_interface",
"//source/common/buffer:buffer_lib",
"//source/common/common:logger_lib",
"//source/common/http:header_map_lib",
"@com_github_google_quiche//:quic_core_http_spdy_session_lib",
Expand Down
4 changes: 3 additions & 1 deletion source/common/quic/http_datagram_handler.cc
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#include "source/common/quic/http_datagram_handler.h"

#include "source/common/buffer/buffer_impl.h"
#include "source/common/common/logger.h"
#include "source/common/http/header_map_impl.h"

#include "absl/strings/string_view.h"
#include "quiche/common/simple_buffer_allocator.h"
#include "quiche/common/capsule.h"
#include "quiche/common/quiche_buffer_allocator.h"
#include "quiche/quic/core/http/quic_spdy_stream.h"

namespace Envoy {
Expand Down
2 changes: 2 additions & 0 deletions source/common/quic/send_buffer_monitor.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "source/common/quic/send_buffer_monitor.h"

#include "source/common/common/assert.h"

namespace Envoy {
namespace Quic {

Expand Down
1 change: 1 addition & 0 deletions test/common/quic/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ envoy_cc_test_library(
tags = ["nofips"],
deps = [
":envoy_quic_h3_fuzz_proto_cc_proto",
"//source/common/common:assert_lib",
"@com_github_google_quiche//:quic_test_tools_test_utils_lib",
],
)
Expand Down
2 changes: 2 additions & 0 deletions test/common/quic/envoy_quic_h3_fuzz_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include <set>

#include "source/common/common/assert.h"

#include "test/common/quic/envoy_quic_h3_fuzz.pb.h"

#include "quiche/quic/core/crypto/null_decrypter.h"
Expand Down

0 comments on commit 53b23a2

Please sign in to comment.