MCPcopy Create free account
hub / github.com/apache/trafficserver / main

Function main

tests/gold_tests/tls/split_client_hello.py:168–177  ·  view source on GitHub ↗

Send the CLIENT_HELLO split into two packets. :return: 0 on success, non-zero on failure.

()

Source from the content-addressed store, hash-verified

166
167
168def main() -> int:
169 '''Send the CLIENT_HELLO split into two packets.
170 :return: 0 on success, non-zero on failure.
171 '''
172 args = parse_args()
173 status = send_clienthello(args.dest_host, args.dest_port, args.split_size, args.num_data_packets)
174 if status == 0:
175 print("CLIENT_HELLO sent successfully.")
176 else:
177 print("CLIENT_HELLO failed.")
178
179
180if __name__ == "__main__":

Callers 1

Calls 2

send_clienthelloFunction · 0.85
parse_argsFunction · 0.70

Tested by

no test coverage detected