-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This also adds TLS key logging.
- Loading branch information
Showing
37 changed files
with
4,554 additions
and
232 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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Import('*') | ||
import os | ||
PartName("nghttp3") | ||
path=env.get("CUSTOM_PATH") # passed in from top level SConstruct. | ||
if path: | ||
path = env.subst(path); | ||
i_path = os.path.join(path,"include") | ||
env.Append(CPPPATH=[i_path]) | ||
env.ExportCPPPATH([i_path]) | ||
l_path = os.path.join(path,"lib") | ||
env.Append(LIBPATH=[l_path]) | ||
env.ExportLIBPATH(l_path) | ||
|
||
cfg = env.Configure() | ||
if not cfg.CheckCHeader("nghttp3/nghttp3.h"): | ||
env.PrintError("nghttp3/nghttp3.h was not found - install nghttp3 or use --with-nghttp3 to specify a directory.",show_stack=False) | ||
cfg.Finish() | ||
|
||
env.ExportLIBS(["libnghttp3"]) |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Import('*') | ||
import os | ||
PartName("ngtcp2") | ||
path=env.get("CUSTOM_PATH") # passed in from top level SConstruct. | ||
if path: | ||
path = env.subst(path); | ||
i_path = os.path.join(path,"include") | ||
env.Append(CPPPATH=[i_path]) | ||
env.ExportCPPPATH([i_path]) | ||
l_path = os.path.join(path,"lib") | ||
env.Append(LIBPATH=[l_path]) | ||
env.ExportLIBPATH(l_path) | ||
|
||
cfg = env.Configure() | ||
if not cfg.CheckCHeader("ngtcp2/ngtcp2.h"): | ||
env.PrintError("ngtcp2/ngtcp2.h was not found - install ngtcp2 or use --with-ngtcp2 to specify a directory.",show_stack=False) | ||
cfg.Finish() | ||
|
||
env.ExportLIBS(["libngtcp2", "libngtcp2_crypto_openssl"]) |
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.