opensrf/bjwebb.git
18 years agoclearing tmp buffer before use
erickson [Sun, 20 Aug 2006 16:03:17 +0000 (16:03 +0000)]
clearing tmp buffer before use

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@763 9efc2488-bf62-4759-914b-345cdb29e865

18 years agotruncate messages more to prevent syslog overflow errors
erickson [Sun, 20 Aug 2006 15:58:43 +0000 (15:58 +0000)]
truncate messages more to prevent syslog overflow errors

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@762 9efc2488-bf62-4759-914b-345cdb29e865

18 years agosending authtoken in request header and logging to activity log
erickson [Sat, 19 Aug 2006 17:08:13 +0000 (17:08 +0000)]
sending authtoken in request header and logging to activity log

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@761 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoupdated log output to be more srfsh-ish
erickson [Sat, 19 Aug 2006 16:33:11 +0000 (16:33 +0000)]
updated log output to be more srfsh-ish

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@760 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixed log line
erickson [Sat, 19 Aug 2006 16:12:32 +0000 (16:12 +0000)]
fixed log line

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@759 9efc2488-bf62-4759-914b-345cdb29e865

18 years agologging cleanup
miker [Thu, 17 Aug 2006 15:21:56 +0000 (15:21 +0000)]
logging cleanup

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@758 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremove method call that does not exist
erickson [Mon, 14 Aug 2006 19:03:46 +0000 (19:03 +0000)]
remove method call that does not exist

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@757 9efc2488-bf62-4759-914b-345cdb29e865

18 years agologging put errors instead of throwing exception
erickson [Fri, 11 Aug 2006 20:21:39 +0000 (20:21 +0000)]
logging put errors instead of throwing exception

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@756 9efc2488-bf62-4759-914b-345cdb29e865

18 years agotesting multi-message fix in parser
erickson [Tue, 8 Aug 2006 21:32:53 +0000 (21:32 +0000)]
testing multi-message fix in parser

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@755 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoput time into resource to ensure uniqueness accross machines
erickson [Fri, 4 Aug 2006 16:25:23 +0000 (16:25 +0000)]
put time into resource to ensure uniqueness accross machines

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@754 9efc2488-bf62-4759-914b-345cdb29e865

18 years agowhen a backend child is not able to connect to jabber, the child now goes away
erickson [Thu, 3 Aug 2006 19:58:11 +0000 (19:58 +0000)]
when a backend child is not able to connect to jabber, the child now goes away
so it's not sitting around polluting the server pool

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@753 9efc2488-bf62-4759-914b-345cdb29e865

18 years agologging all requests + params to activity log
erickson [Thu, 27 Jul 2006 21:30:38 +0000 (21:30 +0000)]
logging all requests + params to activity log

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@752 9efc2488-bf62-4759-914b-345cdb29e865

18 years agologging the session id at client creation time for debugging
erickson [Mon, 17 Jul 2006 13:07:46 +0000 (13:07 +0000)]
logging the session id at client creation time for debugging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@749 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoFixed issue: when the router received two messages on a single socket that both fit...
erickson [Mon, 17 Jul 2006 00:24:56 +0000 (00:24 +0000)]
Fixed issue: when the router received two messages on a single socket that both fit into
the read buffer, only the first message was being processed

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@748 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixing typo in the bowels
miker [Sat, 8 Jul 2006 18:47:39 +0000 (18:47 +0000)]
fixing typo in the bowels

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@747 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoexperimental port of the C parser (it is slower...)
miker [Fri, 7 Jul 2006 08:07:09 +0000 (08:07 +0000)]
experimental port of the C parser (it is slower...)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@746 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadding client-side stream push method; working on the ingestor
miker [Thu, 6 Jul 2006 03:44:50 +0000 (03:44 +0000)]
adding client-side stream push method; working on the ingestor

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@745 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremoved debug warning
erickson [Thu, 29 Jun 2006 19:52:22 +0000 (19:52 +0000)]
removed debug warning

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@744 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremoved runtime print statement .. interfering with apache
erickson [Thu, 29 Jun 2006 19:50:58 +0000 (19:50 +0000)]
removed runtime print statement .. interfering with apache

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@743 9efc2488-bf62-4759-914b-345cdb29e865

18 years agocleaning up startup logging
erickson [Thu, 29 Jun 2006 17:20:48 +0000 (17:20 +0000)]
cleaning up startup logging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@742 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixing old fieldmapper_lookup generator
miker [Thu, 29 Jun 2006 03:22:15 +0000 (03:22 +0000)]
fixing old fieldmapper_lookup generator

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@741 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremoved old code
erickson [Thu, 22 Jun 2006 21:44:22 +0000 (21:44 +0000)]
removed old code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@740 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadding a tree filter for future common use
miker [Thu, 22 Jun 2006 19:06:47 +0000 (19:06 +0000)]
adding a tree filter for future common use

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@739 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremoved some unused non-apache2.2 friendly code
erickson [Tue, 20 Jun 2006 11:45:31 +0000 (11:45 +0000)]
removed some unused non-apache2.2 friendly code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@738 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoencoding char=30 (record seperator) in ToJSON
erickson [Thu, 15 Jun 2006 19:08:55 +0000 (19:08 +0000)]
encoding char=30 (record seperator) in ToJSON

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@737 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoreturning error code on disconnect
erickson [Thu, 15 Jun 2006 18:34:14 +0000 (18:34 +0000)]
returning error code on disconnect

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@736 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoreturn error when client is disconnected
erickson [Thu, 15 Jun 2006 18:00:19 +0000 (18:00 +0000)]
return error when client is disconnected

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@735 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded \ escaping
erickson [Wed, 7 Jun 2006 14:31:36 +0000 (14:31 +0000)]
added \ escaping

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@734 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded IP addresses to log line
erickson [Wed, 7 Jun 2006 12:26:46 +0000 (12:26 +0000)]
added IP addresses to log line

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@733 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoattempting to fix the extra null in respondComplete
miker [Wed, 31 May 2006 17:25:53 +0000 (17:25 +0000)]
attempting to fix the extra null in respondComplete

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@732 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoallow a null param element if argc is 0
miker [Thu, 25 May 2006 02:35:24 +0000 (02:35 +0000)]
allow a null param element if argc is 0

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@731 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoattempting to update the documentation
erickson [Wed, 24 May 2006 20:05:10 +0000 (20:05 +0000)]
attempting to update the documentation

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@730 9efc2488-bf62-4759-914b-345cdb29e865

18 years agocopying userData to the atomic method
erickson [Wed, 24 May 2006 15:12:15 +0000 (15:12 +0000)]
copying userData to the atomic method

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@729 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixed logic error in disconnect
erickson [Wed, 24 May 2006 13:57:04 +0000 (13:57 +0000)]
fixed logic error in disconnect

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@728 9efc2488-bf62-4759-914b-345cdb29e865

18 years agotypo
erickson [Wed, 24 May 2006 13:54:58 +0000 (13:54 +0000)]
typo

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@727 9efc2488-bf62-4759-914b-345cdb29e865

18 years agodies if user is not "opensrf"
erickson [Tue, 23 May 2006 02:43:15 +0000 (02:43 +0000)]
dies if user is not "opensrf"

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@726 9efc2488-bf62-4759-914b-345cdb29e865

18 years ago free pointer
erickson [Tue, 23 May 2006 01:50:55 +0000 (01:50 +0000)]
 free pointer

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@725 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded a free function pointer for the user data
erickson [Tue, 23 May 2006 01:39:17 +0000 (01:39 +0000)]
added a free function pointer for the user data

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@724 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoinstalling osrf_ctl script
erickson [Mon, 22 May 2006 20:38:25 +0000 (20:38 +0000)]
installing osrf_ctl script

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@723 9efc2488-bf62-4759-914b-345cdb29e865

18 years agolimiting message size to prevent syslog warnings piling up
erickson [Mon, 22 May 2006 18:23:15 +0000 (18:23 +0000)]
limiting message size to prevent syslog warnings piling up

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@722 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded error message for cached data on a closed socket
erickson [Mon, 22 May 2006 18:18:32 +0000 (18:18 +0000)]
added error message for cached data on a closed socket

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@721 9efc2488-bf62-4759-914b-345cdb29e865

18 years agocleaned up, added some info
erickson [Sat, 20 May 2006 13:34:29 +0000 (13:34 +0000)]
cleaned up, added some info

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@720 9efc2488-bf62-4759-914b-345cdb29e865

18 years agochanged ps name for more accurate grepping
erickson [Fri, 19 May 2006 21:47:15 +0000 (21:47 +0000)]
changed ps name for more accurate grepping

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@719 9efc2488-bf62-4759-914b-345cdb29e865

18 years agobetter, more-flexible, easier to use, all in one control script
erickson [Fri, 19 May 2006 21:46:41 +0000 (21:46 +0000)]
better, more-flexible, easier to use, all in one control script
this does not have chopchop support yet
it uses a pid directory and pid files to control processes when it can
sometimes it can't in which case it uses the same hacks the older scripts use

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@718 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded some error logging
erickson [Tue, 16 May 2006 18:51:01 +0000 (18:51 +0000)]
added some error logging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@717 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded a userData pointer
erickson [Mon, 15 May 2006 14:46:51 +0000 (14:46 +0000)]
added a userData pointer

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@716 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded connection oriented statefull session handling to the server stack
erickson [Mon, 15 May 2006 14:37:43 +0000 (14:37 +0000)]
added connection oriented statefull session handling to the server stack

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@715 9efc2488-bf62-4759-914b-345cdb29e865

18 years agothe code in these examples is way too old. best to delete.
erickson [Wed, 10 May 2006 13:43:26 +0000 (13:43 +0000)]
the code in these examples is way too old.  best to delete.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@714 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded request duration
erickson [Tue, 9 May 2006 15:11:06 +0000 (15:11 +0000)]
added request duration

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@713 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadding new open-ils.cstore app; moving new IDL generator to a better home; added...
miker [Tue, 9 May 2006 05:30:57 +0000 (05:30 +0000)]
adding new open-ils.cstore app; moving new IDL generator to a better home; added userData support to method context

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@712 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadding ability to set recv_timeout per session
miker [Fri, 5 May 2006 20:48:57 +0000 (20:48 +0000)]
adding ability to set recv_timeout per session

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@711 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadding cookie parsing - disabled in gateway for now
erickson [Thu, 4 May 2006 20:43:48 +0000 (20:43 +0000)]
adding cookie parsing - disabled in gateway for now

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@710 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded some additional debugging
erickson [Wed, 3 May 2006 04:05:53 +0000 (04:05 +0000)]
added some additional debugging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@709 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded pointer check to prevent the router from crashing when it receives the
erickson [Mon, 1 May 2006 20:19:31 +0000 (20:19 +0000)]
added pointer check to prevent the router from crashing when it receives the
second bounce message on a recipient node

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@708 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded log line
erickson [Mon, 1 May 2006 14:39:00 +0000 (14:39 +0000)]
added log line

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@707 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixed linked list bug which as pushing app responses onto the front of the queue...
erickson [Thu, 27 Apr 2006 16:07:33 +0000 (16:07 +0000)]
fixed linked list bug which as pushing app responses onto the front of the queue, and some general cleanup

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@706 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixing recursion bug
miker [Mon, 24 Apr 2006 03:21:43 +0000 (03:21 +0000)]
fixing recursion bug

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@705 9efc2488-bf62-4759-914b-345cdb29e865

18 years agodebuging changes
miker [Fri, 21 Apr 2006 19:08:17 +0000 (19:08 +0000)]
debuging changes

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@704 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded some more diagnostic logging
erickson [Fri, 21 Apr 2006 13:04:47 +0000 (13:04 +0000)]
added some more diagnostic logging
if we have no data to send to the unixserver, we don't try

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@703 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomoving debuging to INTERNAL
miker [Fri, 21 Apr 2006 02:43:02 +0000 (02:43 +0000)]
moving debuging to INTERNAL

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@702 9efc2488-bf62-4759-914b-345cdb29e865

18 years agochecking for socket connected-ness on sysread
erickson [Fri, 21 Apr 2006 02:41:01 +0000 (02:41 +0000)]
checking for socket connected-ness on sysread
inbound now re-connects on disconnect error

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@701 9efc2488-bf62-4759-914b-345cdb29e865

18 years agogateway now requires a list of allowed services
erickson [Thu, 20 Apr 2006 19:52:03 +0000 (19:52 +0000)]
gateway now requires a list of allowed services
all other service requests will receive a not_found

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@700 9efc2488-bf62-4759-914b-345cdb29e865

18 years agohandling any less-than zero returns
erickson [Thu, 20 Apr 2006 19:50:44 +0000 (19:50 +0000)]
handling any less-than zero returns

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@699 9efc2488-bf62-4759-914b-345cdb29e865

18 years agooptional hash function parameter; minor debuging
miker [Thu, 20 Apr 2006 04:02:15 +0000 (04:02 +0000)]
optional hash function parameter; minor debuging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@698 9efc2488-bf62-4759-914b-345cdb29e865

18 years agosmarter default "recv"
miker [Thu, 20 Apr 2006 03:59:54 +0000 (03:59 +0000)]
smarter default "recv"

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@697 9efc2488-bf62-4759-914b-345cdb29e865

18 years agodate clensing works properly now... oops
miker [Thu, 20 Apr 2006 01:24:34 +0000 (01:24 +0000)]
date clensing works properly now... oops

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@696 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoap_get_client_block returns -1 on error.. detecting
erickson [Mon, 17 Apr 2006 14:51:36 +0000 (14:51 +0000)]
ap_get_client_block returns -1 on error.. detecting

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@695 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomore debugging, sanity checking read loop in apachetools as well as buffer_add
erickson [Mon, 17 Apr 2006 14:44:36 +0000 (14:44 +0000)]
more debugging, sanity checking read loop in apachetools as well as buffer_add

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@694 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremoved some unnecessary log lines
erickson [Fri, 14 Apr 2006 21:09:38 +0000 (21:09 +0000)]
removed some unnecessary log lines

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@693 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomore debugging
erickson [Fri, 14 Apr 2006 15:17:22 +0000 (15:17 +0000)]
more debugging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@692 9efc2488-bf62-4759-914b-345cdb29e865

18 years agochopchop will now timeout if trying to send to a client that can take no
erickson [Fri, 14 Apr 2006 14:58:27 +0000 (14:58 +0000)]
chopchop will now timeout if trying to send to a client that can take no
 more data as opposed to blocking indefinitely on the send socket

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@691 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded a flush_socket method to the jabber client code to allow
erickson [Fri, 14 Apr 2006 13:42:19 +0000 (13:42 +0000)]
added a flush_socket method to the jabber client code to allow
a unix child process to drop any pending socket data before
continuing on

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@690 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded some logging, etc.
erickson [Thu, 13 Apr 2006 17:01:08 +0000 (17:01 +0000)]
added some logging, etc.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@689 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixed bug
erickson [Wed, 12 Apr 2006 04:17:43 +0000 (04:17 +0000)]
fixed bug

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@688 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded more debugging
erickson [Wed, 12 Apr 2006 04:14:30 +0000 (04:14 +0000)]
added more debugging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@687 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded child init handling to the C stack
erickson [Tue, 11 Apr 2006 15:58:15 +0000 (15:58 +0000)]
added child init handling to the C stack

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@686 9efc2488-bf62-4759-914b-345cdb29e865

18 years agolike the Perl server, you can now no longer re-bootstrap clients in a process that...
erickson [Fri, 7 Apr 2006 16:32:03 +0000 (16:32 +0000)]
like the Perl server, you can now no longer re-bootstrap clients in a process that already has
a client socket open.  you can force it, which the forked children must do to get their own sockets,
but in general, a single process will share the same connection

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@685 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremoved depracated call
erickson [Fri, 7 Apr 2006 13:46:15 +0000 (13:46 +0000)]
removed depracated call

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@684 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded some additional logging and some cleanup functions for improving
erickson [Fri, 7 Apr 2006 13:22:47 +0000 (13:22 +0000)]
added some additional logging and some cleanup functions for improving
memory leak detection

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@683 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadding example script for OpenSRF::MultiSession
miker [Thu, 6 Apr 2006 05:15:50 +0000 (05:15 +0000)]
adding example script for OpenSRF::MultiSession

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@682 9efc2488-bf62-4759-914b-345cdb29e865

18 years agostreamlining collection
miker [Thu, 6 Apr 2006 05:04:36 +0000 (05:04 +0000)]
streamlining collection

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@681 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadding duration timing to requests
miker [Thu, 6 Apr 2006 05:02:26 +0000 (05:02 +0000)]
adding duration timing to requests

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@680 9efc2488-bf62-4759-914b-345cdb29e865

18 years agooopsie ... off-by-one potentially causing unbalanced session use
miker [Thu, 6 Apr 2006 01:03:04 +0000 (01:03 +0000)]
oopsie ... off-by-one potentially causing unbalanced session use

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@679 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomodding the result, instead of inside the hash function
miker [Thu, 6 Apr 2006 00:58:59 +0000 (00:58 +0000)]
modding the result, instead of inside the hash function

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@678 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoMultiSession, YAY
miker [Wed, 5 Apr 2006 21:09:47 +0000 (21:09 +0000)]
MultiSession, YAY

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@677 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremoving session cache; adding support for quiet remote exceptions
miker [Wed, 5 Apr 2006 21:09:14 +0000 (21:09 +0000)]
removing session cache; adding support for quiet remote exceptions

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@676 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomaking better use of macros for speed
erickson [Thu, 30 Mar 2006 23:02:42 +0000 (23:02 +0000)]
making better use of macros for speed

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@675 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoreplaced regex with CORE::time
erickson [Wed, 29 Mar 2006 22:31:46 +0000 (22:31 +0000)]
replaced regex with CORE::time

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@674 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded basic opensrf.system.time method
erickson [Wed, 29 Mar 2006 20:38:31 +0000 (20:38 +0000)]
added basic opensrf.system.time method

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@673 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoonly handle timezone if there was actually a time
miker [Mon, 27 Mar 2006 17:37:43 +0000 (17:37 +0000)]
only handle timezone if there was actually a time

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@672 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoimproving datetime parsing in clense_ISO8601()
miker [Mon, 27 Mar 2006 15:38:39 +0000 (15:38 +0000)]
improving datetime parsing in clense_ISO8601()

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@671 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded hopefully more useful log line
erickson [Fri, 24 Mar 2006 22:38:30 +0000 (22:38 +0000)]
added hopefully more useful log line

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@670 9efc2488-bf62-4759-914b-345cdb29e865

18 years agotaking advantage of macros
erickson [Fri, 24 Mar 2006 22:37:00 +0000 (22:37 +0000)]
taking advantage of macros

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@669 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoraised history size
erickson [Fri, 24 Mar 2006 22:36:15 +0000 (22:36 +0000)]
raised history size

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@668 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded some macros for speeding up tight loops - taking advantage of those macros
erickson [Fri, 24 Mar 2006 22:35:40 +0000 (22:35 +0000)]
added some macros for speeding up tight loops - taking advantage of those macros

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@667 9efc2488-bf62-4759-914b-345cdb29e865

18 years agonow printing bad XML data to the log file. my feeling is that this is what is
erickson [Mon, 20 Mar 2006 18:05:03 +0000 (18:05 +0000)]
now printing bad XML data to the log file.  my feeling is that this is what is
causing the "<blah> is not connected to the network" errors... clients will
be disconnected when they receive bad XML

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@666 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoformatting errors as JSON strings so they come accross as, well, JSON :)
erickson [Fri, 17 Mar 2006 17:25:51 +0000 (17:25 +0000)]
formatting errors as JSON strings so they come accross as, well, JSON :)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@665 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomoved osrf_hash code to osrf_big_hash as the Judy big hash implementation
erickson [Mon, 13 Mar 2006 22:23:53 +0000 (22:23 +0000)]
moved osrf_hash code to osrf_big_hash as the Judy big hash implementation
osrf_hash is now a custom hash

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@664 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixed sig building (I hope)
miker [Fri, 10 Mar 2006 18:09:01 +0000 (18:09 +0000)]
fixed sig building (I hope)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@663 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoupdated to work with new login params
erickson [Thu, 9 Mar 2006 15:10:49 +0000 (15:10 +0000)]
updated to work with new login params

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@662 9efc2488-bf62-4759-914b-345cdb29e865