Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30195
Modified Files:
Tag: XQuery_0-20
xrpc_server.mx
Log Message:
- use 127.0.0.1 instead of localhost
Index: xrpc_server.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_server.mx,v
retrieving revision 1.51.2.3
retrieving revision 1.51.2.4
diff -u -d -r1.51.2.3 -r1.51.2.4
--- xrpc_server.mx 25 Oct 2007 15:09:45 -0000 1.51.2.3
+++ xrpc_server.mx 18 Dec 2007 16:00:52 -0000 1.51.2.4
@@ -123,9 +123,8 @@
PROC rpcd_start() : void {
var port := get_xrpc_port();
xrpc_trusted.insert("http://127.0.0.1:"+str(port),nil);
- xrpc_trusted.insert("http://localhost:"+str(port),nil);
if (monet_environment.find("monet_welcome") = "yes")
- printf("%c XRPC administrative console at
http://localhost:%d/admin\n", int(35), port);
+ printf("%c XRPC administrative console at
http://127.0.0.1:%d/admin\n", int(35), port);
fork( rpcd_start(port, get_xrpc_open(), get_xrpc_options()) );
}
ADDHELP("rpcd_start", "zhang", "Febuary 2007",
@@ -1231,7 +1230,7 @@
"Directory listing denied");
return GDK_FAIL;
}
- snprintf(location, 1024, "http://localhost:%d/admin/admin.xq", xrpc_port);
+ snprintf(location, 1024, "http://127.0.0.1:%d/admin/admin.xq", xrpc_port);
method = shttpd_get_method(arg);
argcnt = GDKmalloc(sizeof(lng*));
if (!argcnt){
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins