Changes committed to git://oss.sgi.com/nathans/pcp.git dev
src/include/pcp/impl.h | 16 +
src/libpcp/src/GNUmakefile | 6
src/libpcp/src/access.c | 20 +
src/libpcp/src/auxconnect.c | 224 ++++++++++++---------
src/libpcp/src/auxserver.c | 362 +++++++++++++++++++++++++++++++++++
src/libpcp/src/check-statics | 4
src/libpcp/src/config.c | 3
src/libpcp/src/logconnect.c | 93 +++++----
src/libpcp/src/nss_connect.c | 31 ++-
src/libpcp/src/nss_server.c | 2
src/libpcp/src/util.c | 4
src/perl/PMDA/local.c | 115 ++++++++---
src/pmcd/src/config.c | 116 ++++++-----
src/pmcd/src/pmcd.c | 439 ++++++++-----------------------------------
src/pmcd/src/pmcd.h | 17 +
src/pmdas/pmcd/src/pmcd.c | 3
src/pmproxy/client.c | 10
src/pmproxy/pmproxy.c | 272 +++++---------------------
src/pmproxy/pmproxy.h | 16 -
19 files changed, 927 insertions(+), 826 deletions(-)
commit bf4a26a555733ff3c1db07aa3a5cf0f6cec22261
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Mar 1 11:03:05 2013 +1100
Refactor common server process (pmcd/pmproxy) request port code
Share the code between pmcd and pmproxy that sets up ports, and
responds to new client requests on those ports. This code was
99% the same originally, but diverged with the introduction of
IPv6 support in pmcd. Refactoring this into shared code should
make pmproxy automagically support IPv6 too, thanks to Dave's
earlier efforts with pmcd.
Several other trivial code cleanups in here - moving function
prototypes into headers (pmcd.h), abstracted the pmcd/pmproxy
AddClient handling a little making it more readable and neat,
and able to be shared, make one unnecessarily global static
pmcd variable static in the only function using it.
Added a pmconfig -L check for IPv6 support in libpcp now too,
for use by QA tests (next). Since the pmcd.log format (port
section) had changed in preparation for IPv6, QA tests need to
be made conditional anyway. So, have added address family into
those logs too.
commit b9f6bce414e67a0edd971d03603ef8ccc835b08b
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu Feb 28 17:52:37 2013 -0500
Clients now iterate properly over host addresses.
Was broken in a previous commit. Client's were going past the
end of the address chain.
Known to fix qa tests 068 139 151 182 200 273 in NSS-enabled builds.
Likely fixes others as well.
commit 6b0fa053b3ad75e41cd5bd53062f62b1fc9ea4bc
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Feb 27 16:39:16 2013 -0500
More instances of clients iterating over addresses returned by
__pmGetAddrInfo until one succeeds.
commit 68376691323775255ac1a92f2d76e1b7f571c2da
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Feb 27 16:34:12 2013 -0500
Native Ipv6 code touch ups.
Handle IPv6 addresses in __pmBind, __pmConnect, __pmGetNameInfo,
__pmStringToSockAddr and __pmSockAddrToString.
When connecting to PMCD, iterate over addresses returned by
__pmGetAddrInfo until one succeeds.
commit 793ddecd594332019c053f4e9c07485f98affa61
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Feb 27 16:33:15 2013 -0500
Make sure that the __pmHostEnt host name is not NULL before using it.
commit 8cd14adbef1705ebdb1c8ab51568180884ca389f
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Feb 27 16:30:13 2013 -0500
Ensure that __pmSockAddr families match before calling __pmSockAddrMask.
commit 3b8629f14e82005a1eea4f55444e943981876c44
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon Feb 25 11:37:05 2013 -0500
Remove some old debugging code from pmcd.c.
commit bc019d501b60475eb761a588dadd06c5f7ffa0c5
Merge: 7093a0c e918272
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Feb 28 11:17:52 2013 +1100
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
commit e918272f2c65dcb75dabd31b439f1afe23bf8368
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Feb 26 08:46:48 2013 +1100
One more vpmprintf() tweak
Refine the error handling logic one more time to regain the
original behaviour from before the mkstemp() change.
With this change, passes QA: 110, 199, 325, 448, 560 and 572.
|