/[resiprocate]/main/rutil/test/testData.cxx
ViewVC logotype

Log of /main/rutil/test/testData.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 10778 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 24 01:26:08 2013 UTC (5 years, 10 months ago) by Dpocock
File length: 44241 byte(s)
Diff to previous 10433
rutil: Data: add fromHex method

Revision 10433 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 10 11:16:57 2013 UTC (6 years, 2 months ago) by Dpocock
File length: 43502 byte(s)
Diff to previous 10037
rutil: Data: use of fixed-size integer types for methods that work with fixed buffer sizes

Revision 10037 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 28 20:29:41 2013 UTC (6 years, 8 months ago) by dpocock
File length: 43509 byte(s)
Diff to previous 9633
rutil/test: testData: make comparison of double more tolerant

Revision 9633 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 2 19:27:38 2012 UTC (7 years, 6 months ago) by sgodin
File length: 42895 byte(s)
Diff to previous 9532
-merge work from branches/b-repro-enh-20120205

-up repro version number 0.9
-added new Settings page to repro web interface to show current command line / files settings in use
 - will also display some some low level stack info and congestion stats (if enabled)
-added new config setting StatisticsLogInterval to specify how often statistics are dumped to 
 the log files
-cleaned up the WebAdmin constructor to take a Proxy object
-added new KeyValueStore class for highly efficient generic storage
 - keys are simple integer indexes into a vector and must be allocated 
   before they are used
 - currently supports storage and retrieval of the following types:
   Data, bool, short, unsigned short, int, unsigned int, and UInt64
-Converted ConfigParse storage from std::multimap to HashMultiMap
-removed print in TcpConnection that could end up printing garbage at the end of 
 messages that are not null terminated
-added KeyValueStore to three strategic locations in repro, allowing custom Processors 
 (Monkeys, Lemurs and Baboons) to store state scoped as follows:
     -Global Proxy Scope - Proxy::getKeyValueStore
     -Request Scope - RequestContext::getKeyValueStore
     -Target Scope - Target::getKeyValueStore
 Before this storage can be used you must statically allocate a storage key.
 See mFromTrustedNodeKey use in the IsTrustedNode class for an example.
-major changes to how repro is started up, to allow easier additions of
 custom startup logic, such as adding custom Processors (Monkeys, Lemurs and 
 Baboons) to the default Processor chains
  - almost all logic that was in repro.cxx has been moved out to a new class
    (ReproRunner), and split into smaller virtual methods that can be overridden
  - see comments at the top of repro.cxx for an example of how to add custom
    processors
-added option to enable some basic P-Asserted-Identity header handling
 - After auth is successful 
   - if P-Perferred-Identity header is present remove it
   - if no P-Asserted-Identity header is present, then add one
 - Removal of P-Asserted-Identity if Privacy header is set to "id"
   Note: Since we have no better mechanism to determine if destination is 
         trusted or not we assume that all destinations outside our domain 
         are not-trusted and will remove the P-Asserted-Identity header
-modified how ;lr param on routes are processed - moved logic from StaticRoute 
 to ResponseContext - this slightly changes the behaviour
 - previous implementation used to stop the processing chain as soon
   as the first matching route with a ;lr is found, new implementation
   does not stop Target processing if a ;lr is present
 - Multiple targets can now have a ;lr on them and be processed
   properly.  The ;lr parameter is now examined in 
   ResponseContext::beginClientTransaction, and if present the RequestUri
   is not altered and a Route header is added instead
-fixed a duplicate removeContact call in OutboundTargetHandler (a merge conflict
 victim)
-avoid unnecessary iteration through target list in StaticRoute when try to determine
 if auth is required
-added two new constructors to QValueTarget to make is easier to form targets from 
 a NameAddr or Uri only
-removed some unused code in ResponseContext:  addOutboundBatch and mOutboundMap
-renamed Target::targetPtrCompare to Target::priorityMetricCompare to be more descriptive
-implement proper q-value processing of contacts in a redirect response

-fix for a long standing issue in repro that started in rev6794, where
 repro can be over protective and issue 403 responses for legitimate 
 mid-dialog requests.  The issue occurs when a repro domain user forms
 a dialog with a user in another external domain.  Any mid-dialog
 requests coming from the external domain would get 403'd.  This 
 was due to the logic in the AmIResponsible monkey, and the fact that 
 such requests have the repro endpoints contact address in the 
 RequestUri (typically the endpoints IP address), so not belonging
 to repro's domain, and the From user is not being from repro's domain.

 The original code to only do these checks for out of dialog requests
 was reintroduced with the following comments:

         // only perform relay check for out-of-dialog requests
         // !bwc! Um, then all anyone has to do to get us to be their relay
         //       is throw in a spurious to-tag...
         //       This smells funny. I am commenting it out.
         // .slg. Putting code back in and clarifying the funny smell.....
         //       We only want to do this check for out of dialog requests, since 
         //       mid-dialog requests could be 403'd otherwise.  Consider
         //       an INVITE request from a repro domain user to a user in 
         //       another domain.  The resulting ACK/200, BYE or any other
         //       mid-dialog request coming from the remote domain, will contain
         //       the repro users contact address in the RequestUri and a 
         //       foreign domain in the from header.  We want to ensure these
         //       requests are not 403'd.  Byron's comment about an endpoint getting
         //       us to relay by placing a spurious to tag in the request still 
         //       stands. Perhaps we ought to be checking the To header domain in 
         //       this case - however that is also weak, since the To header is not
         //       used in routing and easily be set to a URI in our domain to trick
         //       repro into forwarding.  Note:  From header domain checking is
         //       stronger than To header domain checking, since if the domain is 
         //       ours, then it must pass Digest Authentication (at least for non 
         //       ACK and BYE requests).

-add ability for a repro admin to add manual / permanent registrations - such
 manually added registrations are persisted to the database, and loaded at startup
 - Manual registrations can be added on the Registration Web Page
-add display of registered contact's QValue on registrations web page
-added ability to specify a Path on new static registration feature
-cleanup some old hacks now that we have the ability to manually add registrations
  - ParallelForkStaticRoutes no longer combines StaticRoutes Targets and LocationServer
    Targets
  - Static Routes are no longer added as QValueTargets, they are now added as simple Targets.
    So they are no longer susceptible to the various QValue Settings - ie. QValueMsBeforeCancel.
  - Added new ContinueProcessingAfterRoutesFound setting:
    By default (false) we will stop looking for more Targets if we have found
    matching routes.  Setting this value to true will allow the LocationServer Monkey
    to run after StaticRoutes have been found.  In this case the matching
    StaticRoutes become fallback targets, processed only after all location server 
    Targets fail.

-added new Helper method:  Tuple getClientPublicAddress(const SipMessage& request)
  - look at Via headers, and finds the first public IP address closest to the sending
    client.
-added loopback address checking to Tuple::isPrivateAddress
-modified ServerRegistration:
 - Ensure that ContactInstanceRecord::mReceivedFrom is always populated - not just 
   in outbound use cases - added a new flag to indicate when flow routing is required
 - Added a new mPublicAddress flag member to ContactInstanceRecord - this will assist
   with an upcoming feature to do geo proximity routing
-added new ContactInstanceRecord::mPublicAddress to regsync process
-removed a chatty log line in DialogSetId
-used Symbols::COMMA in a few spots it wasn't being used in
-removed unimplemented targetCount method on ResponseContext
-renamed Helper::isSenderBehindNAT to isClientBehindNAT for consistency
-ensure we only skip the Monkey chain in StaticRoute if we actual found routes
-added missing license block to ForkControlMessage
-adding new Baboon:  GeoProximityTargetSorter
 If enabled, then this baboon can post-process the target list.  
 This includes targets from the StaticRoute monkey and/or targets
 from the LocationServer monkey.  Requests that meet the filter 
 criteria will have their Target list, flatened (serialized) and
 ordered based on the proximity of the target to the client sending
 the request.  Proximity is determined by looking for a 
 x-repro-geolocation="<latitude>,<longitude>" parameter on the Contact
 header of a received request, or the Contact headers of Registration
 requests.  If this parameter is not found, then this processor will
 attempt to determine the public IP address closest to the client or
 target and use the MaxMind Geo IP library to lookup the geo location.
-requires floating point support for geo proximity calculations
-resip TCP transports can crash repro on uncaught exception - if garbage is received
 on the socket, and there is no Content-Length header, then SipMessage::Exception can
 throw, and it was not caught with the existing ParseException catch handler.  Changed
 to catch BaseException instead.
-removed unsafe logging statement in DumTimeout - if DUM and stack are in different threads, then
 crash could occur
-enable Inserter functionality for collections that store pointers
 to items.  Use InsertP instead of Inserter for such collections.
 For example:  
 std::vector<std::string*> v;
 ... populate vector ...
 std::cout << InserterP(v) << std::endl;
-statictize strings in Inserter/InserterP
-add InserterP test cases to rutil/test/testInserter.cxx
-cleaned up Processor and ProcessorChain classes
 - added mName property in anticipation of a future capability to define processor 
   chains in the configuration file
 - simplified operator<< for processors, to use Name
-modified some Inserter uses to use new InserterP function
-allow custom repro implementations to add themselves to the RegistrarHandler so that
 registration messages can be processed and reacted to
-added a singleResultQuery API to MySqlDb
-series of interfaces to make is easier to implement new Asynchronous Monkey's / Processors that utilize a common thread pool
-removed getTransactionId from ForkControlMessage - method exists on base class, so it's not needed
-removed getTransactionId and tid() from UserInfoMessage - getTransactionId method exists on base class, so they are not needed
-made Worker and abstract base class
-modified ConfigParser to throw a resip style exception when failing to open configuration file
-minor cleanups to ConfigParser configuration file parsing routine

-added new RequestFilter monkey
 - allows user to configure conditions under which an inbound request should be rejected or not
 - allows two regular expression conditions that can be applied to any SIP message header:
   this includes the request-line, standard SIP headers and custom SIP headers.  If a header
   that can appear multiple time is specified, then each instance of the header is checked.
 - When conditions are met, allows the action carried out to be defined:
   - Accept - accepts this request and stops further processing in Request Filter monkey 
   - Reject - rejects this request with the provided SIP status code and reason text
   - SQL query - only available when MySQL support is compiled in - runs an arbitrary stored
     procedure or query, using replacement strings from the 2 condition regular expressions
     - query must return an empty string or "0" to instruct repro to Accept the request, or a 
       string containing "<SIP Reject Status Code>[, <SIP Reject Reason>]" to Reject the request
     - using the repro configuration file the SQL Query can be configured to operate on a
       completely different my SQL instance/server than the repro configuration
   - Filters are defined in the HTTP web interface via new Add Filter, Edit Filter and Show
     Filters web pages.  There is an ability to test the condition regular expressions from 
     the web page as well.
   - other Monkey settings are configured in the repro configuration file or via command line:
     DisableRequestFilterProcessor, RequestFilterDefaultNoMatchBehavior, 
     RequestFilterDefaultDBErrorBehavior, RequestFilterMySQLServer (and other mySQL related settings) 
   - can be used to implement a User Blocking functionality - ie. calls and instant messages 
     from user X to user Y should always be blocked, because user X is in user Y's block list
   - introduced new FilterStore configuration database table to store the Filters configured
     on the web pages

-added AsyncProcessorDispatcher / thread pool to repro that be shared by all AsyncProcessors
 - currently only used by new RequestFilter monkey
-cleaned up some implementation in AbstractDb to remove some code duplication
-catch config file parse, and missing file errors (exceptions) at repro startup
-RouteStore 
  - stop webpage from being able to add two routes with the same Key
  - optimized data fetch for displaying routes on web page
-Repro Web Interface
 - added new Add Filter, Edit Filter and Show Filters pages
 - made use of HTML tables consistent across all pages
 - made table backgrounds white to improved appearance
 - added title to right hand side pane
 - cleaned up formatting on many pages
 - ordered methods in source to match ordering on web page 
 - added warning to Domains page, that repro must be restarted

-added version information to startup logs and to display on web interface
-added bottom footer on web interface with link to www.resiprocate.org
-added new RequestFilter files to all Visual Studio projects and linux Makefile
-upped repro version to 0.9

-fix a bug in repro web interface, where fragmented HTTP messages were not being handled correctly
-fixed possible assert if a transport error is seen after trying to send an ACK message

-added optional MessageSilo support to repro
 - stores IM's (ie. SIP MESSAGE requests) for offline users
 - replays messages to users when they register (ie. come back online)
 - records are persisted to a database table, so they survive shutdowns
 - configurable filters exist for DestUri, MimeType, MessageBody size

-moved CommandServer from repro to reprolib
-added restart command to reprocmd - allows restarting repro to apply configuration changes while leaving 
 the in memory registration database in tact
-propagate db insert/update failures to callers - web interface now shows errors if record fails to update in db
-remove unused AbstractDb API's: writeRoute and writeFilter
-added ability for tables to have non-unique keys (ie. duplicate records)
-modified WorkerThread to support work that does not require a response to be queued back to the stack
-added database transaction support to BerekelyDb and MySQL implementations
-reorganized repro runner startup ordering so that DUM TU is started before Proxy and added new 
 virtual createDatastore method - in order to facility new Silo Monkey startup that requires access to 
 the Registrar object
-make RequestFilter monkey options - use config flag
-allow a DateCategory to be created from time_t

-build fixes for linux, add --with-geoip option to autotools configure
-added --with-popt to configure so that test projects can be build easily with popt support
-added autodetection of epoll support on unix and automatic addition of HAVE_EPOLL define

-added ability for repro to report a 404 error when attempting to reach a user that does not exist
 - previously repro would always send a 480 response when attempting to reach an AOR that wasn't
   registered
-removed unused SipStack parameter to DigestAuthenticator monkey

-allow reprocmd to run defaulting to 127.0.0.1:5081 for server connection

-added secondary database support to BerkeleyDb - allows tables with a secondary index
 - my sql implementation of AVPs with two indexes was added as well
-message silo records can now be deleted by referencing a unique key (ie. timestamp+tid)
 - transaction support is no longer required
-optimized data copies when reading records from BerkeleyDb
-increase MySQL AVP table size for value field from 1024 to 4096
-implemented logic to periodically cleanup Silo records that have expired


Revision 9532 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 14 04:59:57 2012 UTC (7 years, 7 months ago) by bcampen
File length: 42885 byte(s)
Diff to previous 9367
Working around a bug in g++ 4.4.5's optimizer, as far as I can tell.


Revision 9367 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 1 16:12:20 2012 UTC (7 years, 9 months ago) by sgodin
File length: 42837 byte(s)
Diff to previous 9065
-merge work from resip-b-TKLC-perf_work branch

Merge Notes:

Various optimizations of Data
=============================

Made Data smaller, without sacrificing functionality. Data is 20 (56 vs 36) 
bytes smaller on 64-bit libs, and 4 (36 vs 32) bytes smaller on 32-bit libs. 
This was accomplished by making mSize, mCapacity, and mShareEnum 4-bytes on 
64-bit platforms (mShareEnum could be one byte, but it turns out this imposes a 
detectable performance penalty), and by having mShareEnum do double-duty as a 
null-terminator for mPreBuffer (Borrow==0), instead of requiring an extra byte 
at the end of mPreBuffer.

Several very simple functions have been inlined.

Functionality enhancements to a couple of functions:

- Data::md5() has been changed to Data::md5(Data::EncodingType type=HEX); this 
allows the output of md5() to be encoded as hex or Base64, or not encoded at all 
(binary).

- Data::replace(const Data& match, const Data& target) has been updated to 
Data::replace(const Data& match, const Data& target, int max=INT_MAX); this 
allows the maximum number of replacements to be specified.

Lastly, a few specialized hashing and comparison functions have been added:

- Data::caseInsensitiveTokenHash(); this is a case-insensitive hash that assumes 
that the Data is an RFC 3261 token (eg; branch params). This character set has 
the property that no character is equal to any other character when bit 6 is 
masked out, except for the alphabetical characters. (For alphabetical 
characters, bit 6 specifies whether the character is upper/lower case) This 
means that we can mask out bit 6, and then use a case-sensitive hash algorithm 
on the resulting characters, without hurting the collision properties of the 
hash, and get a case-insensitive hash as a result. This hash function is based 
on the Hsieh hash.

- bool Data::caseInsensitiveTokenCompare(const Data& rhs); this is an equality 
comparison that assumes that both Datas are RFC 3261 tokens (eg; branch 
parameters). This function takes advantage of the same properties of the RFC 
3261 token character set as caseInsensitiveTokenHash(), by using a bitmask 
instead of a true lowercase() operation. This ends up being faster than 
strncasecmp().

- Data& schemeLowercase(); this is a variant of lowercase() that assumes the 
Data is an RFC 3261 scheme. This character set has the property that setting bit 
6 is a no-op, except for alphabetical characters (0-9, '+', '-', and '.' all 
already have bit 6 set). Setting bit 6 on a alphabetical character is equivalent 
to lower-casing the character. Note: There is no corresponding schemeUppercase() 
function, because clearing bit 6 will convert 0-9, '+', '-', and '.' into 
unprintable characters (well, '-' is turned into a CR, but you get the point).



Performance improvements to ParseBuffer
=======================================

- Most functions that returned a Pointer now return a much more lightweight
   CurrentPosition object.
- Allow some of the simpler functions to be inlined
- Integer parsing code is more efficient, and overflow detection is better


Performance enhancements to DnsUtil
===================================

- DnsUtil::inet_ntop(): For some reason, the stock system inet_ntop 
  is dreadfully inefficient on OS X. A dirt-simple hand-rolled 
  implementation was 5-6 times as fast. This is shocking. The Linux 
  implementation is plenty efficient, though, so we're using 
  preprocessor to activate the hand-rolled code.

- DnsUtil::isIpV4Address(): The implementation uses 
  sscanf(), which is pretty expensive. Hand-rolled some code that 
  is much faster.


Reduced the memory footprint associated with storing URIs
=========================================================
- Removed the AOR cacheing stuff from Uri; it was horrifically inefficient. Checking
  for staleness of the cache was nearly as expensive as regenerating the AOR from 
  scratch. Not to mention that the AOR cacheing stuff took up a whopping 148 bytes
  of space on 64-bit platforms (4 Datas, and an int).

- Reworked the host canonicalization cache to take up less space, and be faster.
  Previously, the canonicalized host was put in a separate Data. We now canonicalize
  in-place, and use a bool to denote whether canonicalization has been performed yet.
  This saves us 32 bytes.

- Changed Data Uri::mEmbeddedHeadersText to an auto_ptr<>, since in most cases Uris don't
  use it. Also use auto_ptr for mEmbeddedHeaders (was already a pointer, for consistency).


Change how branch parameters are encoded.
=========================================

Old format: z9hG4bK-d8754z-<branch>-<transportseq>-<clientData>-<sigcompCompartment>-d8754z-

New Format: z9hG4bK-524287-<transportseq>-<clientData>-<sigcompComprtment>-<branch>

This format encodes faster, parses faster (with _much_ simpler code), and takes up
less space on the wire. We may decide to tweak the new resip cookie; I chose 
something that we can use memcmp instead of strncasecmp with, but the token character
set has a bunch of characters that aren't alphanumeric we could use.

Also, some other small optimizations; avoid copies associated with calling
Data::base64encode()/base64decode() on empty Datas, and reorder the SIP cookie
comparisons to be more efficient.


State shedding modifications to TransactionState
================================================
In a number of cases, we were preserving state (in the form of SipMessages
and DnsResults) in cases where we did not really need them any more. For
example, once we have transmitted a response, there is no need
to preserve the full SipMessage for this response (the raw retransmit buffer
is sufficient). Also, INVITE requests do not need to be maintained once
a final response comes in (since there is no possibility that we'll need to
send a simulated 408 or 503 to the TU, nor will we need to construct a CANCEL
request using the INVITE, nor will we need to retransmit). Similarly, once we
have received a final response for a NIT transaction, we no longer need to
maintain the original request or the retransmit buffer. Lastly, if we are
using a reliable transport, we do not need to maintain retransmit buffers
(although we may need to maintain full original requests for simulated
responses and such).

This change has basically no impact on reliable NIT performance, but a huge
impact on non-reliable and INVITE performance. Prior to this change, either
NIT UDP or INVITE TCP testStack would exhaust main memory on my laptop (with
4GB of main memory), bringing progress to a complete halt on runs longer than
15 seconds or so. I did not bother trying INVITE UDP, but that works now too.


Reduction in buffer reallocations while encoding a SipMessage
=============================================================
TransportSelector now keeps a moving average of the outgoing message size,
which is used to preallocate the buffers into which SipMessages are encoded.

This ends up making a small difference in testStack when linked against google
malloc, but a larger difference when linked against OS X's (horrible) standard
malloc.


Multiple Threads in the Stack
=============================
Allow transaction processing, transport processing, and DNS processing to be 
broken off into separate threads.

- SipStack::run() causes the creation and run of three threads; a 
TransactionControllerThread, and TransportSelectorThread, and a DnsThread. You 
continue to use stuff like StackThread and EventStackThread to give cycles to 
the rest of the stack (mainly processing app timers and statistics logging); the 
SipStack is smart enough to unhook these three things from the normal event loop 
API when they have their own threads. In other words, to use the new 
multi-threaded mode, all you have to do is throw in a call to SipStack::run() 
before you fire up your normal SipStack processing, and a 
SipStack::shutdownAndJoinThreads() when you're done.

- In the Connection read/write code, process reads/writes until EAGAIN, or we 
run out of stuff to send. Gives a healthy performance boost on connection-based 
transports.

- In TransactionController, put transaction timers in their own fifo. This 
prevents timers from firing late when the state machine fifo gets congested. 
Also, process at most 16 TransactionMessages from the state machine fifo at a 
time, to prevent starving other parts of the system.

- Unhook the TransactionController's processing loop from that of the 
TransportSelector. This simplifies this API considerably, but required the 
addition of a new feature to Fifo. Fifo can now take an (optional) 
AsyncProcessHandler* that will be notified when the fifo goes from empty to 
non-empty. Actually pretty useful.

- Allow setPollGrp() to be called multiple times on the various classes that 
have this function. This allows the FdPollGrp to be re-set when the SipStack 
enters multithreaded mode.

- Added a "multithreadedstack" --thread-type option to testStack. Exercise this 
option in testStackStd.sh

- Added the ability to run any of the existing Transport objects in their own 
thread, by a combination of a new transport flag 
(RESIP_TRANSPORT_FLAG_OWNTHREAD), and a new TransportThread class. Added support 
for this mode to testStack using the --tf option. Also exercised this feature in 
testStackStd.sh.

- Installed SelectInterruptors at the TransportSelector, each Transport object, 
and the DnsStub (this last one required moving SelectInterruptor to rutil). This 
is critical to making multithreaded mode work in a performant manner, and 
imposes almost no performance penalty due to the way they are invoked.

- SipStack now creates its own SelectInterruptor if one is not supplied 
externally. This is because it is critical to be able to wake the 
TransactionController up when new work comes down from the TU, or from the 
transports.


New congestion-management framework
===================================
Notable features include:
* Allow testStack, tfm/repro/sanityTests, and repro to be run with a congestion 
   manager with the --use-congestion-manager flag.

* Efficient wait-time estimation in AbstractFifo; keeps track of how rapidly
   messages are consumed, allowing good estimates of how long a new message will
   take to be serviced. More efficient than the time-depth logic in 
   TimeLimitFifo, and a better predictor too.

* The ability to shed load at the transport level when the TransactionController
   is congested, in a very efficient manner, using new functionality in Helper
   and SipMessage (Helper::makeRawResponse() and 
   SipMessage::encodeSingleHeader())

* The ability to shed load coming from the TU when the TransactionController is 
   congested. This is crucial when congestion is being caused by a TU trying to 
   do too much.

* Changed the way load-shedding is handled for TransactionUsers to use the new
   API

* A flexible congestion-management API, allowing load-shedding decisions to be
   made in an arbitrary fashion.

* A generalized CongestionManager implementation that is powerful enough to be
   useful.

* The TransactionController will now defer retransmissions of requests if 
   sufficiently congested (ie; the response is probably stuck in mStateMacFifo)

* The TransactionController now determines its hostname with a single call to 
   DnsUtil::getLocalHostName() on construction, for use in 503s. Previously, it 
   would make this call every time a 503 was sent; this call blocks sometimes!

* Don't call DnsResult::blacklistLast() on a Retry-After: 0

* Several fixes the the processing loop in testStack that were causing 
   starvation of one type of work or another when congestion occurred.


Other Misc Enhancements
=======================
-Small efficiency improvement in Random::getCryptoRandom(int)
 Random::getCryptoRandom(unsigned int len) was implemented by calling 
 Random::getCryptoRandom() repeatedly, and collecting the return values 
 in a buffer. In the openssl case, we now use a single call to RAND_bytes().
-Use a priority_queue instead of a multiset for storing timers.
-Slight refactoring of Timer so that transaction timers and payload timers (ie; 
 timers that carry a Message*) are separate classes. Transaction timers no longer 
 have an unused Message* member, and payload timers no longer have the unused 
 transaction-id, Timer::Type, and duration. This saves a _lot_ of memory for apps 
 that use lots of app timers with long lifetimes.
-Less wasteful population of Call-IDs: 
 When generating Call-IDs, Helper was computing an md5 hash of the hostname and 
 some salt, hex-encoding it, and then Base64 encoding the hex data. We now Base64 
 encode the md5 hash directly. This is less computationally expensive, requires 
 less memory because the resulting string is half the size, and requires fewer 
 bytes on the wire.
-Make TransactionMap case-insensitive; Data::caseInsensitiveTokenHash() is fast
 enough that performance actually increases a little.
-std::bitset-based parsing in a number of places.
-Don't check whether the encoding tables are initted for every single
 character; check once before the encode operation begins. Also, checking
 the value of a static bool to determine whether an init has been carried
 out is pointless; that bool might not be initted yet, and it could have
 any value. The static init code now copes with both accesses to the encoding
 tables during static initialization, and from multiple threads during runtime.
-Don't bother generating a transaction identifier unless the parse fails
 to extract one.
-Some refactoring of the FdPollGrp stuff. Now is compatible with cares, using
 a bit of a hack. Also compatible with being driven with the old buildFdSet()/
 select()/process(FdSet&) call sequence, although this is now deprecated.
 Fixing these compatibility problems allowed us to switch over to using FdPollGrp
 in all cases, instead of having dual mode everywhere.
-Buffer classes for Fifo to reduce lock contention. Using them in a few places, will
 use them in more once we phase out TimeLimitFifo with the new congestion management
 code.
-Use the --ignore-case option for generation of ParameterHash.cxx, instead of the
 nasty sed rewriting we are using now. Should also be slightly faster, since gperf
 handles case-insensitive hashing more efficiently than our hack was.
-Adding a local memory pool to SipMessage, to cut down (dramatically) on
 heap allocation overhead. Some minor refactoring to free up wasted space
 in SipMessage as well (makes more room for the pool). Changing the way
 the start-line is stored to no longer use a full-blown ParserContainer+
 HeaderFieldValueList. Lots of opportunistic doxygen merging.
 Up to 20K NIT transactions per second on my machine, roughly a doubling
 in performance.


Bug Fixes
=========
-Use getaddrinfo() instead of the non-threadsafe gethostbyname().
-Remove unused (and non-threadsafe) Timer::mTimerCount/Timer::mId.
 Previously, all timers were assigned a "unique" (not really, more on that in a 
 moment) integer identifier. There is no place in the resip codebase that 
 actually uses this identifier in any way. For transaction timers, this 
 identifier is in principle unnecessary, since there is more than sufficient 
 identifier information present already (the transaction id and timer type). When 
 passing a Message* into the timer queue, a unique identifier already exists; the 
 Message* itself (if potential use of this Message* bugs you, you can always turn 
 it into a handle by applying some sort of transformation to it). This identifier 
 is unnecessary in every case I can think of. In addition, the values are 
 assigned simply by incrementing a global variable (Timer::mTimerCount), with no 
 threadsafety measures whatsoever, so it is not even guaranteed to be unique. 
 Because of all this, it has been removed. As a bonus, this saves some memory; 8 
 bytes per timer on 64-bit platforms, which adds up to around 3MB when testStack 
 steady state has close to 400000 timers in the timer queues at any given point. 
 This could be an even larger amount for TUs that schedule lots of long-lifetime 
 timers (Timer C, for instance).
-Get rid of a wasteful double-encode, in Message.cxx
-minor windows build fixes to avoid file in use errors when building dum test projects
-fix testDigestAuthentiation for recent lowercase nonce change
-fixed a nasty bug in NameAddr - where unknown parameters uri parameters on a 
 NameAddr/Uri with no angle brackets are treated as NameAddr parameters.  When this is
 done, the memory for these parameters was only a temporary Data object.
-fix bug in Data.  If Data is wrapping memory allocated externally (ie. Share mode = BORROW)
 and you start appending to it.  It is possible that the append method will write a NULL
 character off the end of the buffer.  Changed the resize condition to make the buffer
 larger 1 character sooner, to accommodate for this.

Revision 9065 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 16 14:25:22 2011 UTC (8 years, 8 months ago) by bcampen
File length: 36960 byte(s)
Diff to previous 8457
charUnencoded() was not compatible with capitalized hex encoding. Now fixed.


Revision 8457 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 21 18:05:20 2009 UTC (10 years, 7 months ago) by adam
File length: 36723 byte(s)
Diff to previous 8432
Fixing misc warnings under gcc 4.0.1


Revision 8432 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 4 22:03:30 2009 UTC (10 years, 8 months ago) by adam
File length: 36722 byte(s)
Diff to previous 8430
Minor manual cleanup of "const char *" problems


Revision 8430 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 4 21:51:45 2009 UTC (10 years, 8 months ago) by adam
File length: 36716 byte(s)
Diff to previous 6419
Fixing a bunch of const-related char * warnings


Revision 6419 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 03:16:17 2006 UTC (13 years, 4 months ago) by sgodin
File length: 36686 byte(s)
Diff to previous 5934
- more of the same unsigned cseq changes and tests to work with RESIP_FIXED_POINT

Revision 5934 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 23:58:28 2006 UTC (13 years, 9 months ago) by dworley
File length: 36432 byte(s)
Diff to previous 5930
Start cleaning up svn:mime-type in files.


Revision 5930 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:39:14 2006 UTC (13 years, 9 months ago) by dworley
File length: 36432 byte(s)
Diff to previous 5905
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5905 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 15:13:31 2006 UTC (13 years, 9 months ago) by sgodin
File length: 36432 byte(s)
Diff to previous 5900
fix for gcc builds

Revision 5900 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 00:45:38 2006 UTC (13 years, 9 months ago) by sgodin
File length: 36430 byte(s)
Diff to previous 5439
- fixed UInt64 conversion for nonce stuff - digest auth was failing (at least on Win32)
- Added a Data constructor that can convert a UInt64 to a data string

Revision 5439 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 18 06:06:57 2005 UTC (14 years, 2 months ago) by dlb
File length: 36224 byte(s)
Diff to previous 5434
conversion methods were whacked

Revision 5434 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 17 21:12:59 2005 UTC (14 years, 2 months ago) by dlb
File length: 32271 byte(s)
Diff to previous 5388
tests for c_str()

Revision 5388 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 13 02:20:28 2005 UTC (14 years, 2 months ago) by jason
File length: 31463 byte(s)
Diff to previous 5363
added a test case to catch memory overrun


Revision 5363 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 2 22:27:00 2005 UTC (14 years, 2 months ago) by jason
File length: 31116 byte(s)
Copied from: main/resip/stack/test/testData.cxx revision 5353
Diff to previous 5353
sort out inter-dependencies between rutil and resip/stack





Revision 5353 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 2 00:50:51 2005 UTC (14 years, 2 months ago) by jason
Original Path: main/resip/stack/test/testData.cxx
File length: 31116 byte(s)
Diff to previous 5347
fix a test case (reindent as well)


Revision 5347 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 1 05:08:55 2005 UTC (14 years, 2 months ago) by dlb
Original Path: main/resip/stack/test/testData.cxx
File length: 29184 byte(s)
Diff to previous 5331
Data::replace fixes and tests

Revision 5331 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 28 17:13:19 2005 UTC (14 years, 2 months ago) by dlb
Original Path: main/resip/stack/test/testData.cxx
File length: 26445 byte(s)
Diff to previous 5315
disambiguate deprecated preallocate and double Data constructors

Revision 5315 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 25 22:36:21 2005 UTC (14 years, 2 months ago) by derek
Original Path: main/resip/stack/test/testData.cxx
File length: 26312 byte(s)
Diff to previous 5295
removed bogus test from testData.cxx
testSelectInterruptor will build on *nix

Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 3 months ago) by jason
Original Path: main/resip/stack/test/testData.cxx
File length: 27071 byte(s)
Copied from: branches/b-directory-reorg/resip/stack/test/testData.cxx revision 5294
Diff to previous 5281
merged 5270:HEAD from b-directory-reorg

Revision 5281 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:59:13 2005 UTC (14 years, 3 months ago) by derek
Original Path: branches/b-directory-reorg/resip/stack/test/testData.cxx
File length: 27071 byte(s)
Diff to previous 5276
moved sip to stack

Revision 5276 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:23:17 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/testData.cxx
File length: 27071 byte(s)
Diff to previous 5274
compiles now

Revision 5274 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:53:59 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/testData.cxx
File length: 27098 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/test/testData.cxx
File length: 27098 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/test/testData.cxx
File length: 27098 byte(s)
Diff to previous 5225
new directory reorg proposal

Revision 5225 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 15 05:11:22 2005 UTC (14 years, 3 months ago) by dlb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 27098 byte(s)
Diff to previous 5078
fixes to a few of Adam's Data notes, Data::Preallocate, other minor interface tweaks

Revision 5078 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 16 19:59:45 2005 UTC (14 years, 4 months ago) by dlb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 27046 byte(s)
Diff to previous 4915
append test

Revision 4915 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 15 21:37:04 2005 UTC (14 years, 5 months ago) by adam
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 26316 byte(s)
Diff to previous 4640
This was just too silly


Revision 4640 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 14 00:08:26 2005 UTC (14 years, 6 months ago) by dlb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 26376 byte(s)
Diff to previous 4599
tests check USE_IPV6

Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 25865 byte(s)
Diff to previous 4581
set svn:eol-style to LF

Revision 4581 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 10 19:33:08 2005 UTC (14 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 25865 byte(s)
Diff to previous 4574
make DAta consistent with WebAdmin on usage of url encoding/decoding



Revision 4574 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 10 02:40:22 2005 UTC (14 years, 6 months ago) by dlb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 25612 byte(s)
Diff to previous 3463
httpEncode => urlEncode (guessing somewhat at desired functionality - was certainly broken -- test cases in testData.cxx please!)
simplified the Data(bool) constructor 
indentation

Revision 3463 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 16 22:48:36 2004 UTC (15 years ago) by dlb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 24859 byte(s)
Diff to previous 3325
generalized ShareEnum to {Share, Borrow, Take}
Borrow is already used implicitly for small contents.



Revision 3325 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 05:47:29 2004 UTC (15 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 24775 byte(s)
Diff to previous 2979
fixed base64 encode/decode

Revision 2979 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 12 01:23:24 2004 UTC (15 years, 5 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 24139 byte(s)
Diff to previous 2948
fix bug in Data::find with non-zero offset


Revision 2948 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 8 21:32:05 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 23899 byte(s)
Diff to previous 2787
Log::DEBUG, Log::CERR etc are now Log::Debug, Log::Cerr.
This is necessary for osX and there were some other macro collisions we were hacking around.  Basically, all upper case was just wrong.

Vairous other fixes to allow compilation on more platforms.

IPV6 for windows has been added to DnsUtil

Revision 2787 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 19 02:11:36 2004 UTC (15 years, 6 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 23899 byte(s)
Diff to previous 2784
reverted escaped; add charEncoded and charUnencoded


Revision 2784 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 18 23:52:22 2004 UTC (15 years, 6 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 23763 byte(s)
Diff to previous 2708
generalized escape(), added unescape(). might need more whitespace...


Revision 2708 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 4 22:26:09 2004 UTC (15 years, 6 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 22517 byte(s)
Diff to previous 2626
prefix and postfix test


Revision 2626 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 15 21:16:44 2004 UTC (15 years, 7 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 22075 byte(s)
Diff to previous 2341
replaced inappropriate c_str() with data()


Revision 2341 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 10 17:16:48 2004 UTC (15 years, 9 months ago) by fluffy
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 22077 byte(s)
Diff to previous 2151
added decode of base64


Revision 2151 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 26 16:30:48 2003 UTC (15 years, 11 months ago) by alan
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 21126 byte(s)
Diff to previous 1942
Modifications for autotools, Data improvements.

 Modified Files:
 	configure.ac resiprocate/Makefile.am
 	resiprocate/TransportSelector.cxx resiprocate/os/Coders.cxx
 	resiprocate/os/Data.cxx resiprocate/os/Data.hxx
 	resiprocate/test/Makefile.am resiprocate/test/testData.cxx


Revision 1942 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 9 19:59:15 2003 UTC (16 years, 1 month ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 20365 byte(s)
Diff to previous 1929
added some tests


Revision 1929 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 7 23:35:00 2003 UTC (16 years, 1 month ago) by alan
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 19519 byte(s)
Diff to previous 1890
Completed via-less malformed message recovery.
Framework for other recoveries in Transport::basicCheck()
 Modified Files:
 	configure.ac resiprocate/Connection.cxx
 	resiprocate/Connection.hxx resiprocate/SipMessage.cxx
 	resiprocate/TcpBaseTransport.cxx
  Tag: b-dev-ah-20031006-viafix
 	resiprocate/Transport.cxx
  No tag
 	resiprocate/os/Tuple.hxx resiprocate/test/Makefile.am
 	resiprocate/test/testData.cxx resiprocate/test/testUdp.cxx
 Added Files:
 	resiprocate/test/testResponses.cxx
VS: ----------------------------------------------------------------------


Revision 1890 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 3 02:36:29 2003 UTC (16 years, 1 month ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 17697 byte(s)
Diff to previous 1796
a few more tests


Revision 1796 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 16 13:50:58 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 16055 byte(s)
Diff to previous 1629
fixed up license text


Revision 1629 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 13 20:35:52 2003 UTC (16 years, 3 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 13682 byte(s)
Diff to previous 1563
use Data::Share interface for overlay


Revision 1563 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 16 21:03:08 2003 UTC (16 years, 4 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 13667 byte(s)
Diff to previous 1550
test preallocated append


Revision 1550 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 7 22:23:01 2003 UTC (16 years, 4 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 12724 byte(s)
Diff to previous 1513
replaced a few asserts with fails


Revision 1513 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 19 16:40:21 2003 UTC (16 years, 5 months ago) by ryker
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 10108 byte(s)
Diff to previous 1305
Make sure tests return 0 on successful completion.


Revision 1305 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 25 06:33:48 2003 UTC (16 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 10095 byte(s)
Diff to previous 1295
rename namespace to resip


Revision 1295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 24 23:25:36 2003 UTC (16 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 10096 byte(s)
Diff to previous 1294
directory reorg to sip/resiprocate, etc.


Revision 1294 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 24 22:42:27 2003 UTC (16 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 10102 byte(s)
Diff to previous 1213
change from sip2 to resiprocate


Revision 1213 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 20 23:24:32 2003 UTC (16 years, 9 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 10081 byte(s)
Diff to previous 1189
*** empty log message ***


Revision 1189 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 13 18:34:27 2003 UTC (16 years, 9 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 9988 byte(s)
Diff to previous 1126
added prefix tests


Revision 1126 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 26 20:54:11 2003 UTC (16 years, 9 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 9663 byte(s)
Diff to previous 1118
added find and substr


Revision 1118 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 25 03:41:15 2003 UTC (16 years, 10 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 8829 byte(s)
Diff to previous 1112
solaris compat


Revision 1112 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 24 02:49:54 2003 UTC (16 years, 10 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 9213 byte(s)
Diff to previous 1097
solaris compat


Revision 1097 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 22 00:55:42 2003 UTC (16 years, 10 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 9062 byte(s)
Diff to previous 876
unknown/known header/parameter collision detection
XMLCursor, test
reworked template approach to headers
macros for header/parameter declaration/definition
ParseBuffer::skipChar() throws on eof


Revision 876 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 11 07:15:49 2002 UTC (16 years, 11 months ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 8939 byte(s)
Diff to previous 725
added exclusive or operation for data
operator^=


Revision 725 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 25 19:30:47 2002 UTC (16 years, 11 months ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 6718 byte(s)
Diff to previous 698
*** empty log message ***


Revision 698 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 19 02:44:43 2002 UTC (17 years ago) by derekm
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 6470 byte(s)
Diff to previous 678
*** empty log message ***


Revision 678 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 15 04:00:58 2002 UTC (17 years ago) by derekm
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 6624 byte(s)
Diff to previous 567
*** empty log message ***


Revision 567 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 8 17:46:03 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 6524 byte(s)
Diff to previous 537
*** empty log message ***


Revision 537 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 7 03:07:27 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 6070 byte(s)
Diff to previous 493
moved includes to sip2/


Revision 493 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 6 02:59:30 2002 UTC (17 years ago) by davidb
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 6065 byte(s)
Diff to previous 481
#include <> to
#include ""


Revision 481 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 6 00:34:47 2002 UTC (17 years ago) by alan
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 6065 byte(s)
Diff to previous 436
Added base64 coders (Data change)


Revision 436 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 5 02:56:36 2002 UTC (17 years ago) by derekm
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 5599 byte(s)
Diff to previous 381
Uri comparison works.
added lowercase, uppercase to data
updated tests


Revision 381 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 1 22:01:44 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 5352 byte(s)
Diff to previous 355
*** empty log message ***


Revision 355 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 31 01:08:59 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 5358 byte(s)
Diff to previous 351
*** empty log message ***


Revision 351 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 30 23:48:39 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 6153 byte(s)
Diff to previous 325
added DataStream


Revision 325 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 21 22:50:23 2002 UTC (17 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 5708 byte(s)
Diff to previous 321
steal md5 stuff from vocal


Revision 321 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 19 17:11:29 2002 UTC (17 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 5654 byte(s)
Diff to previous 313
corrected tests for Data::operator<


Revision 313 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 15 18:03:21 2002 UTC (17 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 5020 byte(s)
Diff to previous 307
added operator<
hash uses Data::data() rather than Data::c_str()


Revision 307 - (view) (download) (annotate) - [select for diffs]
Added Sun Oct 13 06:02:36 2002 UTC (17 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/test/testData.cxx
File length: 2595 byte(s)
modified ParserBuffer::data to cause memory sharing in the Data reference arg


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27