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);
}
Subject Author Posted

How can i get ip and port under forward proxy

honwel June 05, 2013 06:26AM

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

Maxim Dounin June 05, 2013 08:20AM

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

honwel June 05, 2013 09:10PM

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

Maxim Dounin June 06, 2013 09:04AM

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

honwel June 06, 2013 09:29PM

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

Maxim Dounin June 06, 2013 10:06PM

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

honwel June 05, 2013 09:37PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 99
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready