grpc/test/core/security
Soheil Hassas Yeganeh 18b19105f2 Implement TCP_INQ for gRPC in Linux
TCP_INQ is a socket option we added to Linux to report pending bytes
on the socket as a control message.

Using TCP_INQ we can accurately decide whether to continue read or not.
Add an urgent parameter, when we do not want to wait for EPOLLIN.

This commit improves the latency of 1 RPC unary (minimal benchmark)
significantly:

  Before:
    l_50: 61.3584984733
    l_90: 94.8328711277
    l_99: 126.211351174
    l_999: 158.722406029

  After:
    l_50: 51.3546011488 (-16%)
    l_90: 72.3420731581 (-23%)
    l_99: 103.280218974 (-18%)
    l_999: 130.905689996 (-17%)
2019-03-06 22:15:53 -05:00
..
corpus Add ALTS fuzzer 2018-05-08 10:15:03 -07:00
etc Added system roots feature to load roots from OS trust store 2018-08-09 11:01:31 -07:00
BUILD Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
alts_credentials_fuzzer.cc Revert "Merge pull request #18146 from grpc/revert-17308-shutdown" 2019-02-25 10:11:06 -08:00
alts_security_connector_test.cc Move security credentials, connectors, and auth context to C++ 2018-12-13 10:38:12 -05:00
auth_context_test.cc Move security credentials, connectors, and auth context to C++ 2018-12-13 10:38:12 -05:00
check_gcp_environment_linux_test.cc Don't segfault when product name from BIOS is empty 2018-07-03 13:13:37 -07:00
check_gcp_environment_windows_test.cc Include port_platform in gcp_environment tests. 2018-06-27 16:57:11 -07:00
create_jwt.cc Run clang fmt 2018-02-09 09:34:04 -08:00
credentials_test.cc Add period at end of metadata.google.internal to prevent unnecessary DNS lookups. 2019-01-24 09:37:32 -08:00
fetch_oauth2.cc Run clang fmt 2018-02-09 09:34:04 -08:00
grpc_alts_credentials_options_test.cc Add C++ experimental API extensions for ALTS C stack 2018-04-16 15:11:32 -07:00
json_token_test.cc change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
jwt_verifier_test.cc change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
linux_system_roots_test.cc change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
oauth2_utils.cc Move security credentials, connectors, and auth context to C++ 2018-12-13 10:38:12 -05:00
oauth2_utils.h Merge master 2017-11-06 14:43:31 -08:00
print_google_default_creds_token.cc Move security credentials, connectors, and auth context to C++ 2018-12-13 10:38:12 -05:00
secure_endpoint_test.cc Implement TCP_INQ for gRPC in Linux 2019-03-06 22:15:53 -05:00
security_connector_test.cc Move security credentials, connectors, and auth context to C++ 2018-12-13 10:38:12 -05:00
ssl_credentials_test.cc change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
ssl_server_fuzzer.cc Revert "Merge pull request #18146 from grpc/revert-17308-shutdown" 2019-02-25 10:11:06 -08:00
verify_jwt.cc Run clang fmt 2018-02-09 09:34:04 -08:00