1 commit 88c8970c3dea26c72bc3173b18041e29538c4d8c
2 Author: Galen Charlton <gmc@equinoxinitiative.org>
3 Date: Thu Feb 16 15:16:21 2017 -0500
5 update version numbers for 2.5.0-alpha2
7 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
10 1 1 src/perl/lib/OpenSRF.pm
11 1 1 src/python/setup.py
14 commit 9df9c484031e313d3c6f1f85951d6b67b931f536
15 Author: Galen Charlton <gmc@equinoxinitiative.org>
16 Date: Thu Feb 16 15:13:17 2017 -0500
18 update release notes for 2.5.0-alpha2
20 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
22 16 2 doc/RELEASE_NOTES.txt
24 commit 4744d1a42b709a2c7aa778565c0c32a1962e0e2c
25 Author: Galen Charlton <gmc@equinoxinitiative.org>
26 Date: Wed Feb 15 16:58:06 2017 -0500
28 LP#1652382: more improvements to cache key munging
30 - teach osrfCacheRemove to clean keys
31 - fix implict declaration compilation warning
32 - account for fact that iscntrl('\0') returns true
34 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
35 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
37 5 2 src/libopensrf/osrf_cache.c
39 commit 7ec6c1a4b3fc99f10bd1b3c9b07a0008672cf3f6
40 Author: Galen Charlton <gmc@equinoxinitiative.org>
41 Date: Wed Feb 15 14:12:34 2017 -0500
43 LP#1652382: handle cases where supplied key is longer than 250 bytes
45 With this patch, if cache clients want to use a key longer
46 than the memcached text protocol limit of 250 bytes, the
47 key is normalized to 'shortened_' + md5_hex(normalized_key).
49 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
50 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
52 10 1 src/libopensrf/osrf_cache.c
53 4 0 src/perl/lib/OpenSRF/Utils/Cache.pm
55 commit e58f20fd69b1fb2e94765a2bf9067ba1cbb9d2d9
56 Author: Mike Rylander <mrylander@gmail.com>
57 Date: Mon Jan 30 12:54:10 2017 -0500
59 LP#1652382: Make use of the clean key just created
61 Signed-off-by: Mike Rylander <mrylander@gmail.com>
62 Signed-off-by: Kathy Lussier <klussier@masslnc.org>
63 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
64 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
66 1 1 src/libopensrf/osrf_cache.c
68 commit 8f31413ba4334ee3f695f84a810eccbe94351f77
69 Author: Mike Rylander <mrylander@gmail.com>
70 Date: Fri Jan 27 15:25:05 2017 -0500
72 LP#1652382: normalization of memcache keys in C code
74 Memcache does not allow spaces in keys, so here we will actively strip them
75 from any key we get from a caller. Some callers are not very proactive about
76 sending clean keys, and this patch prevents issues that can poison C-based
77 OpenSRF service backends.
79 Signed-off-by: Mike Rylander <mrylander@gmail.com>
80 Signed-off-by: Kathy Lussier <klussier@masslnc.org>
81 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
82 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
84 20 2 src/libopensrf/osrf_cache.c
86 commit 22e2c7729b6caf265b27ff14126fe5595e87cdca
87 Author: Mike Rylander <mrylander@gmail.com>
88 Date: Tue Jan 10 15:30:18 2017 -0500
90 LP#1655449: Bundling/chunking limits for SubRquests
92 We need to teach subrequests to inherit parent request bundling/chunking
93 parameters so they don't cause overruns in dispatch mode.
95 Signed-off-by: Mike Rylander <mrylander@gmail.com>
96 Signed-off-by: Jason Stephenson <jason@sigio.com>
98 5 1 src/perl/lib/OpenSRF/AppSession.pm
99 17 3 src/perl/lib/OpenSRF/Application.pm
101 commit b6fe0b1c9917d3d188ff8053f5fc3611ef878b3a
102 Author: Galen Charlton <gmc@esilibrary.com>
103 Date: Thu Dec 22 15:53:12 2016 +0500
105 LP#1652122: fix infinite recursion in opensrf.system.method.all
107 Under certain circumstances, calling opensrf.system.method.all on a
108 Perl service can result in an infinite recursion when attempting to
109 serialize an OpenSRF::Application object to JSON. In particular,
110 this was observed to happen when doing an introspection of
111 the opensrf.settings service.
113 This patch avoids the infinite recursion (and consequent memory
114 leak) by ensuring that the 'session' key is slated for exclusion
115 from serialization from OpenSRF::Application objects during
118 Note that the problem does not affect all Perl services; if a
119 Perl service declares at least one streaming method, the auto-registration
120 of the .atomic method will result in 'session'-stripping.
122 This patch fixes a regression introduced in bug 1350457.
126 [1] Run 'introspect opensrf.settings' via srfsh; observe
127 that it never returns and that the opensrf.settings drone
128 will grow in memory sized until killed.
129 [2] Apply the patch, then repeat step 1. This time, the
130 request should succeed.
132 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
133 Signed-off-by: Mike Rylander <mrylander@gmail.com>
135 1 1 src/perl/lib/OpenSRF/System.pm