This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 06f98d1177 Don't send "None" as a server name (#11204)
06f98d1177 is described below
commit 06f98d11779a46b79914d2dbaad602d92dd5df1b
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Wed Apr 3 10:51:43 2024 -0600
Don't send "None" as a server name (#11204)
---
tests/gold_tests/tls/test-0rtt-s_client.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gold_tests/tls/test-0rtt-s_client.py
b/tests/gold_tests/tls/test-0rtt-s_client.py
index 3bd8c08a03..8c017d658e 100644
--- a/tests/gold_tests/tls/test-0rtt-s_client.py
+++ b/tests/gold_tests/tls/test-0rtt-s_client.py
@@ -37,7 +37,7 @@ def main():
sess_file_path = os.path.join(args.run_dir, 'sess.dat')
early_data_file_path = os.path.join(args.run_dir,
'early_{0}_{1}.txt'.format(args.http_ver, args.test_name))
- if args.sni != '':
+ if args.sni != '' and args.sni is not None:
sni_str = '-servername {0}'.format(args.sni)
else:
sni_str = ''