From: Bill Erickson Date: Tue, 6 Nov 2012 21:54:44 +0000 (-0500) Subject: LP#1268619: websocket gateway : note api changes for apache 2.4 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c5d0e72c840208a479feaeac3366bdcd8685da69;p=working%2FOpenSRF.git LP#1268619: websocket gateway : note api changes for apache 2.4 Signed-off-by: Bill Erickson --- 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 } /**