$OpenBSD: lua-lua-nginx-module_src_ngx_http_lua_socket_udp_h,v 1.1 2016/02/27 12:47:32 robert Exp $
--- lua-nginx-module/src/ngx_http_lua_socket_udp.h.orig	Sun Dec 20 06:43:48 2015
+++ lua-nginx-module/src/ngx_http_lua_socket_udp.h	Sat Feb 27 13:44:35 2016
@@ -24,6 +24,15 @@ typedef void (*ngx_http_lua_socket_udp_upstream_handle
           ngx_http_request_t *r, ngx_http_lua_socket_udp_upstream_t *u);
 
 
+typedef struct {
+    ngx_connection_t         *connection;
+    struct sockaddr          *sockaddr;
+    socklen_t                 socklen;
+    ngx_str_t                 server;
+    ngx_log_t                 log;
+} ngx_http_lua_udp_connection_t;
+
+
 struct ngx_http_lua_socket_udp_upstream_s {
     ngx_http_lua_socket_udp_retval_handler          prepare_retvals;
     ngx_http_lua_socket_udp_upstream_handler_pt     read_event_handler;
@@ -31,7 +40,7 @@ struct ngx_http_lua_socket_udp_upstream_s {
     ngx_http_lua_loc_conf_t         *conf;
     ngx_http_cleanup_pt             *cleanup;
     ngx_http_request_t              *request;
-    ngx_udp_connection_t             udp_connection;
+    ngx_http_lua_udp_connection_t    udp_connection;
 
     ngx_msec_t                       read_timeout;
 
