mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	More public API name changes to use an appropriate ast_ prefix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										10
									
								
								main/http.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								main/http.c
									
									
									
									
									
								
							| @@ -73,7 +73,7 @@ static struct server_args http_desc = { | ||||
| 	.tls_cfg = NULL, | ||||
| 	.poll_timeout = -1, | ||||
| 	.name = "http server", | ||||
| 	.accept_fn = server_root, | ||||
| 	.accept_fn = ast_tcptls_server_root, | ||||
| 	.worker_fn = httpd_helper_thread, | ||||
| }; | ||||
|  | ||||
| @@ -83,7 +83,7 @@ static struct server_args https_desc = { | ||||
| 	.tls_cfg = &http_tls_cfg, | ||||
| 	.poll_timeout = -1, | ||||
| 	.name = "https server", | ||||
| 	.accept_fn = server_root, | ||||
| 	.accept_fn = ast_tcptls_server_root, | ||||
| 	.worker_fn = httpd_helper_thread, | ||||
| }; | ||||
|  | ||||
| @@ -1028,9 +1028,9 @@ static int __ast_http_load(int reload) | ||||
| 	if (strcmp(prefix, newprefix)) | ||||
| 		ast_copy_string(prefix, newprefix, sizeof(prefix)); | ||||
| 	enablestatic = newenablestatic; | ||||
| 	server_start(&http_desc); | ||||
| 	if (ssl_setup(https_desc.tls_cfg)) | ||||
| 		server_start(&https_desc); | ||||
| 	ast_tcptls_server_start(&http_desc); | ||||
| 	if (ast_ssl_setup(https_desc.tls_cfg)) | ||||
| 		ast_tcptls_server_start(&https_desc); | ||||
|  | ||||
| 	return 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user