From c5d0e72c840208a479feaeac3366bdcd8685da69 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 6 Nov 2012 16:54:44 -0500 Subject: [PATCH] LP#1268619: websocket gateway : note api changes for apache 2.4 Signed-off-by: Bill Erickson --- src/gateway/osrf_websocket_translator.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gateway/osrf_websocket_translator.c b/src/gateway/osrf_websocket_translator.c index 2a6db5a..2e74fa1 100644 --- a/src/gateway/osrf_websocket_translator.c +++ b/src/gateway/osrf_websocket_translator.c @@ -230,7 +230,8 @@ void* CALLBACK on_connect_handler(const WebSocketServer *server) { apr_pool_t *pool; ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, - "WS connect from %s", r->connection->remote_ip); + "WS connect from %s", r->connection->remote_ip); + //"WS connect from %s", r->connection->client_ip); // apache 2.4 if (!trans) { if (child_init(server) != APR_SUCCESS) { @@ -398,7 +399,8 @@ void CALLBACK on_disconnect_handler( request_rec *r = server->request(server); ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, - "WS disconnect from %s", r->connection->remote_ip); + "WS disconnect from %s", r->connection->remote_ip); + //"WS disconnect from %s", r->connection->client_ip); // apache 2.4 } /** -- 2.11.0