- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl miniupnpc ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink boost openssl && brew link boost openssl -f ; fi
env:
matrix:
- BUILD_TYPE=Release UPNP=ON
- BUILD_TYPE=Release UPNP=OFF
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libressl miniupnpc ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew outdated boost || brew upgrade boost ; fi
script:
- cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_UPNP=${UPNP} && make
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$BUILD_TYPE" == "cmake" ]]; then cd build && cmake -DCMAKE_BUILD_TYPE=Release -DWITH_UPNP=${UPNP} && make ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$BUILD_TYPE" == "make" ]]; then make USE_UPNP=${MAKE_UPNP} ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make HOMEBREW=1 USE_UPNP=${MAKE_UPNP} ; fi
s<<"<div class='slide'\r\n><label for='slide1'>Hidden content. Press on text to see.</label>\r\n<input type='checkbox' id='slide1'/>\r\n<p class='content'>\r\n";
LogPrint(eLogWarning,"Destination: Publish confirmation was not received in ",PUBLISH_CONFIRMATION_TIMEOUT," seconds, will try again");
Publish();
}
else
{
LogPrint(eLogWarning,"Destination: Publish confirmation was not received in ",PUBLISH_CONFIRMATION_TIMEOUT," seconds from Java floodfill for crypto type ",(int)GetIdentity()->GetCryptoKeyType());
// Java floodfill never sends confirmantion back for unknown crypto type
constuint16_tCRYPTO_KEY_TYPE_ECIES_P256_SHA256_AES256CBC_TEST=65280;// TODO: remove later
constuint16_tCRYPTO_KEY_TYPE_ECIES_GOSTR3410_CRYPTO_PRO_A_SHA256_AES256CBC=65281;// TODO: use GOST R 34.11 instead SHA256 and GOST 28147-89 instead AES
LogPrint(eLogError,"Streaming: Signature too big, ",signatureLen," bytes");
}
}
packet->offset=packet->GetPayload()-packet->buf;
if(packet->GetLength()>0)
@ -798,7 +814,7 @@ namespace stream
{
if(m_LastReceivedSequenceNumber<0)
{
LogPrint(eLogWarning,"Streaming: SYN has not been received after ",ACK_SEND_TIMEOUT," milliseconds after follow on, terminate rSID=",m_RecvStreamID,", sSID=",m_SendStreamID);
LogPrint(eLogWarning,"Streaming: SYN has not been received after ",SYN_TIMEOUT," milliseconds after follow on, terminate rSID=",m_RecvStreamID,", sSID=",m_SendStreamID);