Skip to content

Does server mode work? Does it make sense? #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sodabrew opened this issue Dec 22, 2018 · 0 comments
Open

Does server mode work? Does it make sense? #419

sodabrew opened this issue Dec 22, 2018 · 0 comments

Comments

@sodabrew
Copy link
Contributor

Following up from #418: I haven't personally tested server protocol support, and I don't see unit tests for it. I'm not sure what the use case would be for the PHP module. Existence of this code predates my role as maintainer.

The libmemcached library has to be compiled to provide server protocol support; by default (and in most distributions) it is disabled:
https://bazaar.launchpad.net/~tangent-trunk/libmemcached/1.0/view/head:/configure.ac#L81

AC_DEFUN([LIBMEMCACHED_PROTOCOL],
         [AC_ARG_ENABLE([libmemcachedprotocol],
                        [AS_HELP_STRING([--enable-libmemcachedprotocol],
                                        [Enable libmemcachedprotocol])],
                                        [ax_enable_libmemcachedprotocol=yes],
                                        [ax_enable_libmemcachedprotocol=no])

         AM_CONDITIONAL([BUILD_LIBMEMCACHED_PROTOCOL],[test "$ax_enable_libmemcachedprotocol" = "yes"])

         AC_MSG_CHECKING([for libmemcachedprotocol])
         AC_MSG_RESULT([$ax_enable_libmemcachedprotocol])
         ])
LIBMEMCACHED_PROTOCOL

Purpose of this ticket is either to add tests demonstrating that this mode works or consider removing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant