소스 검색

Add host_name to mg_client_options

Used for clientside SNI
Mellnik 6 년 전
부모
커밋
b404290682
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      include/civetweb.h

+ 1 - 0
include/civetweb.h

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