Skip to content
Open
4 changes: 2 additions & 2 deletions .github/actions/install-boost/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ runs:
if: runner.os == 'macOS'
shell: bash
run: |
brew install boost@1.85
echo "BOOST_ROOT=$(brew --prefix boost@1.85)" >> $GITHUB_OUTPUT
brew install boost
echo "BOOST_ROOT=$(brew --prefix boost)" >> $GITHUB_OUTPUT

- name: Determine root
id: determine-root
Expand Down
14 changes: 14 additions & 0 deletions vendor/foxy/include/foxy/detail/export_connect_fields.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
//
// Copyright (c) 2018-2019 Christian Mazakas (christian dot mazakas at gmail dot com)
//
Expand All @@ -18,6 +18,7 @@

#include <boost/utility/string_view.hpp>
#include <boost/range/algorithm.hpp>
#include <boost/version.hpp>

#include <type_traits>
#include <array>
Expand Down Expand Up @@ -88,6 +89,18 @@
// iterate the `src` fields, moving any connect headers and the corresponding tokens to the `dst`
// fields
//
// Boost 1.90 removed proxy_authentication_info, proxy_features, and
// proxy_instruction from boost::beast::http::field.
#if BOOST_VERSION >= 109000
auto const hop_by_hops = std::array<http::field, 8>{http::field::connection,
http::field::keep_alive,
http::field::proxy_authenticate,
http::field::proxy_authorization,
http::field::proxy_connection,
http::field::te,
http::field::trailer,
http::field::transfer_encoding};
#else
auto const hop_by_hops = std::array<http::field, 11>{http::field::connection,
http::field::keep_alive,
http::field::proxy_authenticate,
Expand All @@ -99,6 +112,7 @@
http::field::te,
http::field::trailer,
http::field::transfer_encoding};
#endif

auto const is_connect_opt =
[&connect_opts,
Expand Down
Loading