Per-process default session locale for clients (Perl)

Bug #1188195 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenSRF
Fix Released
Undecided
Unassigned

Bug Description

To set the locale for an OpenSRF client session, the caller must pass the locale into each new client session created. This can be complicated if the caller is leveraging existing code (living in other modules) which is not locale aware. Providing an option to set the global default locale for clients allows clients to set, forget, and reset when done. The global locale will apply to all opensrf sessions and no external modules have to be modified.

This type of control is not relevant for OpenSRF server processes or any clients that are spawned from server process, since those processes will adopt the locale of the originating caller. This is useful only for the originating caller, the common example being mod_perl applications which use OpenSRF client sessions.

Code: working/user/berick/perl-default-locale

Tags: pullrequest
Changed in opensrf:
milestone: none → 2.2.0
Galen Charlton (gmc)
Changed in opensrf:
milestone: 2.2.0 → 2.2.1
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed (along with a follow-up adding a couple tests) to master and rel_2_2. Thanks, Bill!

Changed in opensrf:
status: New → Fix Committed
Galen Charlton (gmc)
Changed in opensrf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.