Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 3 of 3) sorted by last modified time

/unit/tools/
H A DREADME.md84 | `http://…`*URI* | For remote TCP control sockets, the URI may include the protocol, hostname, and…
/unit/src/
H A Dnxt_runtime.c1271 char hostname[NXT_MAXHOSTNAMELEN + 1]; in nxt_runtime_hostname() local
1273 if (gethostname(hostname, NXT_MAXHOSTNAMELEN) != 0) { in nxt_runtime_hostname()
1286 hostname[NXT_MAXHOSTNAMELEN] = '\0'; in nxt_runtime_hostname()
1288 length = nxt_strlen(hostname); in nxt_runtime_hostname()
1289 rt->hostname.length = length; in nxt_runtime_hostname()
1291 rt->hostname.start = nxt_mp_nget(rt->mem_pool, length); in nxt_runtime_hostname()
1293 if (rt->hostname.start != NULL) { in nxt_runtime_hostname()
1294 nxt_memcpy_lowcase(rt->hostname.start, (u_char *) hostname, length); in nxt_runtime_hostname()
H A Dnxt_runtime.h27 nxt_str_t hostname; member