forked from alibaba/xquic
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
129 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,52 +34,52 @@ To run test cases, you need | |
|
||
XQUIC supports both BabaSSL and BoringSSL. | ||
|
||
### Build with BabaSSL | ||
### Build with BoringSSL | ||
|
||
```bash | ||
# get XQUIC source code | ||
git clone [email protected]:alibaba/xquic.git | ||
cd xquic | ||
|
||
# get and build BabaSSL | ||
git clone [email protected]:BabaSSL/BabaSSL.git ./third_party/babassl | ||
cd ./third_party/babassl/ | ||
./config --prefix=/usr/local/babassl | ||
make -j | ||
SSL_TYPE_STR="babassl" | ||
# get and build BoringSSL | ||
git clone [email protected]:google/boringssl.git ./third_party/boringssl | ||
cd ./third_party/boringssl | ||
mkdir -p build && cd build | ||
cmake -DBUILD_SHARED_LIBS=0 -DCMAKE_C_FLAGS="-fPIC" -DCMAKE_CXX_FLAGS="-fPIC" .. | ||
make ssl crypto | ||
cd .. | ||
SSL_TYPE_STR="boringssl" | ||
SSL_PATH_STR="${PWD}" | ||
SSL_INC_PATH_STR="${PWD}/include" | ||
SSL_LIB_PATH_STR="${PWD}/libssl.a;${PWD}/libcrypto.a" | ||
cd - | ||
SSL_LIB_PATH_STR="${PWD}/build/ssl/libssl.a;${PWD}/build/crypto/libcrypto.a" | ||
cd ../.. | ||
|
||
# build XQUIC with BabaSSL | ||
# build XQUIC with BoringSSL | ||
git submodule update --init --recursive | ||
mkdir -p build; cd build | ||
cmake -DGCOV=on -DCMAKE_BUILD_TYPE=Debug -DXQC_ENABLE_TESTING=1 -DXQC_SUPPORT_SENDMMSG_BUILD=1 -DXQC_ENABLE_EVENT_LOG=1 -DXQC_ENABLE_BBR2=1 -DXQC_DISABLE_RENO=0 -DSSL_TYPE=${SSL_TYPE_STR} -DSSL_PATH=${SSL_PATH_STR} -DSSL_INC_PATH=${SSL_INC_PATH_STR} -DSSL_LIB_PATH=${SSL_LIB_PATH_STR} .. | ||
make -j | ||
``` | ||
|
||
### Build with BoringSSL | ||
### Build with BabaSSL | ||
|
||
```bash | ||
# get XQUIC source code | ||
git clone [email protected]:alibaba/xquic.git | ||
cd xquic | ||
|
||
# get and build BoringSSL | ||
git clone [email protected]:google/boringssl.git ./third_party/boringssl | ||
cd ./third_party/boringssl | ||
mkdir -p build && cd build | ||
cmake -DBUILD_SHARED_LIBS=0 -DCMAKE_C_FLAGS="-fPIC" -DCMAKE_CXX_FLAGS="-fPIC" .. | ||
make ssl crypto | ||
cd .. | ||
SSL_TYPE_STR="boringssl" | ||
# get and build BabaSSL | ||
git clone [email protected]:BabaSSL/BabaSSL.git ./third_party/babassl | ||
cd ./third_party/babassl/ | ||
./config --prefix=/usr/local/babassl | ||
make -j | ||
SSL_TYPE_STR="babassl" | ||
SSL_PATH_STR="${PWD}" | ||
SSL_INC_PATH_STR="${PWD}/include" | ||
SSL_LIB_PATH_STR="${PWD}/build/ssl/libssl.a;${PWD}/build/crypto/libcrypto.a" | ||
cd ../.. | ||
SSL_LIB_PATH_STR="${PWD}/libssl.a;${PWD}/libcrypto.a" | ||
cd - | ||
|
||
# build XQUIC with BoringSSL | ||
# build XQUIC with BabaSSL | ||
git submodule update --init --recursive | ||
mkdir -p build; cd build | ||
cmake -DGCOV=on -DCMAKE_BUILD_TYPE=Debug -DXQC_ENABLE_TESTING=1 -DXQC_SUPPORT_SENDMMSG_BUILD=1 -DXQC_ENABLE_EVENT_LOG=1 -DXQC_ENABLE_BBR2=1 -DXQC_DISABLE_RENO=0 -DSSL_TYPE=${SSL_TYPE_STR} -DSSL_PATH=${SSL_PATH_STR} -DSSL_INC_PATH=${SSL_INC_PATH_STR} -DSSL_LIB_PATH=${SSL_LIB_PATH_STR} .. | ||
|
@@ -99,7 +99,7 @@ sh ../scripts/xquic_test.sh | |
* For Chinese Simplified (zh-CN) translation of the IETF QUIC Protocol, see the Translation docs. | ||
- The following translation is based on draft-34 and RFC Translation is Working In Progress. | ||
- [draft-ietf-quic-invariants-13-zh](./docs/translation/draft-ietf-quic-invariants-13-zh.md) | ||
- [draft-ietf-quic-transport-34-zh](./docs/translation/draft-ietf-quic-transport-34-zh.md) | ||
- [RFC9000-transport-zh](./docs/translation/rfc9000-transport-zh.md) | ||
- [draft-ietf-quic-recovery-34-zh](./docs/translation/draft-ietf-quic-recovery-34-zh.md) | ||
- [draft-ietf-quic-tls-34-zh](./docs/translation/draft-ietf-quic-tls-34-zh.md) | ||
- [draft-ietf-quic-http-34-zh](./docs/translation/draft-ietf-quic-http-34-zh.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.