~493pocbrcycmdw7yksonho9o2qzz-o18bz-d18ecat4t1b76tkfi3vttrkfngli/libmemcached/libmemcached

Viewing all changes in revision 1173.

  • Committer: Nicolas Van Eenaeme
  • Date: 2013-11-19 22:25:45 UTC
  • Revision ID: nicolas@poison.be-20131119222545-q00je6wvepb0g4u9
Added the ability to get the local port of a memcache_instance_st.
Sometimes when you're hunting bugs on a production webserver (with multiple workers) you want to tcpdump and see what's going on.
This patch adds the memcached_server_srcport method to the library which returns the local sourceport of the connection (if there's a connection).
We use it a lot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: