diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c20738..acf5878 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,9 +65,9 @@ jobs: - name: Install boost working-directory: ${{ github.workspace }} run: | - wget https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.gz -O /tmp/boost.tar.gz + wget https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.gz -O /tmp/boost.tar.gz tar xzvf /tmp/boost.tar.gz - cd boost_1_81_0 + cd boost_1_84_0 ./bootstrap.sh sudo ./b2 install link=static - name: Install protobuf @@ -145,11 +145,11 @@ jobs: $env:Path += ";C:\Program Files (x86)\zlib\bin" - name: Install boost run: | - Invoke-WebRequest "https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.zip" -OutFile "boost_1_76_0.zip" - Expand-Archive "boost_1_76_0.zip" -Force - cd .\boost_1_76_0\boost_1_76_0\ + Invoke-WebRequest "https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.zip" -OutFile "boost_1_84_0.zip" + Expand-Archive "boost_1_84_0.zip" -Force + cd .\boost_1_84_0\boost_1_84_0\ .\bootstrap.bat - .\b2 toolset=msvc-14.2 address-model=64 install define=BOOST_WINAPI_VERSION_WIN10 link=static + .\b2 toolset=msvc-14.2 address-model=64 install define=_WIN32_WINNT=0x0601 define=BOOST_WINAPI_VERSION_WIN7 link=static - name: Install protobuf run: | cd \ @@ -169,7 +169,7 @@ jobs: run: | mkdir build cd build - cmake -DBUILD_TESTS=OFF -DBOOST_PKG_VERSION=1.76.0 -DWIN32_WINNT=0x0A00 -DBoost_USE_STATIC_LIBS=ON -DCMAKE_PREFIX_PATH="C:\Boost;C:\Program Files (x86)\Catch2;C:\Program Files (x86)\protobuf;C:\Program Files\OpenSSL" -G "Visual Studio 16 2019" -A x64 ..\ + cmake -DBUILD_TESTS=OFF -DBOOST_PKG_VERSION=1.84.0 -DWIN32_WINNT=0x0601 -DBoost_USE_STATIC_LIBS=ON -DCMAKE_PREFIX_PATH="C:\Boost;C:\Program Files (x86)\Catch2;C:\Program Files (x86)\protobuf;C:\Program Files\OpenSSL" -G "Visual Studio 16 2019" -A x64 ..\ msbuild localproxy.vcxproj -p:Configuration=Release - name: Upload Artifact uses: actions/upload-artifact@v3 diff --git a/src/TcpAdapterProxy.cpp b/src/TcpAdapterProxy.cpp index f675654..9fc7c0a 100644 --- a/src/TcpAdapterProxy.cpp +++ b/src/TcpAdapterProxy.cpp @@ -511,7 +511,7 @@ namespace aws { namespace iot { namespace securedtunneling { } connection->tcp_write_buffer_.consume(connection->tcp_write_buffer_.max_size()); // this works on Linux x86_64 but causes a bus error on Darwin arm64, commenting it out - connection->socket_.shutdown(boost::asio::ip::tcp::socket::shutdown_receive); + // connection->socket_.shutdown(boost::asio::ip::tcp::socket::shutdown_receive); connection->socket_.close(); connection->on_web_socket_write_buffer_drain_complete = [&, service_id, connection_id]()