version 1.68, 2007/12/18 18:50:45
|
version 1.69, 2008/04/04 19:23:39
|
|
|
throw AlreadyConnectedException(); | throw AlreadyConnectedException(); |
| |
// | // |
// If the host is empty, set hostName to "localhost" |
// If the host is empty and port is valid, set hostName to "localhost" |
|
// Otherwise, HTTPConnector will use the unix domain socket. |
// | // |
String hostName = host; | String hostName = host; |
if (host == String::EMPTY) |
if (!host.size() && (portNumber != 0)) |
{ | { |
hostName = "localhost"; | hostName = "localhost"; |
} | } |