Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
what does the "main" pointor in request struct mean?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
4everpan
May 27, 2010 02:55AM
Registered: 14 years ago
Posts: 4
I found in Nginx that:
struct ngx_http_request_s {
...
ngx_http_request_t *main;
...
};
what does this argument mean?
I also found a similar argument in Apache:
request_rec* request_rec::main
//Pointer to the main request if this is a sub-request (see http_request.h)
so,
Do they have the same meaning?
and if yes, what dose a main request and a sub-request mean? What's the difference between the 2 http requests?
hope anybody's help. Thx~~
Reply
Quote
RSS
Subject
Author
Posted
what does the "main" pointor in request struct mean?
4everpan
May 27, 2010 02:55AM
Re: what does the "main" pointor in request struct mean?
Igor Sysoev
May 27, 2010 04:22AM
Re: what does the "main" pointor in request struct mean?
vesperto
May 27, 2010 04:44AM
Re: what does the "main" pointor in request struct mean?
Igor Sysoev
May 27, 2010 05:02AM
Re: what does the "main" pointor in request struct mean?
4everpan
May 28, 2010 02:19AM
Re: what does the "main" pointor in request struct mean?
agentzh
May 28, 2010 04:56AM
Re: what does the "main" pointor in request struct mean?
4everpan
May 28, 2010 06:03AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 244
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024