Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
ce4894b1
Commit
ce4894b1
authored
Mar 11, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the VTCP version of the text format buffer sizes.
parent
8c679357
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
cache_session.c
bin/varnishd/cache/cache_session.c
+2
-2
common.h
bin/varnishd/common/common.h
+0
-10
No files found.
bin/varnishd/cache/cache_session.c
View file @
ce4894b1
...
...
@@ -156,8 +156,8 @@ ses_vsl_socket(struct sess *sp, const char *lsockname)
{
struct
sockaddr_storage
ss
;
socklen_t
sl
;
char
laddr
[
ADDR_
BUFSIZE
];
char
lport
[
PORT_
BUFSIZE
];
char
laddr
[
VTCP_ADDR
BUFSIZE
];
char
lport
[
VTCP_PORT
BUFSIZE
];
CHECK_OBJ_NOTNULL
(
sp
,
SESS_MAGIC
);
AN
(
lsockname
);
...
...
bin/varnishd/common/common.h
View file @
ce4894b1
...
...
@@ -76,16 +76,6 @@ struct cli;
*/
#define __state_variable__(xxx)
/*lint -esym(838,xxx) */
/**********************************************************************
* NI_MAXHOST and less so NI_MAXSERV, are ridiculously large for numeric
* representations of TCP/IP socket addresses, so we use our own.
* <netinet/in6.h>::INET6_ADDRSTRLEN is 46
*/
#define ADDR_BUFSIZE 48
#define PORT_BUFSIZE 8
/**********************************************************************/
/* Name of transient storage */
...
...
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