commit 88c8970c3dea26c72bc3173b18041e29538c4d8c Author: Galen Charlton Date: Thu Feb 16 15:16:21 2017 -0500 update version numbers for 2.5.0-alpha2 Signed-off-by: Galen Charlton 7 7 README 1 1 src/perl/lib/OpenSRF.pm 1 1 src/python/setup.py 1 1 version.m4 commit 9df9c484031e313d3c6f1f85951d6b67b931f536 Author: Galen Charlton Date: Thu Feb 16 15:13:17 2017 -0500 update release notes for 2.5.0-alpha2 Signed-off-by: Galen Charlton 16 2 doc/RELEASE_NOTES.txt commit 4744d1a42b709a2c7aa778565c0c32a1962e0e2c Author: Galen Charlton Date: Wed Feb 15 16:58:06 2017 -0500 LP#1652382: more improvements to cache key munging - teach osrfCacheRemove to clean keys - fix implict declaration compilation warning - account for fact that iscntrl('\0') returns true Signed-off-by: Galen Charlton Signed-off-by: Jeff Davis 5 2 src/libopensrf/osrf_cache.c commit 7ec6c1a4b3fc99f10bd1b3c9b07a0008672cf3f6 Author: Galen Charlton Date: Wed Feb 15 14:12:34 2017 -0500 LP#1652382: handle cases where supplied key is longer than 250 bytes With this patch, if cache clients want to use a key longer than the memcached text protocol limit of 250 bytes, the key is normalized to 'shortened_' + md5_hex(normalized_key). Signed-off-by: Galen Charlton Signed-off-by: Jeff Davis 10 1 src/libopensrf/osrf_cache.c 4 0 src/perl/lib/OpenSRF/Utils/Cache.pm commit e58f20fd69b1fb2e94765a2bf9067ba1cbb9d2d9 Author: Mike Rylander Date: Mon Jan 30 12:54:10 2017 -0500 LP#1652382: Make use of the clean key just created Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier Signed-off-by: Galen Charlton Signed-off-by: Jeff Davis 1 1 src/libopensrf/osrf_cache.c commit 8f31413ba4334ee3f695f84a810eccbe94351f77 Author: Mike Rylander Date: Fri Jan 27 15:25:05 2017 -0500 LP#1652382: normalization of memcache keys in C code Memcache does not allow spaces in keys, so here we will actively strip them from any key we get from a caller. Some callers are not very proactive about sending clean keys, and this patch prevents issues that can poison C-based OpenSRF service backends. Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier Signed-off-by: Galen Charlton Signed-off-by: Jeff Davis 20 2 src/libopensrf/osrf_cache.c commit 22e2c7729b6caf265b27ff14126fe5595e87cdca Author: Mike Rylander Date: Tue Jan 10 15:30:18 2017 -0500 LP#1655449: Bundling/chunking limits for SubRquests We need to teach subrequests to inherit parent request bundling/chunking parameters so they don't cause overruns in dispatch mode. Signed-off-by: Mike Rylander Signed-off-by: Jason Stephenson 5 1 src/perl/lib/OpenSRF/AppSession.pm 17 3 src/perl/lib/OpenSRF/Application.pm commit b6fe0b1c9917d3d188ff8053f5fc3611ef878b3a Author: Galen Charlton Date: Thu Dec 22 15:53:12 2016 +0500 LP#1652122: fix infinite recursion in opensrf.system.method.all Under certain circumstances, calling opensrf.system.method.all on a Perl service can result in an infinite recursion when attempting to serialize an OpenSRF::Application object to JSON. In particular, this was observed to happen when doing an introspection of the opensrf.settings service. This patch avoids the infinite recursion (and consequent memory leak) by ensuring that the 'session' key is slated for exclusion from serialization from OpenSRF::Application objects during bootstrapping. Note that the problem does not affect all Perl services; if a Perl service declares at least one streaming method, the auto-registration of the .atomic method will result in 'session'-stripping. This patch fixes a regression introduced in bug 1350457. To test ------- [1] Run 'introspect opensrf.settings' via srfsh; observe that it never returns and that the opensrf.settings drone will grow in memory sized until killed. [2] Apply the patch, then repeat step 1. This time, the request should succeed. Signed-off-by: Galen Charlton Signed-off-by: Mike Rylander 1 1 src/perl/lib/OpenSRF/System.pm