Welcome! Log In Create A New Profile

Advanced

Re: How can i get ip and port under forward proxy

June 05, 2013 09:37PM
static void
457 ngx_http_upstream_init_request(ngx_http_request_t *r)
........................................
498 #endif
499
500 u->store = (u->conf->store || u->conf->store_lengths);
501
502 if (!u->store && !r->post_action && !u->conf->ignore_client_abort) {
503 r->read_event_handler = ngx_http_upstream_rd_check_broken_connection;
504 r->write_event_handler = ngx_http_upstream_wr_check_broken_connection;
505 }
506
507 if (r->request_body) {
508 u->request_bufs = r->request_body->bufs;
509 }
510
511 if (u->create_request(r) != NGX_OK) {
512 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
513 return;
514 }
515
516 u->peer.local = u->conf->local;
517 /* init */
518 u->peer.local_sockaddr = ngx_palloc(r->pool, NGX_SOCKADDRLEN);
....................
650 return;
651 }
652
653 ngx_http_upstream_connect(r, u);
}
SubjectAuthorPosted

How can i get ip and port under forward proxy

honwelJune 05, 2013 06:26AM

Re: How can i get ip and port under forward proxy

Maxim DouninJune 05, 2013 08:20AM

Re: How can i get ip and port under forward proxy

honwelJune 05, 2013 09:10PM

Re: How can i get ip and port under forward proxy

Maxim DouninJune 06, 2013 09:04AM

Re: How can i get ip and port under forward proxy

honwelJune 06, 2013 09:29PM

Re: How can i get ip and port under forward proxy

Maxim DouninJune 06, 2013 10:06PM

Re: How can i get ip and port under forward proxy

honwelJune 05, 2013 09:37PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready