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
77dd6bc3
Commit
77dd6bc3
authored
May 19, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable all waiters but the 'poll' waiter.
Don't worry, they'll will come back later.
parent
c960cd16
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
cache_waiter_epoll.c
bin/varnishd/waiter/cache_waiter_epoll.c
+2
-0
cache_waiter_kqueue.c
bin/varnishd/waiter/cache_waiter_kqueue.c
+2
-0
cache_waiter_ports.c
bin/varnishd/waiter/cache_waiter_ports.c
+2
-0
mgt_waiter.c
bin/varnishd/waiter/mgt_waiter.c
+2
-0
No files found.
bin/varnishd/waiter/cache_waiter_epoll.c
View file @
77dd6bc3
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
* write the session pointer to a pipe which the event engine monitors.
* write the session pointer to a pipe which the event engine monitors.
*/
*/
#if 0
#include "config.h"
#include "config.h"
#if defined(HAVE_EPOLL_CTL)
#if defined(HAVE_EPOLL_CTL)
...
@@ -165,3 +166,4 @@ const struct waiter_impl waiter_epoll = {
...
@@ -165,3 +166,4 @@ const struct waiter_impl waiter_epoll = {
};
};
#endif /* defined(HAVE_EPOLL_CTL) */
#endif /* defined(HAVE_EPOLL_CTL) */
#endif
bin/varnishd/waiter/cache_waiter_kqueue.c
View file @
77dd6bc3
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
* write the session pointer to a pipe which the event engine monitors.
* write the session pointer to a pipe which the event engine monitors.
*/
*/
#if 0
#include "config.h"
#include "config.h"
#if defined(HAVE_KQUEUE)
#if defined(HAVE_KQUEUE)
...
@@ -214,3 +215,4 @@ const struct waiter_impl waiter_kqueue = {
...
@@ -214,3 +215,4 @@ const struct waiter_impl waiter_kqueue = {
};
};
#endif /* defined(HAVE_KQUEUE) */
#endif /* defined(HAVE_KQUEUE) */
#endif
bin/varnishd/waiter/cache_waiter_ports.c
View file @
77dd6bc3
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
*
*
*/
*/
#if 0
#include "config.h"
#include "config.h"
#if defined(HAVE_PORT_CREATE)
#if defined(HAVE_PORT_CREATE)
...
@@ -291,3 +292,4 @@ const struct waiter_impl waiter_ports = {
...
@@ -291,3 +292,4 @@ const struct waiter_impl waiter_ports = {
};
};
#endif /* defined(HAVE_PORT_CREATE) */
#endif /* defined(HAVE_PORT_CREATE) */
#endif
bin/varnishd/waiter/mgt_waiter.c
View file @
77dd6bc3
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
#include "waiter/waiter_priv.h"
#include "waiter/waiter_priv.h"
static
const
struct
waiter_impl
*
const
waiter_impls
[]
=
{
static
const
struct
waiter_impl
*
const
waiter_impls
[]
=
{
#if 0
#if defined(HAVE_KQUEUE)
#if defined(HAVE_KQUEUE)
&waiter_kqueue,
&waiter_kqueue,
#endif
#endif
...
@@ -48,6 +49,7 @@ static const struct waiter_impl *const waiter_impls[] = {
...
@@ -48,6 +49,7 @@ static const struct waiter_impl *const waiter_impls[] = {
#if defined(HAVE_PORT_CREATE)
#if defined(HAVE_PORT_CREATE)
&waiter_ports,
&waiter_ports,
#endif
#endif
#endif
&
waiter_poll
,
&
waiter_poll
,
NULL
,
NULL
,
};
};
...
...
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