Home
last modified time | relevance | path

Searched refs:remote (Results 1 – 25 of 27) sorted by relevance

12

/unit/src/
H A Dnxt_conn_connect.c46 switch (nxt_socket_connect(task, c->socket.fd, c->remote)) { in nxt_conn_io_connect()
85 family = c->remote->u.sockaddr.sa_family; in nxt_conn_socket()
87 s = nxt_socket_create(task, family, c->remote->type, 0, NXT_NONBLOCK); in nxt_conn_socket()
198 c->socket.fd, (size_t) c->remote->length, in nxt_conn_connect_test_error()
199 nxt_sockaddr_start(c->remote), err); in nxt_conn_connect_test_error()
H A Dnxt_conn_accept.c109 c->remote = nxt_sockaddr_cache_alloc(engine, lev->listen); in nxt_conn_accept_alloc()
110 if (nxt_fast_path(c->remote != NULL)) { in nxt_conn_accept_alloc()
150 sa = &c->remote->u.sockaddr; in nxt_conn_io_accept()
151 socklen = c->remote->socklen; in nxt_conn_io_accept()
192 nxt_sockaddr_text(c->remote); in nxt_conn_accept()
195 (size_t) c->remote->address_length, in nxt_conn_accept()
196 nxt_sockaddr_address(c->remote)); in nxt_conn_accept()
H A Dnxt_unit_request.h40 nxt_unit_sptr_t remote; member
H A Dnxt_stream_module.c89 p->peer->remote = up->sockaddr; in nxt_stream_connection_peer()
H A Dnxt_conn.h156 nxt_sockaddr_t *remote; member
197 if ((c)->remote->u.sockaddr.sa_family != AF_UNIX) { \
H A Dnxt_http_request.c344 ret = nxt_http_route_addr_rule(r, forward->source, r->remote); in nxt_http_request_forward()
414 prev_sa = r->remote; in nxt_http_request_forward_client_ip()
440 r->remote = prev_sa; in nxt_http_request_forward_client_ip()
447 r->remote = sa; in nxt_http_request_forward_client_ip()
453 r->remote = sa; in nxt_http_request_forward_client_ip()
H A Dnxt_conn.c145 switch (c->remote->u.sockaddr.sa_family) { in nxt_conn_local_addr()
H A Dnxt_kqueue_engine.c862 switch (nxt_socket_connect(task, c->socket.fd, c->remote)) { in nxt_kqueue_conn_io_connect()
946 sa = &c->remote->u.sockaddr; in nxt_kqueue_conn_io_accept()
947 socklen = c->remote->socklen; in nxt_kqueue_conn_io_accept()
H A Dnxt_epoll_engine.c1022 sa = &c->remote->u.sockaddr; in nxt_epoll_conn_io_accept4()
1023 socklen = c->remote->socklen; in nxt_epoll_conn_io_accept4()
1069 switch (nxt_socket_connect(task, c->socket.fd, c->remote)) { in nxt_epoll_edge_conn_io_connect()
H A Dnxt_stream_source.c63 c->remote = us->peer->sockaddr; in nxt_stream_source_connect()
H A Dnxt_http.h163 nxt_sockaddr_t *remote; member
H A Dnxt_router.c3774 size = r->remote->address_length in nxt_router_access_log_writer()
3799 p = nxt_cpymem(buf, nxt_sockaddr_address(r->remote), in nxt_router_access_log_writer()
3800 r->remote->address_length); in nxt_router_access_log_writer()
5534 + r->remote->length + 1 in nxt_router_prepare_msg()
5586 req->remote_length = r->remote->address_length; in nxt_router_prepare_msg()
5587 nxt_unit_sptr_set(&req->remote, p); in nxt_router_prepare_msg()
5588 p = nxt_cpymem(p, nxt_sockaddr_address(r->remote), in nxt_router_prepare_msg()
5589 r->remote->address_length); in nxt_router_prepare_msg()
H A Dnxt_h1proto.c490 r->remote = c->remote; in nxt_h1p_conn_request_init()
2170 c->remote = peer->server->sockaddr; in nxt_h1p_peer_connect()
H A Dnxt_sockaddr.c61 sa = c->remote; in nxt_sockaddr_cache_free()
H A Dnxt_php_sapi.c1366 nxt_php_set_sptr(req, "REMOTE_ADDR", &r->remote, r->remote_length,
/unit/src/java/
H A Dnxt_jni_Request.c542 char *remote, *colon; in nxt_java_Request_getRemoteHost() local
547 remote = nxt_unit_sptr_get(&r->remote); in nxt_java_Request_getRemoteHost()
548 colon = memchr(remote, ':', r->remote_length); in nxt_java_Request_getRemoteHost()
551 colon = remote + r->remote_length; in nxt_java_Request_getRemoteHost()
554 return nxt_java_newString(env, remote, colon - remote); in nxt_java_Request_getRemoteHost()
562 char *remote, *colon, tmp; in nxt_java_Request_getRemotePort() local
567 remote = nxt_unit_sptr_get(&r->remote); in nxt_java_Request_getRemotePort()
568 colon = memchr(remote, ':', r->remote_length); in nxt_java_Request_getRemotePort()
574 tmp = remote[r->remote_length]; in nxt_java_Request_getRemotePort()
576 remote[r->remote_length] = '\0'; in nxt_java_Request_getRemotePort()
[all …]
/unit/auto/modules/
H A Djava_get_jar24 $echo "getting remote $NXT_JAR_FILE ... "
25 $echo "getting remote $NXT_JAR_FILE ..." >> $NXT_AUTOCONF_ERR
H A Djava34 --repo=URL set Maven remote repository URL
/unit/go/
H A Drequest.go64 RemoteAddr: GoStringN(&req.remote, C.int(req.remote_length)),
/unit/src/test/
H A Dnxt_unit_app_test.c224 p = copy(p, nxt_unit_sptr_get(&r->remote), r->remote_length); in greeting_app_request_handler()
/unit/src/java/nginx/unit/websocket/
H A DLocalStrings.properties97 wsRemoteEndpoint.wrongState=The remote endpoint was in state [{0}] which is an invalid state for ca…
114 wsSession.sendCloseFail=Failed to send close message for session [{0}] to remote endpoint
/unit/src/python/
H A Dnxt_python_wsgi.c610 RC(nxt_python_add_sptr(pctx, nxt_py_remote_addr_str, &r->remote, in nxt_python_get_environ()
H A Dnxt_python_asgi.c666 v = nxt_py_asgi_create_address(&r->remote, r->remote_length, 0); in nxt_py_asgi_create_http_scope()
/unit/src/nodejs/unit-http/
H A Dunit.cpp659 set_named_property(res, "remoteAddress", r->remote, r->remote_length); in create_socket()
/unit/src/perl/
H A Dnxt_perl_psgi.c672 &r->remote, r->remote_length)); in nxt_perl_psgi_env_create()

12