@@ -54,7 +54,7 @@ static void ngx_http_lua_socket_udp_read_handler(ngx_http_request_t *r,
54
54
ngx_http_lua_socket_udp_upstream_t * u );
55
55
static void ngx_http_lua_socket_udp_handle_success (ngx_http_request_t * r ,
56
56
ngx_http_lua_socket_udp_upstream_t * u );
57
- static ngx_int_t ngx_http_lua_udp_connect (ngx_udp_connection_t * uc );
57
+ static ngx_int_t ngx_http_lua_udp_connect (ngx_http_lua_udp_connection_t * uc );
58
58
static int ngx_http_lua_socket_udp_close (lua_State * L );
59
59
static ngx_int_t ngx_http_lua_socket_udp_resume (ngx_http_request_t * r );
60
60
static void ngx_http_lua_udp_resolve_cleanup (void * data );
@@ -170,10 +170,10 @@ ngx_http_lua_socket_udp_setpeername(lua_State *L)
170
170
ngx_url_t url ;
171
171
ngx_int_t rc ;
172
172
ngx_http_lua_loc_conf_t * llcf ;
173
- ngx_udp_connection_t * uc ;
174
173
int timeout ;
175
174
ngx_http_lua_co_ctx_t * coctx ;
176
175
176
+ ngx_http_lua_udp_connection_t * uc ;
177
177
ngx_http_lua_socket_udp_upstream_t * u ;
178
178
179
179
/*
@@ -642,11 +642,11 @@ ngx_http_lua_socket_resolve_retval_handler(ngx_http_request_t *r,
642
642
{
643
643
ngx_http_lua_ctx_t * ctx ;
644
644
ngx_http_lua_co_ctx_t * coctx ;
645
- ngx_udp_connection_t * uc ;
646
645
ngx_connection_t * c ;
647
646
ngx_http_cleanup_t * cln ;
648
647
ngx_http_upstream_resolved_t * ur ;
649
648
ngx_int_t rc ;
649
+ ngx_http_lua_udp_connection_t * uc ;
650
650
651
651
ngx_log_debug0 (NGX_LOG_DEBUG_HTTP , r -> connection -> log , 0 ,
652
652
"lua udp socket resolve retval handler" );
@@ -1348,7 +1348,7 @@ ngx_http_lua_socket_udp_handle_success(ngx_http_request_t *r,
1348
1348
1349
1349
1350
1350
static ngx_int_t
1351
- ngx_http_lua_udp_connect (ngx_udp_connection_t * uc )
1351
+ ngx_http_lua_udp_connect (ngx_http_lua_udp_connection_t * uc )
1352
1352
{
1353
1353
int rc ;
1354
1354
ngx_int_t event ;
0 commit comments