~eric-rnd/mysql-proxy/mysql-proxy-fixes

« back to all changes in this revision

Viewing changes to plugins/proxy/proxy-plugin.c

  • Committer: Eric Herman
  • Date: 2009-09-16 12:20:47 UTC
  • Revision ID: eric@mysql.com-20090916122047-i05z8forvhkd5elk
fix for BUG#47370 'Proxy does not log what port it is listening on or proxying to'
 http://bugs.mysql.com/bug.php?id=47370

Show diffs side-by-side

added added

removed removed

Lines of Context:
1935
1935
        if (0 != network_socket_bind(listen_sock)) {
1936
1936
                return -1;
1937
1937
        }
 
1938
        g_message("proxy listening on port %s", config->address);
1938
1939
 
1939
1940
        for (i = 0; config->backend_addresses && config->backend_addresses[i]; i++) {
1940
1941
                network_backends_add(g->backends, config->backend_addresses[i], BACKEND_TYPE_RW);