introduce this param in callback fix server close on client socket

Signed-off-by: Andy Green <andy@warmcat.com>
diff --git a/test-server/test-server.c b/test-server/test-server.c
index 9143c03..db22868 100644
--- a/test-server/test-server.c
+++ b/test-server/test-server.c
@@ -60,7 +60,8 @@
 
 /* this protocol server (always the first one) just knows how to do HTTP */
 
-static int callback_http(struct libwebsocket *wsi,
+static int callback_http(struct libwebsocket_context * this,
+		struct libwebsocket *wsi,
 		enum libwebsocket_callback_reasons reason, void *user,
 							   void *in, size_t len)
 {
@@ -171,7 +172,8 @@
 };
 
 static int
-callback_dumb_increment(struct libwebsocket *wsi,
+callback_dumb_increment(struct libwebsocket_context * this,
+			struct libwebsocket *wsi,
 			enum libwebsocket_callback_reasons reason,
 					       void *user, void *in, size_t len)
 {
@@ -247,7 +249,8 @@
 
 
 static int
-callback_lws_mirror(struct libwebsocket *wsi,
+callback_lws_mirror(struct libwebsocket_context * this,
+			struct libwebsocket *wsi,
 			enum libwebsocket_callback_reasons reason,
 					       void *user, void *in, size_t len)
 {
@@ -283,7 +286,7 @@
 				  MAX_MESSAGE_QUEUE) < (MAX_MESSAGE_QUEUE - 15))
 				libwebsocket_rx_flow_control(wsi, 1);
 
-			libwebsocket_callback_on_writable(wsi);
+			libwebsocket_callback_on_writable(this, wsi);
 
 		}
 		break;