lp://qastaging/opensrf

Created by OpenSRF Project Leads and last modified
Get this branch:
bzr branch lp://qastaging/opensrf

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
OpenSRF Project Leads
Project:
OpenSRF
Status:
Development

Import details

Import Status: Suspended

This branch is an import of the HEAD branch of the Git repository at git://git.evergreen-ils.org/OpenSRF.git.

Last successful import was .

Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 5 minutes
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 20 seconds — see the log
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 20 seconds — see the log
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 10 seconds — see the log

Updating branch...

Launchpad is processing new changes to this branch which will be available in a few minutes. Reload to see the changes.

Recent revisions

2260. By Jason Stephenson

LP2023560: Update instructions for Debian Bookworm

Update README and Makefile.install comments for installation on Debian
12 Bookworm.

Signed-off-by: Jason Stephenson <email address hidden>

2259. By Jason Boyer

LP2023560: Debian Bookworm support

Note that the libssl-dev package can be removed once it's installed as
a libmemcached-dev dependency.

Amended commit: Fixed "debain" typo in src/extras/Makefile.install.

Signed-off-by: Jason Boyer <email address hidden>
Signed-off-by: Jason Stephenson <email address hidden>

2258. By Jason Stephenson

Fix error in README

The suggestion to copy the websocketd-osrf.service.example file was
missing the 'd' in the source file. Someone copying and pasting from
the README would encounter an error when copying the file. This
commit adds the missing 'd' so a copy and paste will work.

Signed-off-by: Jason Stephenson <email address hidden>

2257. By Jason Boyer <email address hidden>

Fix typo in example openssl command

Signed-off-by: Jason Boyer <email address hidden>

2256. By Jason Stephenson

LP1990969: Remove Ubuntu Bionic Beaver Installation Prerequisites

Since Ubuntu Bionic Beaver (18.04) is soon EOL, remove it as a viable
installation target.

Signed-off-by: Jason Stephenson <email address hidden>
Signed-off-by: Jane Sandberg <email address hidden>

2255. By Jason Stephenson

LP1947728: Remove Debian Stretch Prerequisites

Since Debian Stretch is soon EOL, remove it as a viable installation
target.

Signed-off-by: Jason Stephenson <email address hidden>
Signed-off-by: Jane Sandberg <email address hidden>

2254. By Jason Stephenson

LP1973060: Modernize XMPP Legacy Error Code Handling

Processone removed the setting of the legacy XMPP error code from the
Erlang XMPP package with release 1.5.6 in November 2021. Using
OpenSRF with any version of Ejabberd released since the 1.5.6 XMPP
package will cause OpenSRF processes to segfault when a XMPP error
message is processed. This was specifically noticed with Ejabberd
21.12 on Ubuntu 22.04.

To verify the bug, you may install OpenSRF on any system running
Ejabberd 21.12 (or any later version) and make a request to a
non-existent service. The following srfsh request should suffice to
cause a segfault:

request math add 2,2

NOTE: The request is to the non-existent "math" service.

After applying this patch, instead of a segfault in srfsh, you should
see an error message.

OpenSRF should continue to function normally with earlier releases of
the Erlang XMPP library and Ejabberd.

Signed-off-by: Jason Stephenson <email address hidden>
Signed-off-by: Bill Erickson <email address hidden>
Signed-off-by: Jane Sandberg <email address hidden>

2253. By Jason Stephenson

LP1970667: Add Installation Support for Ubuntu 22.04 (Jammy Jellyfish)

Update the prerequisite installation, C unit tests, and README for
Ubuntu 22.04 LTS (Jammy Jellyfish).

Update configure.ac for recent autoconf/libtool changes

Suggest disabling apparmor for ejabberd in README

Signed-off-by: Jason Stephenson <email address hidden>
Signed-off-by: Bill Erickson <email address hidden>
Signed-off-by: Jane Sandberg <email address hidden>

2252. By Chris Sharp

LP#1912796: include systemd installation instructions in OpenSRF installation docs.

Create an example systemd unit file that can be copied into place
and update the README with those instructions.

Signed-off-by: Chris Sharp <email address hidden>
Signed-off-by: Josh Stompro <email address hidden>
Signed-off-by: Jane Sandberg <email address hidden>

2251. By Galen Charlton <email address hidden>

LP#1974193: fix memory leak in C apps

This patch fixes a memory leak that can occur when
a C app does the following:

- send a non-chunked response
- add a response to a bundle to send later
- send a request complete status message

The leak could add up for long-lived C apps.

To test
-------
[1] Set a up C app such as Evergreen's open-ils.pcrud and
    send a lot of requests to it whose responses would not be
    large enough to be chunked, but not so many as to go over
    max_requests. It may be helpful to limit the service to
    just a single child.
[2] Check memory usage of the child after the requests are
    processed.
[3] Apply the patch and repeat step 1. This time, memory
    usage should be less.

Signed-off-by: Galen Charlton <email address hidden>
Signed-off-by: Jason Stephenson <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.