Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
9a7413d2
Commit
9a7413d2
authored
Dec 22, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort the sess fields in per session and per request fields, plus a few
I have not made up my mind about yet.
parent
bc72cff0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
28 deletions
+38
-28
cache.h
bin/varnishd/cache/cache.h
+38
-28
No files found.
bin/varnishd/cache/cache.h
View file @
9a7413d2
...
...
@@ -581,18 +581,13 @@ struct object {
struct
sess
{
unsigned
magic
;
#define SESS_MAGIC 0x2c2f9c5a
int
fd
;
unsigned
vsl_id
;
unsigned
xid
;
int
restarts
;
int
esi_level
;
int
disable_esi
;
struct
worker
*
wrk
;
uint8_t
hash_ignore_busy
;
uint8_t
hash_always_miss
;
/* Session related fields ------------------------------------*/
struct
worker
*
wrk
;
int
fd
;
unsigned
vsl_id
;
socklen_t
sockaddrlen
;
socklen_t
mysockaddrlen
;
...
...
@@ -605,6 +600,29 @@ struct sess {
char
port
[
PORT_BUFSIZE
];
char
*
client_identity
;
/* Various internal stuff */
struct
sessmem
*
mem
;
VTAILQ_ENTRY
(
sess
)
poollist
;
struct
acct
acct_ses
;
VTAILQ_ENTRY
(
sess
)
list
;
#if defined(HAVE_EPOLL_CTL)
struct
epoll_event
ev
;
#endif
/* Request related fields ------------------------------------*/
unsigned
xid
;
int
restarts
;
int
esi_level
;
int
disable_esi
;
uint8_t
hash_ignore_busy
;
uint8_t
hash_always_miss
;
/* HTTP request */
const
char
*
doclose
;
struct
http
*
http
;
...
...
@@ -620,14 +638,6 @@ struct sess {
uint8_t
*
vary_l
;
uint8_t
*
vary_e
;
struct
http_conn
htc
[
1
];
/* Timestamps, all on TIM_real() timescale */
double
t_open
;
double
t_req
;
double
t_resp
;
double
t_end
;
/* Acceptable grace period */
struct
exp
exp
;
...
...
@@ -639,24 +649,24 @@ struct sess {
uint16_t
err_code
;
const
char
*
err_reason
;
VTAILQ_ENTRY
(
sess
)
list
;
/* The busy objhead we sleep on */
struct
objhead
*
hash_objhead
;
struct
director
*
director
;
struct
VCL_conf
*
vcl
;
/* The busy objhead we sleep on */
struct
objhead
*
hash_objhead
;
uint64_t
req_bodybytes
;
/* Various internal stuff */
struct
sessmem
*
mem
;
/* TBD fields ------------------------------------------------*/
VTAILQ_ENTRY
(
sess
)
poollist
;
uint64_t
req_bodybytes
;
struct
acct
acct_ses
;
struct
http_conn
htc
[
1
];
/* Timestamps, all on TIM_real() timescale */
double
t_open
;
double
t_req
;
double
t_resp
;
double
t_end
;
#if defined(HAVE_EPOLL_CTL)
struct
epoll_event
ev
;
#endif
};
/* Prototypes etc ----------------------------------------------------*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment