Browse Source

Add host_name to mg_client_options

Used for clientside SNI
Mellnik 6 năm trước cách đây
mục cha
commit
b404290682
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      include/civetweb.h

+ 1 - 0
include/civetweb.h

@@ -1388,6 +1388,7 @@ struct mg_client_options {
 	int port;
 	int port;
 	const char *client_cert;
 	const char *client_cert;
 	const char *server_cert;
 	const char *server_cert;
+	const char *host_name;
 	/* TODO: add more data */
 	/* TODO: add more data */
 };
 };