/[resiprocate]/main/resip/stack/test/limpc.cxx
ViewVC logotype

Log of /main/resip/stack/test/limpc.cxx

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 9485 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 7 00:34:03 2012 UTC (7 years, 7 months ago) by dpocock
File length: 28674 byte(s)
Diff to previous 9367
Switch over to autotools build system from dpocock-autotools branch

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: 28690 byte(s)
Diff to previous 9324
-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 9324 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 13 22:19:53 2012 UTC (7 years, 10 months ago) by dpocock
File length: 28857 byte(s)
Diff to previous 8305
Make use of preprocessor conditional logic consistent

Revision 8305 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 20 00:45:43 2008 UTC (10 years, 11 months ago) by lowekamp
File length: 28848 byte(s)
Diff to previous 8228
fix tests that didn't compile with dtls enabled


Revision 8228 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 23 08:30:37 2008 UTC (11 years, 1 month ago) by bcampen
File length: 28834 byte(s)
Diff to previous 6766
Merge work from b-bwc-define_cleanup.


Revision 6766 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 7 17:15:31 2006 UTC (13 years ago) by bcampen
File length: 28807 byte(s)
Diff to previous 6762
Include for linux.

Revision 6762 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 7 17:01:38 2006 UTC (13 years ago) by bcampen
File length: 28788 byte(s)
Diff to previous 6070
Ignore sigpipe in limpc.

Revision 6070 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 9 23:54:08 2006 UTC (13 years, 8 months ago) by jason
File length: 28624 byte(s)
Diff to previous 5948
fix solaris issue


Revision 5948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 15:30:16 2006 UTC (13 years, 8 months ago) by dworley
File length: 28605 byte(s)
Diff to previous 5929
Setting more svn: properties, and adding EOLs to the ends of files
that need it.


Revision 5929 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:36:43 2006 UTC (13 years, 8 months ago) by dworley
File length: 28605 byte(s)
Diff to previous 5386
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 5386 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 10 21:49:36 2005 UTC (14 years, 2 months ago) by fluffy
File length: 28605 byte(s)
Diff to previous 5295
added the send option to send an IM

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

Revision 5283 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 01:27:14 2005 UTC (14 years, 2 months ago) by derek
Original Path: branches/b-directory-reorg/resip/stack/test/limpc.cxx
File length: 27915 byte(s)
Diff to previous 5281
finished resip/sip -> resip/stack rename

Revision 5281 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:59:13 2005 UTC (14 years, 2 months ago) by derek
Original Path: branches/b-directory-reorg/resip/stack/test/limpc.cxx
File length: 27905 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, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/limpc.cxx
File length: 27905 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, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/limpc.cxx
File length: 27933 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, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/test/limpc.cxx
File length: 27933 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, 2 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/test/limpc.cxx
File length: 27933 byte(s)
Diff to previous 5259
new directory reorg proposal

Revision 5259 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 17 23:36:07 2005 UTC (14 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27933 byte(s)
Diff to previous 5062
added preliminary stun server support in UdpTransport - disabled by default


Revision 5062 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 13 22:07:07 2005 UTC (14 years, 4 months ago) by nils
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27919 byte(s)
Diff to previous 4599
merged fixes from b-release-0-9-0

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/limpc.cxx
File length: 27807 byte(s)
Diff to previous 4063
set svn:eol-style to LF

Revision 4063 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 27 18:35:28 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27807 byte(s)
Diff to previous 3999
reindent with ellemtel


Revision 3999 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 16 19:41:28 2005 UTC (14 years, 8 months ago) by derek
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27961 byte(s)
Diff to previous 3868
Merged in of async branch:

Major changes:

Alternative "async/external" Processing Model

The SipStack & DUM can now run w/out being in a build/select/process
loop.  This is accomplished witht ransports that provide their own cycles, as well
as an external timer api.  The SipStack is constructed w/ an
AsyncProcessHandler which gets notified when a message is put into the
StateMacFifo, or when SipStack::postMs or SipStack::post is called.  This can be
optimized a bit more; in some cases only a timer adjustment may be required, but
the stack might not require cycles.  DumProcessHandler, located in the Dum
directory, is a example of how to use this.  Note that it provides ares w/ a 50
ms timer when there is an active query.  DnsInterface now has a requiresProcess
method to facilitate this; it should possibly become another
getTimeTillNextProcess method.

Transport Refactoring/Cleanup

TransportSelector now only understands objects that derive from Transport.  The
SipStack is responsible for the Transport Factory behaviour of addTransport.  A
lot of the Transport has moved into InternalTransport, to keep the Transport
abstraction clean.  Also, the tcp transports have been cleaned up; most of dlb's
rant in ConnectionBase.hxx has been answered. 

IpVersion vs Bool IpV4

bool is no longer used to represnt IpVersion, the enum is used in tuple and
anywhere else I spotted it.

The result of this merge/cleanup has been regressed; I still need to re-write
testTransportSelector.cxx.  The async model has not been used yet with the
esult of this merge, but it was sued extensively in the branch.


Revision 3868 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 4 21:36:29 2005 UTC (14 years, 9 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27984 byte(s)
Diff to previous 3866
fixed up TLS in limpc

Revision 3866 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 4 20:47:21 2005 UTC (14 years, 9 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27969 byte(s)
Diff to previous 3848
Update for S/MIME stuff

Revision 3848 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 3 22:09:59 2005 UTC (14 years, 9 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27969 byte(s)
Diff to previous 3684
fixes for S/MIME interop with NTT

Revision 3684 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 1 23:05:29 2004 UTC (14 years, 11 months ago) by nagendra
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27903 byte(s)
Diff to previous 3639
Initial support for DTLS.
To enable DTLS, enable the 'USE_DTLS'
switch in sip/build/Makefile and recompile.

test/limpc supports DTLS connections when the
-dtlsPort is set.

Certs used by limpc live under ~/.sipCerts/



Revision 3639 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 26 21:20:08 2004 UTC (14 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 27118 byte(s)
Diff to previous 3604
fixed a bunch of stuff in Securyit - added code to gen certs - crahses when runs

Revision 3604 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 07:15:40 2004 UTC (14 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26644 byte(s)
Diff to previous 3602
who knows

Revision 3602 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 06:56:20 2004 UTC (14 years, 11 months ago) by jason
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26616 byte(s)
Diff to previous 3587
rename enum and put in SecurityAttributes
fix test compilation





Revision 3587 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 05:31:40 2004 UTC (14 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26641 byte(s)
Diff to previous 3544
fix the preload to only use path in security constructur

Revision 3544 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 22 20:30:21 2004 UTC (14 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26788 byte(s)
Diff to previous 3316
Change API to addTranspsort - remove addTlsTransport

Revision 3316 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 04:30:35 2004 UTC (15 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26781 byte(s)
Diff to previous 3287
err log

Revision 3287 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 25 08:34:49 2004 UTC (15 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26930 byte(s)
Diff to previous 3286
put SipTortureTests back in Makefile and add a Date header

Revision 3286 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 25 07:30:31 2004 UTC (15 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26930 byte(s)
Diff to previous 3283
Fixed S/MIME sign issues - this version works with NTT

Revision 3283 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 25 01:33:51 2004 UTC (15 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26930 byte(s)
Diff to previous 3264
update for S/MIME stuff

Revision 3264 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 17 17:45:15 2004 UTC (15 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26674 byte(s)
Diff to previous 3136
few updates for debug of  S/MIME stuff

Revision 3136 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 21 19:23:04 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26628 byte(s)
Diff to previous 2948
fixes for gcc 3.4


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/limpc.cxx
File length: 26592 byte(s)
Diff to previous 2655
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 2655 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 18 22:08:19 2004 UTC (15 years, 6 months ago) by davidb
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26592 byte(s)
Diff to previous 2353
DebugStack => Stack


Revision 2353 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 11 17:26:16 2004 UTC (15 years, 9 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26598 byte(s)
Diff to previous 2351
fixex bug


Revision 2351 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 11 12:51:41 2004 UTC (15 years, 9 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 26536 byte(s)
Diff to previous 2343
improved error check of command line stuff


Revision 2343 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 11 11:52:48 2004 UTC (15 years, 9 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 25125 byte(s)
Diff to previous 2214
added pref for UPD TLS TCP


Revision 2214 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 5 22:11:06 2003 UTC (15 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 24411 byte(s)
Diff to previous 2185
Added V6 support


Revision 2185 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 4 19:49:26 2003 UTC (15 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 23817 byte(s)
Diff to previous 2182
added noUdp noTcp noTls options


Revision 2182 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 4 02:04:30 2003 UTC (15 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 23673 byte(s)
Diff to previous 2157
update using new stuff in stack to figure out contact


Revision 2157 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 2 02:23:34 2003 UTC (15 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 23594 byte(s)
Diff to previous 2120
no change


Revision 2120 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 6 18:40:01 2003 UTC (16 years ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 23595 byte(s)
Diff to previous 2066
better debug for Timere stuff


Revision 2066 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 25 21:24:24 2003 UTC (16 years ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 23306 byte(s)
Diff to previous 2014
added publish - not really tested


Revision 2014 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 24 16:18:58 2003 UTC (16 years ago) by adamr
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 22861 byte(s)
Diff to previous 1956
Changed "presense" to "presence" everywhere.


Revision 1956 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 13 01:41:56 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 22861 byte(s)
Diff to previous 1941
fixed headers not being included in the signature


Revision 1941 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 9 19:58:50 2003 UTC (16 years, 1 month ago) by davidb
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 22719 byte(s)
Diff to previous 1915
corrected --help text


Revision 1915 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 5 02:34:50 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 22719 byte(s)
Diff to previous 1872
no change


Revision 1872 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 1 15:33:32 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 22718 byte(s)
Diff to previous 1796
compile windows


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/limpc.cxx
File length: 22718 byte(s)
Diff to previous 1779
fixed up license text


Revision 1779 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 15 02:28:49 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 20345 byte(s)
Diff to previous 1765
update


Revision 1765 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 14 08:31:24 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 20163 byte(s)
Diff to previous 1747
*** empty log message ***


Revision 1747 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 14 05:41:52 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 20065 byte(s)
Diff to previous 1684
*** empty log message ***


Revision 1684 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 27 04:58:51 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 20109 byte(s)
Diff to previous 1673
fixed bugs with TCP


Revision 1673 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 26 22:04:14 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 19980 byte(s)
Diff to previous 1513
change order of addTlsTransport


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


Revision 1455 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 2 16:24:20 2003 UTC (16 years, 5 months ago) by ryker
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 19753 byte(s)
Diff to previous 1411
Pull in build configuration header.


Revision 1411 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 5 00:24:55 2003 UTC (16 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 19683 byte(s)
Diff to previous 1406
more updates


Revision 1406 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 1 21:57:03 2003 UTC (16 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 19685 byte(s)
Diff to previous 1402
added SSL options for security


Revision 1402 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 1 21:14:53 2003 UTC (16 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 19515 byte(s)
Diff to previous 1377
added option to make tls server or client


Revision 1377 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 30 13:58:48 2003 UTC (16 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 19254 byte(s)
Diff to previous 1372
updatged debuggging info


Revision 1372 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 27 00:30:57 2003 UTC (16 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18916 byte(s)
Diff to previous 1368
no real changes


Revision 1368 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 26 23:52:22 2003 UTC (16 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18889 byte(s)
Diff to previous 1365
fix ~ bug


Revision 1365 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 26 19:30:36 2003 UTC (16 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18886 byte(s)
Diff to previous 1305
added limpc back in


Revision 1305 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 25 06:33:48 2003 UTC (16 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18875 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, 7 months ago) by jason
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18873 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, 7 months ago) by jason
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18913 byte(s)
Diff to previous 1227
change from sip2 to resiprocate


Revision 1227 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 27 09:54:25 2003 UTC (16 years, 8 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18871 byte(s)
Diff to previous 1068
!rm! added 405 response to TuIM, changed User-Agent header


Revision 1068 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 13 00:50:54 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18875 byte(s)
Diff to previous 1058
few fix up in header outputs


Revision 1058 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 12 06:55:08 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18873 byte(s)
Diff to previous 1057
fixed up expires in contact header paramter


Revision 1057 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 12 04:52:16 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18873 byte(s)
Diff to previous 1029
updated


Revision 1029 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 5 18:59:58 2003 UTC (16 years, 10 months ago) by davidb
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18901 byte(s)
Diff to previous 1026
added static Data::from template


Revision 1026 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 5 03:49:26 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 19012 byte(s)
Diff to previous 1019
updated for outbound proxy stuff


Revision 1019 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 4 15:55:36 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 18902 byte(s)
Diff to previous 1014
updated


Revision 1014 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 3 02:25:23 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 17407 byte(s)
Diff to previous 1012
few formatting changes


Revision 1012 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 2 23:26:23 2003 UTC (16 years, 10 months ago) by derekm
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 17405 byte(s)
Diff to previous 1001
added template method as stopgap to stream


Revision 1001 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 2 03:25:17 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 17263 byte(s)
Diff to previous 998
turned an assertion into an error


Revision 998 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 2 02:59:38 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 16890 byte(s)
Diff to previous 996
changed some assertions to pass up error instead


Revision 996 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 1 02:15:17 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 14400 byte(s)
Diff to previous 995
*** empty log message ***


Revision 995 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 1 01:18:31 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 14401 byte(s)
Diff to previous 994
general clean up of bits


Revision 994 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 31 19:58:39 2002 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 11755 byte(s)
Diff to previous 992
fixed nast bug that cause select to always return


Revision 992 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 31 18:41:29 2002 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 11566 byte(s)
Diff to previous 979
changed time signatures


Revision 979 - (view) (download) (annotate) - [select for diffs]
Added Mon Dec 23 20:46:32 2002 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/test/limpc.cxx
File length: 8772 byte(s)
no


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