7 commit fb50a71d11bb2865722a1625bad075ca7eaf2ef3
8 Author: Galen Charlton <gmc@esilibrary.com>
9 Date: Wed Dec 7 16:55:23 2016 -0500
11 update version numbers for 2.5.0-alpha
13 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
16 1 1 src/perl/lib/OpenSRF.pm
17 1 1 src/python/setup.py
20 commit fbfde6f6ca1fe8fed8b86c93f315a1110fb74512
21 Author: Galen Charlton <gmc@esilibrary.com>
22 Date: Wed Dec 7 16:52:08 2016 -0500
24 release notes for 2.5-alpha
26 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
28 136 0 doc/RELEASE_NOTES.txt
29 create mode 100644 doc/RELEASE_NOTES.txt
31 commit b1d19c8b9ff0bee77a3c98e793bf8efa67693a4e
32 Author: Galen Charlton <gmc@esilibrary.com>
33 Date: Wed Dec 7 13:34:15 2016 -0500
35 LP#1648188: example HAProxy configuration
37 Add an example configuration for using HAProxy.
39 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
42 25 0 examples/haproxy/osrf-ws-http-proxy
43 create mode 100644 examples/haproxy/osrf-ws-http-proxy
45 commit 93da6fb07c8b613011028f577b55fa8ba940f1ee
46 Author: Galen Charlton <gmc@esilibrary.com>
47 Date: Wed Dec 7 12:54:05 2016 -0500
49 LP#1638651: add instructions for using NGINX
51 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
55 commit ededc269eacb9e69e30074bba2cff35a3148e62e
56 Author: Bill Erickson <berickxx@gmail.com>
57 Date: Mon Oct 31 15:56:32 2016 -0400
59 LP#1638651: example Nginx websockets/http(s) proxy config
61 Example using Nginx to proxy all websocket, http, and https Apache
64 Signed-off-by: Bill Erickson <berickxx@gmail.com>
65 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
67 56 0 examples/nginx/osrf-ws-http-proxy
68 create mode 100644 examples/nginx/osrf-ws-http-proxy
70 commit a3b2a15f27709815155eb9dbb8026343000753d5
71 Author: Galen Charlton <gmc@esilibrary.com>
72 Date: Wed Dec 7 11:58:35 2016 -0500
74 LP#1382038: clarify one step of installing websockets support
76 Specify directory to be in before copying the Apache websockets
79 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
83 commit a1fe6e1c1ccb7b3efab386a7f34c0555d07bd7e7
84 Author: Galen Charlton <gmc@esilibrary.com>
85 Date: Wed Dec 7 11:53:49 2016 -0500
87 LP#1382038: adjustments to download instructions
89 - Use "OSRFVERSION" in the master branch rather than
90 a specific version number; this is meant to be changed
91 during the release process.
92 - Update references to the OpenSRF downloads index
95 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
99 commit cd06277c3972437e676f51744749009c0d7eeb60
100 Author: Remington Steed <rjs7@calvin.edu>
101 Date: Mon Nov 21 10:58:33 2016 -0500
103 LP#1382038: Add instructions for implied download/unpack step
105 Occasionally, new users have complained that the installation
106 instructions making too many assumptions about what a user knows. This
107 commit explicitly instructs users in downloading the source tarball,
108 unpacking it, and changing the working directory so they will be ready
109 for the next instructions.
111 Signed-off-by: Remington Steed <rjs7@calvin.edu>
112 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
116 commit 5aa8a398e01e2642fd4b08c93fe9c719039dbedf
117 Author: Galen Charlton <gmc@esilibrary.com>
118 Date: Thu Nov 3 18:08:54 2016 -0400
120 LP#1612771: fix chunking for atomic C methods
122 This patch also refactors the code that actually does the
123 splitting and sending of chunked responses into a new
124 public function, osrfSendChunkedResult().
126 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
127 Signed-off-by: Ben Shum <ben@evergreener.net>
128 Signed-off-by: Mike Rylander <miker@esilibrary.com>
130 4 0 include/opensrf/osrf_app_session.h
131 96 10 src/libopensrf/osrf_app_session.c
132 2 58 src/libopensrf/osrf_application.c
134 commit 168b4cafe766ec976e075ec2ea496c00a27dc7d0
135 Author: Galen Charlton <gmc@esilibrary.com>
136 Date: Tue Nov 1 17:22:48 2016 -0400
138 LP#1631522: add release notes for ->dispatch
140 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
142 12 0 doc/Dispatch-Mode-for-Subrequests.txt
143 create mode 100644 doc/Dispatch-Mode-for-Subrequests.txt
145 commit 31a0bfea9911f24f563d70bfdea6ba7759071842
146 Author: Galen Charlton <gmc@esilibrary.com>
147 Date: Tue Nov 1 17:20:49 2016 -0400
149 LP#1631522: dev doc now describes ->dispatch
151 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
153 5 1 doc/Application-HOWTO.txt
155 commit 1431100b4737a61b1a294bbf66f9a5867dec358b
156 Author: Galen Charlton <gmc@esilibrary.com>
157 Date: Tue Nov 1 17:03:03 2016 -0400
159 LP#1631522: include example of ->dispatch in example app
161 This patch also makes the Perl opensrf.math demo app work
162 correctly, as it hadn't been constructing opensrf.dbmath
163 method names correctly.
165 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
167 4 5 src/perl/lib/OpenSRF/Application/Demo/Math.pm
169 commit 9d106aef9ab0a8d5af75977ffb4cc5f8f3fe5c79
170 Author: Mike Rylander <mrylander@gmail.com>
171 Date: Thu Aug 25 17:42:31 2016 -0400
173 LP#1631522: Dispatch mode for method_lookup subrequests
175 There is a pattern in the wild of using OpenSRF's method_lookup() facility
176 to decide between one of several local methods when delegating to pre-existing
177 logic. Often times, we want to simply hand control over to another method,
178 but the output of a subrequest's run() is an array of results. The caller has
179 to know if, and how, to restructure the result for the client.
181 Instead, we can now call dispatch() instead of run() and have OpenSRF session
182 control completely passed to the delegate code. This way, the delegate code
183 need not know anything about its caller, and vice versa.
185 Signed-off-by: Mike Rylander <mrylander@gmail.com>
186 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
188 28 3 src/perl/lib/OpenSRF/AppSession.pm
189 8 1 src/perl/lib/OpenSRF/Application.pm
191 commit dbf9ec150dfa6a5b87028aa890a80b529dfe5683
192 Author: Galen Charlton <gmc@esilibrary.com>
193 Date: Tue Nov 1 16:30:26 2016 -0400
195 LP#1612771: add release notes
197 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
199 19 0 doc/Bundling-and-Chunking.txt
200 create mode 100644 doc/Bundling-and-Chunking.txt
202 commit 76a5fd0055b2af25f0783825c951021a32a5f17d
203 Author: Galen Charlton <gmc@esilibrary.com>
204 Date: Tue Nov 1 16:22:10 2016 -0400
206 LP#1612771: fix error in POD
208 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
210 1 1 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
212 commit 4f73f38bae3892fa4f6b3980c5724af521a31fde
213 Author: Galen Charlton <gmc@esilibrary.com>
214 Date: Tue Nov 1 16:03:50 2016 -0400
216 LP#1612771: update protocol documentation
218 Now that we have PARTIAL and NOCONTENT statuses, let's
219 mention them in the documentation for the benefit of
220 folks writing future clients.
222 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
224 9 1 doc/OpenSRF-Messaging-Protocol.html
226 commit d79c7eee6ce44bd3b38bd712d487cb31752c3a31
227 Author: Galen Charlton <gmc@esilibrary.com>
228 Date: Tue Nov 1 15:46:13 2016 -0400
230 LP#1612771: don't adjust max_stanza_size during installation
232 As the typical max_stanza_size for ejabberd installations
233 is larger than what OpenSRF now needs, this patch adjusts
234 the installation instructions to remove the step to change
237 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
241 commit fd1ce3521553d6ddbc42762090be8ecdbc0b39f2
242 Author: Mike Rylander <mrylander@gmail.com>
243 Date: Sun Feb 23 15:55:52 2014 -0500
245 LP#1612771: Add chunking support to JS implementation
247 Signed-off-by: Mike Rylander <mrylander@gmail.com>
248 Signed-off-by: Bill Erickson <berick@esilibrary.com>
249 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
251 3 0 include/opensrf/osrf_message.h
252 57 6 src/javascript/opensrf.js
254 commit 75a9906d5a5e90c60c8e0614e0c71796c511ec18
255 Author: Bill Erickson <berick@esilibrary.com>
256 Date: Fri Feb 28 12:44:11 2014 -0500
258 LP#1612771: implement C max_chunk_size server support
260 Signed-off-by: Bill Erickson <berick@esilibrary.com>
261 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
263 94 23 src/libopensrf/osrf_application.c
264 7 1 src/libopensrf/osrf_message.c
266 commit 18be4a4cf242a274cf5a3143c2063d75331ec7c0
267 Author: Bill Erickson <berick@esilibrary.com>
268 Date: Thu Feb 27 15:18:15 2014 -0500
270 LP#1612771: set Perl / C max_chunk_size default sizes
272 default max bundle size == 25K
273 default max chunk size == 50K
275 Note with Ejabberd using 65536 as the default max stanza size, these
276 new OpenSRF defaults mean that all messages will fit the default
277 message size constraints -- i.e. no more need to raise the
280 Signed-off-by: Bill Erickson <berick@esilibrary.com>
281 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
283 6 1 include/opensrf/osrf_app_session.h
284 0 5 src/libopensrf/osrf_application.c
285 2 2 src/perl/lib/OpenSRF/Application.pm
287 commit b3b6b4211472e4897581a93d9615d8544f29779f
288 Author: Mike Rylander <mrylander@gmail.com>
289 Date: Sun Feb 23 16:35:17 2014 -0500
291 LP#1612771: C support for receiving chunked responses
294 * consistent w/ Perl, we now have "bundling" and "chunking"
296 Signed-off-by: Bill Erickson <berick@esilibrary.com>
298 1 0 include/opensrf/osrf_app_session.h
299 3 2 include/opensrf/osrf_application.h
300 56 0 src/libopensrf/osrf_app_session.c
301 9 8 src/libopensrf/osrf_application.c
303 commit 56e65d1e6fb4ee72b28b4e008b9461d5bac55b8d
304 Author: Bill Erickson <berick@esilibrary.com>
305 Date: Mon Feb 24 15:14:19 2014 -0500
307 LP#1612771: Perl max_chunk_size additions
309 * Added missing max_chunk_size method to AppSession
310 * Copy API max_chunk_size value into the handler AppRequest
311 * Fix error where no-chunking resulted in empty responses
313 Signed-off-by: Bill Erickson <berick@esilibrary.com>
314 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
316 25 14 src/perl/lib/OpenSRF/AppSession.pm
317 2 1 src/perl/lib/OpenSRF/Application.pm
318 12 4 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
320 commit 01f95834835bed94df93a7fdad59e38486e6485a
321 Author: Mike Rylander <mrylander@gmail.com>
322 Date: Sun Feb 23 14:51:13 2014 -0500
324 LP#1612771: bundling and chunking
326 This patch is first in a series of patches that provides the following
329 * OpenSRF message bundling -- Pack multiple OpenSRF messages together
330 in a single XMPP envelope, as long as we believe more messages will be
331 sent in the future and we are below some threshold of combined message size.
332 The default for that threshold is 25Kb.
334 * OpenSRF message chunking -- Break up large OpenSRF messages across
335 multiple XMPP envelopes. This is implemented with a new OpenSRF message type.
336 C, Perl, and Javascript libraries are taught how to reconstruct chunked
337 messages. The default chunking threshold is 50Kb, just a bit below the default
338 ejabberd max stanza size of 64Kb.
340 This patch in particular renames "chunking" to "bundling", then
341 implements message splitting ("chunking") in Perl using two new
342 oilsResult subclasses
344 Signed-off-by: Mike Rylander <mrylander@gmail.com>
345 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
347 80 43 src/perl/lib/OpenSRF/AppSession.pm
348 13 6 src/perl/lib/OpenSRF/Application.pm
349 83 1 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
351 commit 784233808062dbc599b649ce9858759ab0a8dff3
352 Author: Ben Shum <ben@evergreener.net>
353 Date: Tue Jul 5 12:53:13 2016 -0400
355 LP#1603708: Remove support for Ubuntu 12.04 Precise
357 With support for Ubuntu 16.04 Xenial in place, remove the oldest LTS, which is
358 Ubuntu 12.04 Precise.
360 Signed-off-by: Ben Shum <ben@evergreener.net>
361 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
364 3 13 src/extras/Makefile.install
366 commit 15f8c538af5469545fabab9e21252f49555ae131
367 Author: Ben Shum <ben@evergreener.net>
368 Date: Tue Jul 5 12:50:34 2016 -0400
370 Docs: Change 14.04 to Trusty in README
372 For consistency, change references from numbered "Ubuntu 14.04" to "Ubuntu Trusty"
374 Signed-off-by: Ben Shum <ben@evergreener.net>
375 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
379 commit e3f9b6a3adb8391e83221909575554ab1ec8c74c
380 Author: Ben Shum <ben@evergreener.net>
381 Date: Tue Jul 5 12:44:17 2016 -0400
383 Docs: Add Xenial references in the websocket setup instructions
385 We were missing Xenial references for the websocket setup instructions.
387 They are the same as Trusty, so group together for now.
389 Also, change references to "Ubuntu 16.04" to read "Ubuntu Xenial" too.
391 Signed-off-by: Ben Shum <ben@evergreener.net>
392 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
396 commit 34038f2e3dd9a2ad6842f3593938955143213b11
397 Author: Bill Erickson <berickxx@gmail.com>
398 Date: Fri Jul 10 10:52:20 2015 -0400
400 LP#1473479 Syslog configuration adoption
402 When an OpenSRF client is run with syslog enabled and with the
403 OSRF_ADOPT_SYSLOG environment variable set to a true value, no attempt
404 is made to modify the syslog configuration, including no calls to
405 openlog()/closelog() and no modification of the syslog facility when
408 Signed-off-by: Bill Erickson <berickxx@gmail.com>
409 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
411 9 3 src/perl/lib/OpenSRF/Utils/Logger.pm
413 commit b6557d6a781fe7f7e16d0c5df5707ce5f8f49d48
414 Author: Mike Rylander <mrylander@gmail.com>
415 Date: Fri Oct 7 12:19:52 2016 -0400
417 LP#1631520: configure install location of Perl modules
419 Add --with-perlbase configure option to specify
420 an alternative location for installing the Perl modules. This
421 can be useful for setups that want to run the Perl modules
422 from a shared filesystem or environments that need to run
423 multiple versions of OpenSRF simultaneously.
425 Users of --with-perlbase are responsible for ensuring that
426 PERL5LIB is set appropriately.
430 [1] Use --with-perlbase during the configure step, e.g.,
432 ./configure --perl-base /tmp/perl
434 [2] Run make; make check; sudo make install
435 [3] Verify that the Perl modules are installed under
437 [4] Make a change to a Perl source file, then
438 go to src/perl, then run sudo ./Build install. Verify
439 that it remembers the --with-perlbase directory
440 and installs the updated module there.
442 Signed-off-by: Mike Rylander <mrylander@gmail.com>
443 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
447 1 1 src/perl/Makefile.am
449 commit 1c8a7dcb24d4ea3a8aa7dc718d2e1f0b12430cb1
450 Author: Ben Shum <ben@evergreener.net>
451 Date: Tue May 24 01:24:09 2016 -0400
453 LP#1585041: Move debian_sys_config target for Debian distributions
455 Similar to how things were reordered for Ubuntu, let's move debian_sys_config
456 for Debian distributions.
458 Signed-off-by: Ben Shum <ben@evergreener.net>
459 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
461 4 4 src/extras/Makefile.install
463 commit f3ac7f14ec675e99784b9a5037be66f8c90c22f2
464 Author: Mike Rylander <mrylander@gmail.com>
465 Date: Tue Feb 23 11:22:34 2016 -0500
467 LP#1485371: Release notes for TZ handling in OpenSRF
469 Signed-off-by: Mike Rylander <mrylander@gmail.com>
470 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
472 44 0 doc/TZ-handling.txt
473 create mode 100644 doc/TZ-handling.txt
475 commit 91a8f051220ba1b29e76068a58cbb400ae521834
476 Author: Mike Rylander <mrylander@gmail.com>
477 Date: Mon Aug 3 13:27:56 2015 -0400
479 LP#1485371: Use client-supplied TZ
481 Currently, there is no protocol-level mechanism for passing the client's
482 desired timezone to the server. In much the same way we pass the locale,
483 we can let the server know what timezone it should use when interpreting
488 * Teach perl server code to live in the client TZ, if supplied
489 * Teach perl client code to send the current $ENV{TZ}
490 * Teach javascript library to include client TZ in
491 gateway/translator/websocket communication
492 * Teach C code to pull the incoming TZ and apply it to outgoing messages
493 * Teach srfsh to pull TZ from the environment and pass it with requests
495 Signed-off-by: Mike Rylander <mrylander@gmail.com>
496 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
498 5 0 include/opensrf/osrf_app_session.h
499 7 0 include/opensrf/osrf_message.h
500 21 0 src/javascript/opensrf.js
501 32 0 src/libopensrf/osrf_app_session.c
502 33 0 src/libopensrf/osrf_message.c
503 5 0 src/libopensrf/osrf_stack.c
504 25 1 src/perl/lib/OpenSRF/DomainObject/oilsMessage.pm
505 4 0 src/srfsh/srfsh.c
507 commit e7fe347408b52295f2f820f9527ccf00952b71e8
508 Author: Jason Stephenson <jason@sigio.com>
509 Date: Wed May 4 13:05:31 2016 -0400
511 LP#1551090: Update README for Ubuntu 16.04 (Xenial Xerus).
513 Add installation steps for Ubuntu 16.04.
515 Signed-off-by: Jason Stephenson <jason@sigio.com>
516 Signed-off-by: Ben Shum <ben@evergreener.net>
520 commit 032a964795df73053d09dca37e62e3e276ce343e
521 Author: Jason Stephenson <jason@sigio.com>
522 Date: Tue Apr 19 16:56:15 2016 -0400
524 LP#1551090: Enable mod_perl2 on Ubuntu 16.04 (Xenial Xerus).
526 Ubuntu Xenial Xerus does not automatically enable mod_perl2 for
527 Apache2 when the package is installed, so we enable it via the
530 Signed-off-by: Jason Stephenson <jason@sigio.com>
531 Signed-off-by: Ben Shum <ben@evergreener.net>
533 5 1 src/extras/Makefile.install
535 commit 1fca796c47c9e9c06e65b91085c13ad2cbe52954
536 Author: Chris Sharp <csharp@georgialibraries.org>
537 Date: Thu Feb 18 20:12:40 2016 -0500
539 LP#1551090: Adding apache2-dev dependency to xenial and fixing whitespace
541 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
542 Signed-off-by: Jason Stephenson <jason@sigio.com>
543 Signed-off-by: Ben Shum <ben@evergreener.net>
546 src/extras/Makefile.install
548 5 4 src/extras/Makefile.install
550 commit e91074cf23eeca5da7e9c00977448dcc19b779cc
551 Author: Chris Sharp <csharp@georgialibraries.org>
552 Date: Thu Feb 18 18:10:34 2016 -0500
554 LP#1551090: Since we move apache to the "install_extra_debs*" targets,
556 we need to move debian_sys_config further down to compensate.
558 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
559 Signed-off-by: Jason Stephenson <jason@sigio.com>
560 Signed-off-by: Ben Shum <ben@evergreener.net>
562 4 4 src/extras/Makefile.install
564 commit 46dfeaf7245f81c1a8c9833b8cac87a997b23433
565 Author: Chris Sharp <csharp@georgialibraries.org>
566 Date: Wed Feb 17 19:35:02 2016 -0500
568 LP#1551090: Adding necessary connectivity for xenial deb installation.
570 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
571 Signed-off-by: Jason Stephenson <jason@sigio.com>
572 Signed-off-by: Ben Shum <ben@evergreener.net>
574 4 1 src/extras/Makefile.install
576 commit 334b6644ac319403f2095cff6f3cef992a9148ae
577 Author: Chris Sharp <csharp@georgialibraries.org>
578 Date: Wed Feb 17 19:26:01 2016 -0500
580 LP#1551090: Adding apache2 package to Makefile.install deb list.
582 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
583 Signed-off-by: Jason Stephenson <jason@sigio.com>
584 Signed-off-by: Ben Shum <ben@evergreener.net>
586 1 0 src/extras/Makefile.install
588 commit c59b54a7c4f1d1561d23393f6122669d50f41166
589 Author: Chris Sharp <csharp@georgialibraries.org>
590 Date: Wed Feb 17 15:28:05 2016 -0500
592 LP#1551090: Updating Makefile to accommodate ubuntu-xenial target.
594 Removing some redundancy in the extra debs lists.
596 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
597 Signed-off-by: Jason Stephenson <jason@sigio.com>
598 Signed-off-by: Ben Shum <ben@evergreener.net>
601 src/extras/Makefile.install
603 17 16 src/extras/Makefile.install
605 commit c9174e7372b0c14091035617f0689f3719f7506b
606 Author: Galen Charlton <gmc@esilibrary.com>
607 Date: Fri Mar 18 10:59:11 2016 -0400
609 LP#1559121: remove Debian Squeeze support
611 Now that Debian Squeeze's LTS (long-term support) period
612 has ended, Evergreen no longer offers community support
613 for that distribution. This patch removes references
614 to Squeeze from the installation scripts and documentation.
618 [1] Verify that Debian Squeeze is no longer referenced in
619 the installation documentation.
621 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
622 Signed-off-by: Ben Shum <ben@evergreener.net>
625 1 14 src/extras/Makefile.install
627 commit b6cf3eb912fa501a23f4a3f5664f1a12228e731b
628 Author: Galen Charlton <gmc@esilibrary.com>
629 Date: Thu Feb 4 13:09:48 2016 -0500
631 LP#1350457: add test case for perl2JSONObject change
633 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
635 4 1 src/perl/t/09-Utils-JSON.t
637 commit e1581d4248a6fd42f6ebee233387777f63e25022
638 Author: Mike Rylander <mrylander@gmail.com>
639 Date: Wed Jul 30 13:29:46 2014 -0400
641 LP#1350457: Pass caller's session to subrequests called via method_lookup
643 In the process of looking up a method for an internal subrequest, we lose
644 session info. This is a problem when the subrequest makes a remote request,
645 because then the subrequest can't look up the proper locale, among other
646 things. The forthcoming branch passes the caller's session to the subrequest.
648 This patch also teaches OpenSRF object registration how to strip certain
649 object members -- in particular, the session -- so that introspection
652 Signed-off-by: Mike Rylander <mrylander@gmail.com>
653 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
655 9 4 src/perl/lib/OpenSRF/Application.pm
656 8 1 src/perl/lib/OpenSRF/Utils/JSON.pm
658 commit 69cbe8000a5123aab33fcb2441c1e136506964a0
659 Author: Jason Etheridge <jason@esilibrary.com>
660 Date: Tue Jul 14 14:54:27 2015 -0400
662 LP#1474507: fix interval_to_seconds for weeks and seconds
664 This patch fixes an issue where OpenSRF::Utils::interval_to_seconds()
665 was not recognizing intervals expressed as seconds or weeks.
667 Signed-off-by: Jason Etheridge <jason@esilibrary.com>
668 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
670 2 2 src/perl/lib/OpenSRF/Utils.pm
672 commit 7a714ae480f238211b37fcdb248aecea93ece234
673 Author: Jason Etheridge <jason@esilibrary.com>
674 Date: Tue Jul 14 15:10:15 2015 -0400
676 LP#1474507: tests for interval_to_seconds
678 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
680 16 0 src/perl/t/09-Utils-interval_to_seconds.t
681 create mode 100644 src/perl/t/09-Utils-interval_to_seconds.t
683 commit 55807240854d0d532a5f70f1f483ed8086eb9d95
684 Author: Mike Rylander <mrylander@gmail.com>
685 Date: Thu Sep 10 16:56:13 2015 -0400
687 LP#1494486: Limit damage caused by dropped drone XMPP sockets
689 It is apparently possible for drones to get into a state where their XMPP
690 socket is closed but they don't notice. This is bad because the drone can
691 continue to receive requests from its listener but can no longer respond
692 to them. To limit the pain this can cause, we should kill the drone as soon
693 as we notice this condition.
695 To avoid overhead, this commit notices when the socket returns an error (or
696 raises a signal, in Perl) upon write, and exits immediately. One message
697 will be lost, but the drone will no longer be a black hole that does nothing
698 but absorb requests it can never fill.
702 [1] Start an OpenSRF stack and look for a drone process.
703 [2] Use lsof to identify which socket that drone is using
705 [3] Use gdb to attach to the process and close the socket, e.g.,
708 (gdb) p close(11) # or whatever the socket number was
711 [4] Use srfsh to make requests of that service. Eventually, one
712 of them will hit the drone.
713 [5] Sans patch, the request will get handled by the drone, but
714 the results will never get sent, and the drone will remain
715 available to handle other requests.
716 [6] With the patch, the drone will exit when it discovers that it
717 can no longer write to the XMPP socket.
719 Signed-off-by: Mike Rylander <mrylander@gmail.com>
720 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
722 4 2 src/libopensrf/osrf_app_session.c
723 5 0 src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm